Scale the axis in a contourf plot/ change axis location

조회 수: 2 (최근 30일)
Nahid Taheri
Nahid Taheri 2018년 1월 19일
댓글: Nahid Taheri 2018년 1월 19일
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.

답변 (1개)

M
M 2018년 1월 19일
Maybe something like this :
contour(...);
ax=gca;
ax.XAxisLocation='top';
  댓글 수: 1
Nahid Taheri
Nahid Taheri 2018년 1월 19일
I tried that, but it did not work. Also, do you know how we can select the color on the color bar?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Contour Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by