| Simulink® | ![]() |
Sinks
The XY Graph block displays an X-Y plot of its inputs in a MATLAB figure window.
The block has two scalar inputs. The block plots data in the first input (the x direction) against data in the second input (the y direction). (See Changing the Orientation of a Block in Using Simulink® for a description of the port order for various block orientations.) This block is useful for examining limit cycles and other two-state data. Data outside the specified range is not displayed.
Simulink® software opens a figure window for each XY Graph block in the model at the start of the simulation.
The XY Graph block accepts real signals of type double.

The minimum x-axis value. The default is -1.
The maximum x-axis value. The default is 1.
The minimum y-axis value. The default is -1.
The maximum y-axis value. The default is 1.
Specify the time interval between samples. To inherit the sample time, set this parameter to -1. See Specifying Sample Time in the Simulink documentation for more information.
The following model computes the points that define a circle of radius 4, centered at the origin of the x-y plane. The XY Graph block displays the circle.

Sample Time | Specified in the Sample time parameter |
States | 0 |
![]() | Wrap To Zero | Zero-Order Hold | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |