Need to get data cursor info programatically

3 views (last 30 days)
I have a 3d figure with a number of surfaces and shapes, which is viewed from a particular viewing position. I would like to programatically collect the data cursor info, which gives an xyz coordinate, for multiple spots in the figure, in a grid shape.
A few problems I have run into:
#1 - When I manually click the figure using the data cursor, the entire shape of the figure changes. I want to keep it at the exact viewing angle I have, but it won't let me.
#2 - I want to collect this information programatically. I have found some potential methods of doing this, none of which seem very good. The moveptr() function does not seem to place the pointer in the figure as it is supposed to. I can use jRobot to move and click the mouse, but I can only control it with respect to the pixels on the screen, rather than relative to the figure. Ideally, I could move the pointer relative to the x and y axes, since the grid is defined on the x-y plane, but I cannot find a method for doing this.
Any help would be greatly appreciated.
Ben
  3 Comments
Benjamin
Benjamin on 15 Feb 2012
You are correct. The figure doesn't change. But the viewing angle, as well as the scale of the axes changes. Before I click, I cannot see every figure, and I don't want to. After I click, I can see the entire figure, and the viewing angle appears to change.
Benjamin
Benjamin on 15 Feb 2012
I meant, I cannot see every part of the figure...there are surfaces, or parts of surfaces that are hidden from view on the edges, and I would like them to remain hidden.

Sign in to comment.

Answers (0)

Categories

Find more on Visual Exploration in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!