Skip to main content
The XY Plot Diagram is used throughout the modern platform to create live XY line plots. It uses diagram widget type "xyPlot".

Implementation

Plot Parameters

Basic Data Format

Single Line Plot

Multiple Line Plot

Envelope Plots

Envelope plots show a range of values with shaded areas:

Custom Lines

Add custom reference lines or annotations:

Scale Options

Logarithmic Scales

Square Root Scale

Column Mode

For vertical data presentation:

Complete Example

Best Practices

  1. Data Structure: Always format yData as a matrix, even for single lines
  2. Colors: Use consistent color schemes across related diagrams
  3. Labels: Provide clear axis labels and units
  4. Scale Selection: Choose appropriate scales for your data range
  5. Performance: Use minScale to avoid precision issues with very small values
The XY Plot uses the Victory.js charting library. For advanced scaling options, refer to the Victory Documentation.
Use envelope plots to show uncertainty ranges or to highlight the difference between maximum and minimum values in load combinations.
When using logarithmic scales, ensure that all data points are positive. Zero or negative values will cause rendering issues.

Integration with Solvers

XY plots work excellently with beam and frame solver results:
The solver automatically provides formatted plot data that can be directly used in XY plot diagrams.