Single Plot Configuration#

Rulex Factory gives you complete control over the layout and configuration of every single plot.

Plot definition may be complicated and cumbersome since configurations in a plot are almost infinitive. For this reason, Rulex Platform Plot interface guides the user separating plot information into different menus each of them controlling a graphical characteristic of the selected plot.

A single plot therefore results divided into different sections each of them controlling an aspect of plot representation:

  • Plot input menu: located as a vertical button bar at the left of the plot, it controls input plot definition and all the related options which leads to a modification of plot points or bars.

  • Plot modebar: located in the upper right corner of plot area, it controls graphical interaction with the created plot such as zooming operation, selecting operation or single plot export.

  • Plot context menu: opened by right-clicking on any point of the plot area, it controls base operation on the entire plot such as its deletion or its refresh.

  • Plot layout menu: opened through the Plot context menu, it contains all the plot graphical configuration which do not require any point or bar re-evaluation. It is completely described in this devoted page.

In this page we are going to concentrate on the general characteristic of these areas which are in common between all the plots. Specific options or configurations valid only for some supported plot are postponed in single plot type dedicated page.


Plot input menu#

Plot input menu is represented as a vertical button bar located on the left of the plot itself. In Rulex Platform plot input definition is linked to graphical dimensions offered by the single plot type. For each graphical dimension available on the selected plot, a dedicated button will be enabled to allow the user to drop new attributes on the considered dimension.

Tip

You can drag and drop attributes directly on the plot area. They will be associated to the first empty not disabled dimension button available from the top.

You can drop more than one attribute for each dimension, meaning the single dimension will be controlled by a set of value rather than a single one. Moreover, Rulex Platform enables the definition of a subplot structure inside the same single plot.

Input definition and configuration, as well as their internal separation into plot subplots, is completely described here.

The graphical dimensions available into Rulex Platform are:

Button

Name

Description

https://cdn.rulex.ai/docs/Factory/roc-curve-colors.webp

Plot type

Button related to the overall plot configurations. From this button you can modify the type of plot considered, as well as configure options used for the whole plot evaluation.

https://cdn.rulex.ai/docs/Factory/axis-x.webp

X

Button related to the x-axis or column grid graphical dimension.

https://cdn.rulex.ai/docs/Factory/axis-y.webp

Y

Button related to the y-axis or row grid graphical dimension.

https://cdn.rulex.ai/docs/Factory/colors.webp

Color

Button related to the color component of bars or points or curves. This allows you to display multiple tracks on the same graph, each different from the others in color.

https://cdn.rulex.ai/docs/Factory/style.webp

Style

Button related to the dashing or marker shape of curves or points. This allows you to display multiple tracks on the same graph, each different from the others in marker shape or in curve dashing.

https://cdn.rulex.ai/docs/Factory/size.webp

Size

Button related to the size or thickness of markers and lines. This allows you to display multiple tracks on the same graph, each different from the others in marker size or in curve thickness.

See also

Box plots and Statistical plots owns a slightly different definition of the last graphical dimensions since they need to define even some functional dimension. With functional dimension we mean input attribute which are used only in plot points evaluation, they are not directly related to some graphical characteristic. Detailed description of these custom functional buttons is present in the single plot dedicated pages.

Plot input menu is not only controlling input definition and linkage with plot graphical dimension, but it enables the user to modify a full set of plot configuration which are strictly related to data, since their modification triggers automatically a plot re-evaluation. All these options are divided according to the graphical dimension they affect. You can change them by using the Dimension option menu opened by right-clicking on the corresponding dimension button.

This page is devoted to the general presentation of all the different Dimension option menus.

See also

Further customizations of these menus which are plot specific are described in the single plot pages.


Plot dimension type#

Plot dimension presented in previous section are not completely equivalent. They control a graphical characteristic but from the functional point of view they enter the plot drawing operation as different actors.

Dimension can be classified with respect to their functional behavior into three different categories:

  • Axis/grid dimension: it controls the spacial location of the various points/bars of your plots. If a coordinate system is used they often control the axis properties. Using more than one attribute in one of these dimension you are going to define a multi value axis where a single point is described by more than one value.

  • Target dimension: it controls the number of different traces of points or bars are drawn on the plot. If more than one attribute is drop on a target dimension, the single trace will be associated to a multiple list of values rather than a single one

  • Output/weight dimension: it controls the mechanism the output value for each point/bar location for each target is evaluated. There is always a unique output dimension for each plot type. If no attribute is linked to the output dimension, output value will be evaluated as the total number of rows present in the considered axis range for the considered target

Their functional activity varies with the various plot type. If in a bar plot the Y dimension is classified as an output dimension, in a scatter plot the same dimension acts as an axis/grid dimension. Specific type for each dimension in each different plot is reported in the single plot pages.

Note

