필터 지우기
필터 지우기

Creating an axis within an imscrollpanel

조회 수: 1 (최근 30일)
TREDWISE
TREDWISE 2018년 1월 1일
답변: Image Analyst 2018년 1월 2일
Hi all,
I'm trying to create an axis over an image within an imscrollpanel. If i create the axis with the imscrollpanel as the parent it will appear, but it won't scroll like the image within the imscrollpanel. If I try to create the axis with the figure as the parent, no axis will appear regardless of the position setting. Does anyone know how to fix this? Very frustrating since I am able to plot to the imscrollpanel correctly and I didn't anticipate this much difficulty creating an axis.
Thanks, John

답변 (1개)

Image Analyst
Image Analyst 2018년 1월 2일
Not sure what you mean. Did you call "grid on" to place slight dashed lines over the image? Did you call "axis on" to put tick marks and labels outside the image?
For what it's worth (until you show your code), attached is a demo from me and the Mathworks.

카테고리

Help CenterFile Exchange에서 Build Interactive Tools에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by