Need to get data cursor info programatically
3 views (last 30 days)
Show older comments
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
Answers (0)
See Also
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!