How to plot double y axis when data sets are from different files?
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
I have two data sets in two different files as attached. In test1 i want to plot column 1 as x-axis (which is altitude) with column 2 and 3 as y1 axis with different legends. In the same figure I want to plot column 1 as x-axis (which is also altitude but the scale division is different) with column 5 as y2 axis.
1 comentario
KSSV
el 2 de Nov. de 2018
Read about plotyy
Respuestas (1)
madhan ravi
el 2 de Nov. de 2018
0 votos
1)load two text files and assign the values to separate variables.
2) Use yy axis left and yy axis right to plot them.
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!