Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Popupmenu and axes questions using GUIDE

조회 수: 1 (최근 30일)
Christopher
Christopher 2014년 11월 14일
마감: MATLAB Answer Bot 2021년 8월 20일
Hello All,
I have a few questions about doing some tings in GUIDE. I have been searching around, but haven't been able to find much information, so I figured I would ask here.
1.) I have a popupmenu that I created and I would like to display images within the menu. Is this possible? For example, one of the items on the list says square and I would like to display an image of a square next to it, so it would be square imageofsquare.jpg. I would like to do this for all of the items in the popupmenu.
2.) I would like to make an axes that displays a grid of points and allows users to snap to these points and draw lines between them. I haven't found any tutorials on doing anything like this, Does anyone know of any tutorials on doing something like this? Or the best way of going about this?

답변 (1개)

Jan
Jan 2014년 11월 15일
For the first question see you question concering the same problem.
I do not know a tutorial concerning the 2nd question. There are several possible ways to implement this. You could use the ButtonDownFcn of line() objects to register if the use selects them with the mouse.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by