Moving and Re-sizing an XY Plot Frame
Adjusting XY Plot Frame Properties
The XY Plot is comprised of both a graph frame and a single, specialized graph window for the purpose of plotting one curve versus another. An xy plot can accommodate multiple curves on each of the x and y-axes, and includes dynamic zoom and polar grid features.
Although the xy plot is used to plot one signal versus another, each of these signals is based on the same time scale. It is therefore possible to scroll through the data in the time domain: The xy plot includes a time domain aperture control bar, located at the bottom of the plot frame.
Open the project in the Circuit view. Right-click on a blank portion of the page and select Add Component | XY Plot, or press the XY Plot button in the Components tab of the ribbon control bar.
To move an xy plot, place the mouse pointer over the title bar and then left-click and hold. Drag the plot frame to where it is to be placed and release the mouse button.
To re-size the frame, move the mouse pointer over the title bar and left-click to select it. Grips should then appear around the outer edge as shown below.
Move the mouse pointer over one of the grips. Left-click, hold and drag the pointer to re-size.
Right-click over the xy plot title bar and select Cut or Copy respectively.
Cut or copy an xy plot as described above. Right-click over a blank area of the Circuit canvas and select Paste. An xy plot may be pasted multiple times on the schematic canvas, or to an external application as an image. See Smart Paste.
All xy plots may be collected, viewed and modified in a convenient table called the parameter grid. For more details, see the Parameter Grid Pane.
If a simulation has been run and your xy plot contains curve data, you have the option of copying all or a portion of this data to the clipboard.
The data is copied as Comma Separated Variables (*.csv) format for easy migration into common data analysis software.
Two choices are given:
All Data: Copies all curve data available.
Visible Area: Copies all curve data visible in the plot window.
To access the Plot Frame Properties dialog, left double-click the xy plot, or right-click and select Properties.... This will bring up the Plot Frame Settings dialog.
There are various parameters that may be edited though this window, each of which are described below.
Caption: Enter a title for the xy plot (this text will appear in the frame title bar). The default text may appear a bit cryptic: This syntax is used as a naming convention for grouping objects in the workspace. For more information on this syntax, see Grouping of Runtime Objects.
Axis:
X-Axis Minimum: Specifies the minimum x-axis viewing limit on the graph.
X-Axis Maximum: Specifies the maximum x-axis viewing limit on the graph.
Y-Axis Minimum: Specifies the minimum y-axis viewing limit on the graph.
Y-Axis Maximum: Specifies the maximum y-axis viewing limit on the graph.
Z-Axis Minimum: Specifies the minimum z-axis viewing limit on the graph.
Z-Axis Maximum: Specifies the maximum z-axis viewing limit on the graph.
Colours:
Grid Line Colour: Select a colour for the grid lines.
Curve Colour Pattern: Use this option to manually adjust the first 6 curve colours for the graph.
Curve Inverted Colour Pattern: Use this option to manually adjust the first 6 curve colours for the graph, while in Invert Colours mode.
Invert Colours: Select this option to give the graph a black background (instead of white or yellow).
Markers:
Show Markers: Select this option to show the X and O markers.
X Marker: Enter the position (in seconds) to place X marker.
O Marker: Enter the position (in seconds) to place O marker.
Preferences:
Show Glyphs: Select this option to show glyph symbols on all curves.
Show Ticks: Select this option to show major grid tick marks along the x and y-axis intercept lines.
Show Grid: Select this option to display grid lines for the x-axis and y-axis major grids.
Show Y-Intercept: Select this option to display the y-intercept (horizontal) intercept line. The y-intercept is always at zero, and cannot be adjusted.
Show X-Intercept: Select this option to display the x-intercept (vertical) intercept line. The x-intercept is always at zero, and cannot be adjusted.
Show Cross Hair: Select this option to invoke the cross hairs mode.
Snap Aperture to Grid: Select this feature so that when using dynamic aperture adjustment, the aperture view will snap to the major grid while zooming.
Maintain Aspect Ratio: Select this option in order to maintain the aspect ratio of the plotted curve (in both the x and y directions) whenever the plot frame is resized. If this option is disabled, the plotted curve will stretch or compress according to the actual shape of the plot frame.
Trace Style: Select whether to draw traces as Line or Scatter view. Scatter view simply adds a single dot for each X-Y coordinate.
The default Cartesian (XY) grid display can be switched to a polar grid by simply toggling the xy/polar display button at the top-left of the plot frame.
The polar and xy grids are simply overlaid on top of the plotted data:
Polar Grid |
Cartesian Grid |
See Dynamic Zoom in XY Plots for more details.