xy plot

Edit plot attributes found in the Plot Browser.

Syntax

xy plot edit <name>=<value>

xy plot fit x/y/all

Arguments

edit
Edit attributes for the selected plot.
Attributes include:
axisgradient=<true/false>
<true/false>
Turn the axis gradient on or off.
bgcolor=<color>
Select a background color from the color picker.
charttype=<xy/bar/complex/polar>
The chart type: xy, bar, complex, or polar.
curseralwaysvisible=<true/false>
<true/false>
Turn the cursor on or off.
cursorcurvecolor=<true/false>
<true/false>
true displays the cursor the same color as the curve's color. Otherwise, it's black.
cursorcurvestyle=<true/false>
<true/false>
true changes the line style of the animation cursor (solid, dashed, and so on) to match the curve’s style.
cursordisplay=<square/smallbar/mediumbar/largebar/custombar/coordinatemarker>
Select one of the following to display the cursor as:
  • square
  • smallbar
  • mediumbar
  • largebar
  • custombar
  • coordinatemarker
cursorheight =<value>
Enter a value to determine the cursor's height, a percentage of the window height.
cursorthickness=<value>
Enter a value between 1-5 to determine the cursor's thickness.
gridlinecolor=<color>
Select a gridline color from the color picker.
gridlinetransparency=<value>
Enter a value between 0-1 to display the gridline's transparency.
headertext=<text>
Enter plot header text.
headervisibility=<true/false>
<true/false>
Turn the header on/off.
invalidpointmode=<bridge/gap>
If a CSV file contains blank spaces, select Bridge or Gap.
Bridge handles the blank spaces by creating a bridge in the plotted curve.
Gap handles the blank spaces by displaying a gap in the plotted curve.
lockaxis=<never/atimport/always>
Choose from never, atimport, or always.
Never
The selected axis is automatically scaled to fit new curves or bar charts that are added to the axis.
At Import
The selected axis remains scaled to fit the curve(s) currently assigned to it and it is not scaled to fit new curves.
Always
The axes are not fit with any of the operations and will always be locked.
See Preference Files for more information.
publishformat=<JPG/PNG/EMF/BMP/GIF/TIF>
If publishwindow=true, select a publish format type. Options include:
  • JPG
  • PNG
  • EMF
  • BMP
  • GIF
  • TIF
publishwindow=<true/false>
true publishes the current window contents.
uniformaspectratio=<true/false>
true activates uniform aspect ratio.
zerolinecolor=<color>
Select a color from the color picker to change the zeroline color.
fit
Fit the plot within a specified area.
x
Fit x data only within the viewable graphics area.
y
Fit y data only within the viewable graphics area.
all
Fit all data withing the viewable graphics area (default).

Examples

Make the cursor the same color as the curve's color:
xy plot edit range="p:1 w:1" animcursorcurvecolor=true
Change the plot's background color:
xy plot edit range="p:1 w:1" animcursorcurvecolor=true
Change the
xy plot edit range="p:1 w:1" animcursorcurvecolor=true