Member of the plots class.
plotyy(x1, y1, x2, y2)
plotyy(x1, y1, x2, y2, type)
plotyy(x1, y1, x2, y2, type1, type2)
Generates a plot with both left and right y-axes. plotyy(x1, y1, x2, y2) plots y1 against x1 with the left y-axis and y2 against x2 with the right y-axis.
| Name | Description | ||||||||||||
| x1 | Specifies a vector or matrix you want to plot. | ||||||||||||
| y1 | Specifies a vector or matrix you want to plot. | ||||||||||||
| x2 | Specifies a vector or matrix you want to plot. | ||||||||||||
| y2 | Specifies a vector or matrix you want to plot. | ||||||||||||
| type | Specifies a valid plot type. type is a string that accepts the following values.
|
||||||||||||
| type1 | Specifies a valid plot type for x1 and y1. type1 accepts the same values as the type input. | ||||||||||||
| type2 | Specifies a valid plot type for x2 and y2. type2 accepts the same values as the type input. |
This function is not supported in the LabVIEW Run-Time Engine. This function can remain in your scripts when you build a stand-alone application or shared library, but the LabVIEW Run-Time Engine does not execute this function.
x = 0:0.1:2*pi;
y1 = x;
y2 = 0.1*sin(5*x).*x;
plotyy(x, y1, x, y2)