imagesc funtion axes configuration

조회 수: 2 (최근 30일)
Hatim Altarteer
Hatim Altarteer 2020년 7월 3일
편집: Walter Roberson 2020년 7월 3일
Hello,
how can I change the axes of the graph to have x = 50 increments and y = 50 increments? (e.g. x strats from zero and ends up at 50)

답변 (1개)

Walter Roberson
Walter Roberson 2020년 7월 3일
편집: Walter Roberson 2020년 7월 3일
xlim([0 50]);
xticks(0:5:50); %ticks at 0, 5, 10, 15, and so on
Warning: none of your image x data is as low as 50, so although this would do what you have asked for here, the result would be that the image will not be visible at all.

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by