Scale the axis in a contourf plot/ change axis location
Show older comments
I have a contour plot with positive value for x axis and negative value for y axis, both start from the 0. I want my x axis to be on top, just to make sure scaling make sense. Appreciate any help.
Answers (1)
M
on 19 Jan 2018
Maybe something like this :
contour(...);
ax=gca;
ax.XAxisLocation='top';
1 Comment
Nahid Taheri
on 19 Jan 2018
Categories
Find more on Contour Plots 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!