X-Y plots

You can compare the result of a variable against another variable, or one column against another column of a result, using an XY-plot. XY plots can be graphed for Mid, Mean, Statistics, Probability Bands, and Sample view modes.

To graph one variable against another:

  1. Open a Result window for the y- (vertical axis) variable.
  2. Click the XY button Chapter16 6.5.png located in the top-right corner of the window to open the XY Comparison Sources dialog.
  3. Check the Use another variable checkbox, press Add..., and in the Object Finder dialog, select the x- (horizontal axis) variable.

The two variables in an XY window must share at least one index, and all indexes of x must also be indexes of y. The popup menu in the index selection area becomes Common Index — only indexes of both x and y might be selected.

Variable Angle := Sequence(0, 360, 10)
Variable Radius := 1 .. 3
Variable SinX := Radius * Sin(Angle)
Variable Cosine := Radius * Cos(Angle) →
Chapter16 7.png

Click the XY button, check Use another variable, then Add...., and in the Object Finder dialog under Current Module select the variable Sine to display this result.

Chapter16 8.png
Chapter16 9.png

Click the Table View button to display this result.

Chapter16 10.png

To return to the graph or table of Cosine vs. Degrees, click in the XY checkbox.

See Also


You are not allowed to post comments.