Problem with the axe when set the view property

1 Ansicht (letzte 30 Tage)
Jack
Jack am 27 Aug. 2014
Kommentiert: Geoff Hayes am 27 Aug. 2014
Sorry for my english I am french, I use MATLAB2009b and I build figure with the GUIDE. When I try to change the view property of the axe or with the function view(az,el), the axe isn't lock on the figure and when I use the pan tool, the axe change of position on the figure instead of remain at his initial position and slide the axe value !
What is wrong ?
  1 Kommentar
Geoff Hayes
Geoff Hayes am 27 Aug. 2014
Jack - if, from within your GUI, you are trying to change the view property, then it may be easier/safer to specify the handle of the axes that you wish to apply the function to. For example, if the tag for the axes is axes1, then within your code you could do something like
view(handles.axes1,ax,el);
I'm assuming the above is called from within a callback that has as one of its inputs, the handles structure.
I don't know if that really answers the first part of your question, as I don't know what you mean by the axe isn't lock on the figure.
As for the second part of your question, without seeing the code, it is difficult to guess what might be the problem. Again, I'm not sure what you mean by he axe change of position on the figure instead of remain at his initial position and slide the axe value. Isn't that the point of pan - to slide (horizontally or vertically) the data that has been plotted/drawn within the axes?
Try including some images of what is happening, and what you would like to see happen. Definitely include some of the code that you have written. And you can write part or all of your question in French.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Visual Exploration finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by