Why do I receive an error when I attempt to plot with the 'v6' option in MATLAB 7.0 (R14)?
1 view (last 30 days)
Show older comments
When I enter the following command:
h = axes;
plot('v6',h,1:10,1:10)
I receive the following error:
??? Error using ==> plot
Not enough input arguments.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
This is an expected behavior. In MATLAB 6.5.1 (R13SP1) and previous versions, the PLOT function did not accept the axes handle as a first argument. When you use the 'v6' option, specifying the axes handle becomes a syntax error and an error is thrown.
To work around this issue, do not specify the axes handle when using the PLOT function with the 'v6' option:
h = axes;
plot('v6',1:10,1:10)
0 Comments
More Answers (0)
See Also
Categories
Find more on 2-D and 3-D Plots 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!