additional non linear x axes

1 view (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!

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');

More Answers (0)

Community Treasure Hunt

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

Start Hunting!