Unequal vector lengths in 3D plot function
5 views (last 30 days)
Show older comments
Hi! My plot statements are as follows:-
rtheta=1:1:180;
rpsi=1:1:360;
figure(1)
plot3(ftot,rtheta,rpsi);
figure(2)
plot3(ftot,rtheta,rpsi);
i get the error-"Vectors must be the same lengths". Can someone please advice me on how to eliminate this error? I want the ranges on theta and psi to remain the same though.
0 Comments
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!