matrix plotting
1 view (last 30 days)
Show older comments
If I have a matrix x=[1 2 3 4] and a vector y=[1 4 9 16] and make the matrix z=[x; y] what is the equivalent matrix plot of z to scatter(x,y).
0 Comments
Accepted Answer
Sean de Wolski
on 17 May 2011
scatter(z(1,:),z(2,:))
or
scatter(z(1:2:end),z(2:2:end))
%Sorry misread your inputs
More Answers (0)
See Also
Categories
Find more on Line 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!