How to sum two y axis data
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
davit petraasya
el 25 de En. de 2016
Comentada: Walter Roberson
el 22 de Mzo. de 2017
Hello
I have done 2 plots(see attached files) Now I need to sum my the 2 curves in one graph. As a result it should be one curve with y axis values added to each other. Such as in the year 45 1 graph y value 87,2 graph y value 80. So my new value should appear as 167.
Thanks a lot!


0 comentarios
Respuesta aceptada
Walter Roberson
el 25 de En. de 2016
It appears to me you only need a single y axes as the two plots appear to have the same range. To get two line plots on the same axes,
plot(....) %draw the first one
hold on
plot(....) %draw the second one
hold off
11 comentarios
raj das
el 22 de Mzo. de 2017
Can you please give me soon the full code? I also have same problem and want it urgently. Will be waiting for yours reply. Thank you.
Walter Roberson
el 22 de Mzo. de 2017
davit petraasya is probably not following this topic any longer, as it is a year old.
Más respuestas (0)
Ver también
Categorías
Más información sobre Axes Appearance en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!