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?

 채택된 답변

Image Analyst
Image Analyst 2016년 7월 23일
편집: Image Analyst 2016년 7월 23일

0 개 추천

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.

추가 답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2016년 7월 23일
편집: Azzi Abdelmalek 2016년 7월 23일

0 개 추천

plot(M')
%Example
M=randi(10,4,20)
plot(M')

댓글 수: 1

supose I have these 3 vectors x = [1 10 20 6 2 0 30]; y = [2 30 22 10 5 10 3]; z = [4 3 3 3 8 41 20];
I want to plot them side by side in a 3d graph, how would you do?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by