Skip to main content
Version: current

Line Plot

Description

To visualise data you can use Line Plot to visualise data in a very standard way with a line between each data point. The Line Plot can be used with a lot of different data and is a great way to visualise almost any kind of data.

MxN

Input

The input is MxN and is a dataset.

Attributes

AttributeValue
NameLinePlot
Units
Graph
X axis
Y axis
Grid
Legend
Inputs1

Name

Name specifies the name of the block.

Units

Units is no longer used and will be removed from the properties soon.

Graph

Graph are high level settings for the entire plot. The specific properties are:

Graph
Auto scale
Edit Mode

Auto scale

Auto scale if enabled will auto scale the plot each time new data is inputted. This is very smart if you do not know your limits.

If plotting speed is desired turn auto scale off.

Edit Mode

Edit mode turns on or off the toolbar in the plot on the dashboard. If you want too zoom in and out, and work with data then enable the edit mode.

X axis

X axis is customisation to the x axis settings. This includes maximum, minimum limits, ticks and much more. The specific properties are:

X axis
ScaleLinear
Maximum2
Minimum0
Tick labelsDefault
Tick label rotation0
Minor ticks

Scale

Scale is the type of scaling the axis should have. This can either be Linear or Logarithmic.

Maximum

Maximum is the maximum limit of the axis IF auto scale is turned off.

Minimum

Minimum is the minimum limit of the axis IF auto scale is turned off.

Tick labels

Tick labels is what ticks should be shown on the axis. Default shows standard ticks while As X data shows every x data point.

Tick label rotation

Tick label rotation is the rotation of the tick labels.

Minor ticks

Minor ticks can be enabled and disabled.

Y axis

Y axis is customisation to the y axis settings. The settings are identical to X axis if you want to read more.

Grid

Grid is customisation to the grid in the plot. This includes colors, width and much more. The specific properties are:

Grid
Show grid
Grid colorlightgrey
Major grid
Major grid width1
Minor grid
Minor grid width0.5

Show grid

Show grid can show and hide the entire major and minor grid on the plot. Default is shown.

Grid color

Grid color is the color of the grid.

Major grid

Major grid can show and hide the major grid on the plot. Default is shown.

Major grid width

Major grid width can set the width of the major grid. Default is 1

Minor grid

Minor grid can show and hide the minor grid on the plot. Default is hidden

Minor grid width

Minor grid width can set the width of the minor grid. Default is 0.5

Legend

Legend is customisation to the legend in the plot. This includes for example the position of the legend. The specific properties are:

Legend
Show
Positionbest
Columns1

Show

Show can show or hide the legend. Default is shown. If a lot of legends are shown performance can be impacted so it is suggested to turn them off then.

Position

Position customises the position of the legend box. Default is best.

Columns

Columns customises how many columns the legend box should have.

Inputs

Inputs specifies the number of inputs(s) the block will have. You can choose as many as you want. Each input can be customised with line and marker settings.

IN1
Line
Marker

Line

Line is customisation to the plot line of the input. This is color, width and much more. The line is shown as default. The specific properties are:

Line
Colormediumblue
Style-
Width2
Zorder1

Color

Color is the color of the line. Default is mediumblue but is automatically changed for a new input. Hereafter you can changed it to your desired color,

Style

Style is the line style. If it should be solid -, dashed -- etc.

Width

Width is the width of the line.

Zorder

Zorder is the layer of the lines. The line with the lowest Zorder will be the line at the back and the highest Zorder will be in the front.

Marker

Marker is customisation to the plot markers of the input. This is color, width and much more. The markers are hidden as default, but can be turned on. The specific properties are:

Markers
Colorblack
Styleo
Width2

Color

Color is the color of the markers. Default they will always be black.

Style

Style is the marker style.

Width

Width is the marker size.

Literature