What happened to plotxx?

22 views (last 30 days)
Matthew Pollard
Matthew Pollard on 17 Apr 2015
Answered: KAE on 13 Nov 2019
I am trying to plot four different curves with two x scales. One x axes labeled on top, one on bottom of the figure. I am aware of plotyy, but there doesn't seem to be a plotxx equivalent. How do I plot curves on two different x scales on the same curve?

Answers (2)

Star Strider
Star Strider on 17 Apr 2015
It’s hiding in the plotyy documentation as a link to Graph with Multiple x-Axes and y-Axes.

KAE on 13 Nov 2019
There is also a plotxx in the File Exchange.


Find more on Two y-axis in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by