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

2 views (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").

Categories

Find more on Graphics Object Properties in Help Center and File Exchange

Tags

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!