Does the PLOTYY(X1,Y1,X2,Y2,'function1','function2') command use function2(X2,Y2) to plot the data for the right axes?
1 view (last 30 days)
Show older comments
When I type:
help plotyy
The following information is shown in the third paragraph:
PLOTYY(X1,Y1,X2,Y2,FUN1,FUN2) uses FUN1(X1,Y1) to plot the data for the left axes and FUN2(X1,Y1) to plot the data for the right axes.
However, when I type:
doc plotyy
The following information is shown in the third paragraph:
plotyy(X1,Y1,X2,Y2,'function1','function2') uses function1(X1,Y1) to plot the data for the left axis and function2(X2,Y2) to plot the data for the right axis.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
The HELP text for the PLOTYY function should read as follows:
PLOTYY(X1,Y1,X2,Y2,'function1','function2') uses function1(X1,Y1) to plot the data for the left axis and function2(X2,Y2) to plot the data for the right axis.
0 Comments
More Answers (0)
See Also
Categories
Find more on Two y-axis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!