1. Home
  2. 2D Scatter Plot and 2D Line Plot

2D Scatter Plot and 2D Line Plot

Select menu: Graphics | 2D Scatter Plot

Use this to specify data for a 2D scatter or line plot.

  1. After you have imported your data, from the menu select Graphics | 2D Scatter Plot
    OR
    Graphics | 2D Line Plot
    .
  2. Fill in the fields as required then click Run.

You can set additional options and axis settings by clicking the Options, Lines and Symbols, X Axis, Y Axis and Frame tabs.

Type of plot

You can specify how your data is formatted by selecting the appropriate type of plot. When an item is selected the fields will change on the menu. You can select from:

  • Single XY
  • Multiple X & Single Y
  • Multiple Y & Single X
  • Paired XY

Available data

This lists data structures appropriate to the current input field. It lists either factors or variates for specifying the data. The contents will change as you move from one field to the next. Double-click a name to copy it to the current input field or type the name.

Y variate(s)

Specifies the y-coordinates of the points to be plotted. Double-click a name in the Available data field to copy it across or type the name. For a plot including multiple y variates you can transfer multiple selections from Available data by holding the Ctrl key on your keyboard while selecting items, then click to move them all across in one action.

X variate(s)

Specifies the x-coordinates of the points to be plotted. Double-click a name in the Available data field to copy it across or type the name. For a plot including multiple x variates you can transfer multiple selections from Available data by holding the Ctrl key on your keyboard while selecting items, then click to move them all across in one action.

Groups

Use this to specify a factor indicating that the points are partitioned into different groups. The groups will then be identified on the plot by using different Genstat pens (where the pen number is given by the corresponding level of the factor). As a result, different colours will be used for units belonging to different groups. Double-click a name in the Available data field to copy it across or type the name. For a plot including multiple x or y variates you can transfer multiple selections from Available data by holding the Ctrl key on your keyboard while selecting items, then click to move them all across in one action.

Action buttons

Run Produce the graph.
Cancel Close the dialog without further changes.
Defaults Reset options to their default settings.

Action Icons

Pin Controls whether to keep the dialog open when you click Run. When the pin is down  the dialog will remain open, otherwise when the pin is up  the dialog will close.
Restore Restore names into edit fields and default settings.
Clear Clear all fields and list boxes.
Help Open the Help topic for this dialog.

See also

Updated on January 31, 2022

Was this article helpful?