How to plot multiple x-axes on a graph and have them show up on the same scale?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Karla Haiat
am 21 Aug. 2018
Kommentiert: K M AZAM CHOWDHURY
am 25 Aug. 2020
I have 3 types of data I want on the same plot. Temperature, Oxygen and Salinity. I want to make a plot where all of these are plotted against depth (y axis). But the data is not on the same scale, temperature ranges from 20-30, while oxygen is in the 200s. How do I plot these so they show up on the same scale, and how do I add more than 1 x-axis on the bottom of the graph?
I want to do something like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194175/image.png)
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Haritha
am 21 Aug. 2018
Try this, https://in.mathworks.com/help/matlab/creating_plots/combine-multiple-plots.html
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!