Is it possible to use figure capabilities in axes on a GUI?

조회 수: 4 (최근 30일)
Alon Rozen
Alon Rozen 2016년 11월 10일
댓글: Alon Rozen 2016년 11월 10일
Hi all,
When I create a figure and plot some 3d graph I can use figure capabilities like 'Rotate 3D','Pan','Zoom in','Zoom out' and more. When I create axes inside a GUI (using GUIDE) and I plot the same graph I don't have these capabilities. Is it possible to include some of them for the axes in the GUI?
if not - is it possible to activate a callback function when, say, double clicking the plot in the GUI so I can code the creation of an additional figure in that callback function?
Thanks, Alon

채택된 답변

Adam
Adam 2016년 11월 10일
편집: Adam 2016년 11월 10일
You can add in the default or a custom toolbar in GUIDE from the menu options.
Tools -> Toolbar Editor
You can also use the functionality programmatically from your own buttons or controls.
  댓글 수: 2
Alon Rozen
Alon Rozen 2016년 11월 10일
Adam and Brendan thank you so much :) This is more then solving my problem. I learned a new concept!

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

추가 답변 (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