how to add another x axis in a figure

3 次查看(过去 30 天)
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 个评论
dpb
dpb 2019-6-23
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>

请先登录,再进行评论。

回答(1 个)

Aquatris
Aquatris 2019-6-24
The answer is this link.

类别

Help CenterFile Exchange 中查找有关 Graphics Objects 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by