Yongchao Fu

About 'guiplot' R Language Package

2020-04-07


概述

“guiplot”是由付永超开发的一个帮助用户通过图形界面来完成图表绘制的工具,旨在实现无代码的方式实现绘图。

“guiplot”包的Github链接:https://github.com/s0521/guiplot

image-20200410162441176

image-20200410162416706

使用方式:

1加载数据

2选择图表类型

打开用户界面后,用户需要首先选择绘制的图形的类型

image-20200410162757220

3进行数据映射

用户通过映射列表告诉“guiplot”该如何使用数据完成图表的绘制

列表的第一列展示了所加载的数据集所包含的列的列名

列表的第一行展示了当前所需要映射的一些字段

image-20200410163009627

4进行美学调整

用户可在该区域完成对绘制出的图形的一系列的基于美学的调整,包括:主题、画布的规格、最标轴的尺度、坐标轴的范围等内容的设置

image-20200410163206324

image-20200410163220521

image-20200410163240570

5执行图表绘制

单击工具栏中的“执行!(Execute!)”按钮,会在当前工作目录下生成所绘制出的图形,会输出三种格式“pdf”、“png”、“svg”。

6退出

单击工具栏中的“完成并关闭(Finish and Close)”按钮,会停止当前的会话,结束GUI互动。

已知问题:

无法对映射到Y字段的多个变量,使用颜色、线型、标志符等进行区分。

Overview

The author of “guiplot” is Fu Yongchao.

The role of “guiplot” is to help users to complete the chart drawing tool through the graphical interface,

The goal of “guiplot” is to implement drawing without code.

The Github link of “guiplot” is https://github.com/s0521/guiplot

image-20200410162441176

image-20200410162416706

How to use guiplot:

1 Load data

2 Select the chart type

After opening the user interface, the user needs to first select the type of graphics drawn.

image-20200410162757220

3 Perform data mapping

The user tells “guiplot” how to use the data to complete the layout of the chart through the mapping list

The first column of the list shows the column names of the columns contained in the loaded data set

The first line of the list shows some subdivisions that need to be mapped currently

image-20200410163009627

4 Make aesthetic adjustments

The user can complete a series of aesthetic-based adjustments to the placed graphics at this area, including: themes, specifications of the canvas, the scale of the most standard axis, the range of the coordinate axis, etc.

image-20200410163206324

image-20200410163220521

image-20200410163240570

5 Perform chart drawing

Click the “Execute!(执行!)” Button in the toolbar, the drawn graphics will be generated in the current working directory, and three formats “pdf”, “png”, and “svg” will be output.

6 Exit

Clicking the “Finish and Close(完成并关闭)” button in the toolbar will stop the current session and end the GUI interaction.