필터 지우기
필터 지우기

How can I maintain visible axes when using imagesc (box on doesn't work)?

조회 수: 1 (최근 30일)
Christopher Harris
Christopher Harris 2018년 3월 1일
편집: Chris 2023년 1월 30일
I'm displaying an image using imagesc. This makes the black axes disappear. I've tried setting the 'xcolor' and 'yxolor' properties of the axes to black, and I've made sure to use 'box on'. What am I doing wrong? Cheers
  댓글 수: 4
Jan
Jan 2023년 1월 30일
@Kristoffer Walker: Again: Please post a minimal working example. Prefer to open a new thread for your question.
Chris
Chris 2023년 1월 30일
편집: Chris 2023년 1월 30일
re:App Designer: See This answer for the grid problem, or if your version of Matlab is current (I don't know what version it was introduced), do this for the axes in your component browser:
As for the box, there is a "Box Styling" section with a checkbox to enable it.
If the image is dark, the ticks may not be discernable. You could visit the "Rulers" section and change XColor and YColor there, to confirm it is still a problem.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Object Properties에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by