If more than one attribute is associated in the same group in an output dimension, the system will differentiate among the various attribute outputs by using one of the target dimension available for the considered plot. The corresponding target dimension will be disabled since their content will no longer be used for plot re-draw. In case more than one target dimension is available for the considered plot, you can decide which target dimension to use from the option Target output present in the Dimension menu of the considered output dimension.


Plot modebar#

Each plot has a modebar where you can change the display options of a plot, such as zooming in/out, selecting certain elements to highlight them, or panning in on specific areas.

To view the modebar buttons in the top-right hand corner, hover the mouse over the plot.

Button

Name

Description

https://cdn.rulex.ai/docs/Factory/download-plot.webp

Download plot as PNG

To download a PNG of the single plot.

https://cdn.rulex.ai/docs/Factory/zoom.webp

Zoom

To zoom customized areas of the plot. Draw the area you want to zoom with your mouse.

https://cdn.rulex.ai/docs/Factory/pan.webp

Pan

To move the plot within the frame.

https://cdn.rulex.ai/docs/Factory/box-select.webp

Box select

To select a specific part of the plot and to highlight it by drawing a square over it.

https://cdn.rulex.ai/docs/Factory/lasso-select.webp

Lasso select

To select a specific part of the plot and to highlight it by drawing an irregular shape over it.

https://cdn.rulex.ai/docs/Factory/add-box.webp

Zoom in

To zoom in on the plot.

https://cdn.rulex.ai/docs/Factory/zoom-out.webp

Zoom out

To zoom in on the plot.

https://cdn.rulex.ai/docs/Factory/autoscale.webp

Autoscale

To go back to the plot’s original dimensions.

https://cdn.rulex.ai/docs/Factory/close-axes.webp

Reset axes

If the axes’ scale has been modified, this button allows you to go back to the original size of the plot.

https://cdn.rulex.ai/docs/Factory/spike-line.webp

Toggle spike line

In the curve plot, it allows you to visualize some outlined lines when the pointer is placed on one of the curve’s peaks.

https://cdn.rulex.ai/docs/Factory/show-closest-data-on-hover.webp

Show closest data on hover

If this option is selected, you will be able to visualize the closest value to the point you are hovering over.

https://cdn.rulex.ai/docs/Factory/compare-data.webp

Compare data on hover

If this option is selected, you will be able to visualize all the values corresponding to the value you are hovering over. This option is useful to make instant comparisons when dealing with presentations.


Plot context menu#

You can open the Plot context menu by right-clicking at any point of the plot. It contains the following entries:

  • Refresh Plot: plots in Data Manager are not automatically changed as data used as input are modified. To trigger a refresh of a particular plot, you need to select this entry in the context menu.

  • Delete Plot: if you have more than one plot on a particular Page, you will be able to select this entry to delete the selected plot.

  • Open layout options: this entry allows you to open the Plot layout menu described in detail here.


Updating Plots after query operations#

As previously said, the Plots tab of the Data Manager allows you to build multiple plots which help to display graphically the dataset’s features.

Plots are saved upon Data Manager’s computation, and they don’t need to be built again after computation operations.

If you need to apply functions or to perform query operations on the dataset, and you want to update the plot, you have two options:

  • you can build a new plot with the updated attributes, so you can make comparisons with the previous data situation.

  • you can update the existing plot by right-clicking on the plot and selecting Refresh Plot.

Example 1 - building a new plot with updated results

The following steps were performed:

  1. The dataset has been imported into the flow.

  2. A Data Manager has been linked to the import task.

  3. A bar plot with the workclass attribute on the X and the sex attribute on the color has been built.

  4. The task has been saved and computed.

  • In the Data tab, drag the workclass attribute onto the Pre-filter area and uncheck the following values:

    • Never-worked

    • Private

    • Self-emp-inc

    • Self-emp-not-inc

    • Without-pay

    Then, click Apply.

  • Then, drag the age attribute onto the Pre-filter area and filter all the values >45.

  • Click Apply.

  • Then, go to the Plots tab and add a new plot by clicking on the plus button under the existing plot, so that they are placed vertically. Alternatively, you can build it next to the existing plot by clicking on the plus button on the right of it.

  • Drag the workclass attribute on the X and the sex attribute on the color. Now the values are displayed, considering the filter operations performed.


Example 2 - the Refresh plot option

The following steps were performed:

  1. The dataset has been imported into the flow.

  2. A Data Manager has been linked to the import task.

  3. A bar plot with the workclass attribute on the X and the sex attribute on the color has been built.

  4. The task has been saved and computed.

  • In the Data tab, drag the workclass attribute onto the Pre-filter area and uncheck the following values:

    • Never-worked

    • Private

    • Self-emp-inc

    • Self-emp-not-inc

    • Without-pay

    Then, click Apply.

  • Then, drag the age attribute onto the Pre-filter area and filter all the values >45.

  • Click Apply.

  • Then, go to the Plots tab. As in this case we don’t need the old plot, right-click onto the plot and click Refresh Plot. The plot is updated according to the dataset.