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?

 Réponse acceptée

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 commentaire

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Graph and Network Algorithms dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by