How to have top x axis with different scale as compared to bottom x axis for same plot?

3 visualizzazioni (ultimi 30 giorni)
I want to replicate the same thing shown above. I want to have different scale for top and bottom x axes. Can you please suggest me the easiest way to do it? I am not very familiar to Matlab coding and I have been using plotting tools available in Matlab.

Risposte (1)

dpb
dpb il 8 Ago 2022
Try fhe FEX submission <plotxx-m FEX> -- I've not used it, but looks like it does nice job...

Community Treasure Hunt

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

Start Hunting!

Translated by