how can i plot data with 4 y-axis versus a x-axis?

I have 4 matrixes T=[15,15,15,15,15] sfc=[664.5678485,613.2928213,621.5065644,598.2334518,645.379002] nf=[12.74600969,13.81165398,13.62912111,14.15933564,13.1249827] P=[1.884,2.198,2.512,2.826,3.14] and i want to make a graph of those 4 versus this one N=[20,23,26,30,33] wher N in on x-axis and the other matrixes are on y-axis how can i do that?

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2016년 3월 28일
T=[15,15,15,15,15]
sfc=[664.5678485,613.2928213,621.5065644,598.2334518,645.379002]
nf=[12.74600969,13.81165398,13.62912111,14.15933564,13.1249827]
P=[1.884,2.198,2.512,2.826,3.14]
N=[20,23,26,30,33]
plot(N',[T;sfc;nf;P]')

댓글 수: 1

Azzi i tried the code you wrote the thing is that i need 4 y-axis and one x-axis. The code you wrote only shows a graph with one y and one x axis and 4 curves inside them. Thank you for your time

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by