Clear Filters
Clear Filters

two x-axes, one above and one below, inverted

1 view (last 30 days)
I have a graph that represents values ​​in two dimensions x,y in the normal way on the left and below but I want to add an extra x axis that is the same as the other but inverted and appears on the top

Answers (1)

the cyclist
the cyclist on 19 May 2023
This documentation explains how to do multiple axes.
And then you'll need to set the XDir property of one of the axes to "reverse" (if that is what you mean by "inverted").


Find more on 2-D and 3-D Plots 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!