Add top x axis
26 views (last 30 days)
Show older comments
Matin jaberi
on 1 Aug 2022
Answered: Walter Roberson
on 1 Aug 2022
Hi All,
I want to put voltage plot in line 51 on the top x axis and have line 60 and 65 addaxis on the bottom x axis(Time in line 47).
Any help is appraciated.
0 Comments
Accepted Answer
Walter Roberson
on 1 Aug 2022
The File Exchange contribution you are using, addaxis(), is only designed to add additional y axes, not additional x axes.
See instead plotxx from the File Exchange https://www.mathworks.com/matlabcentral/fileexchange/317-plotxx-m?s_tid=srchtitle
0 Comments
More Answers (0)
See Also
Categories
Find more on Two y-axis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!