Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Matlab 3 variable plot
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi all I am looking to produce a plot similar to that shown below. I have some water speed data that is measured at different depths on different days.
The water speeds are stored in a 15 by 10 matrix called speeds. I would like to plot each column in that matrix against the values in WaterDepth (which would be on the Y axis as shown in the graph above). On the x axis I would like to have Time (which corresponds to each of the columns in Speeds). I would like the speeds to be different colours as shown in the example image.
The setup is as follows.
Speeds=randn(15,10);
Time = [1:1:10];
WaterDepth = [0.5:0.5:7.5].';
Any advice on the best way this can be done?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/353159/image.gif)
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!