How to plot multiple lines in a 3d graph?
6 views (last 30 days)
Show older comments
Eduardo Zanella de Arruda
on 23 Jul 2016
Commented: Eduardo Zanella de Arruda
on 27 Jul 2016
Suppose I have a matrix 20x7200
So, I have 20 vectors with 7200 samples each. I want to plot a graph that consists of the 20 vectors side by side, with its size and its values.
Does anyone knows how to do it?
0 Comments
Accepted Answer
Image Analyst
on 23 Jul 2016
Edited: Image Analyst
on 23 Jul 2016
plot() won't do them "side by side" but will do them all overlapped on top of the same graph. How about waterfall() or ribbon()? This will put them side-by-side in a 3-D-ish rendering.
More Answers (1)
Azzi Abdelmalek
on 23 Jul 2016
Edited: Azzi Abdelmalek
on 23 Jul 2016
plot(M')
%Example
M=randi(10,4,20)
plot(M')
See Also
Categories
Find more on 2-D and 3-D 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!