Problem with the axe when set the view property

1 view (last 30 days)
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 Comment
Geoff Hayes
Geoff Hayes on 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.

Sign in to comment.

Answers (0)

Categories

Find more on Visual Exploration in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!