imagesc hide one axis

조회 수: 16 (최근 30일)
Luca cadalo
Luca cadalo 2017년 3월 13일
답변: Walter Roberson 2017년 3월 13일
It is possible to display axes with imagesc but only in one direction no both axis y and x only x
thanks!

채택된 답변

Walter Roberson
Walter Roberson 2017년 3월 13일
If you are using R2015b or later (I think it is) then,
ax = gca;
imagesc(YourImage, 'Parent', ax);
ax.YAxis.Visible = 'off';

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by