MATLAB Answers

additional non linear x axes

18 views (last 30 days)
gil amoyal
gil amoyal on 2 Dec 2019
Edited: Ajay Kumar on 2 Dec 2019
Hi all!
I would like to know if there's a way to add a second x axes (nonlinear) on top of the figure which has different labels using property inspector.
If not, is there any simple script I can use?
Thanks!

  0 Comments

Sign in to comment.

Accepted Answer

Ajay Kumar
Ajay Kumar on 2 Dec 2019
Edited: Ajay Kumar on 2 Dec 2019
Have a read at this link.
where the position of the axis can be written.
for eg:
ax2 = axes('Position',ax1_pos,...
'XAxisLocation','bottom',...
'YAxisLocation','right',...
'Color','none');

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.