how to add another x axis in a figure

4 vues (au cours des 30 derniers jours)
erez zolkov
erez zolkov le 23 Juin 2019
hey.
im trying to have a plot where i have two different x axis (one is linear and the other isn't) for the same y plot.
is there a way to do so? the solutions i have came across in these forums dont apply to my case.
Thanks.
  1 commentaire
dpb
dpb le 23 Juin 2019
What, specifically, is the problem with simply adding the second x axis and setting scale however desired?
Here's one previous Answer from years ago...<https://www.mathworks.com/matlabcentral/answers/181907-how-do-i-plot-a-second-axis-which-scales-with-the-inverse-of-the-original-axis?s_tid=answers_rc1-3_p3_MLT>

Connectez-vous pour commenter.

Réponses (1)

Aquatris
Aquatris le 24 Juin 2019
The answer is this link.

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by