data cursor function for 3D slice
显示 更早的评论
I need to make the data cursor on a 3D slice display value of the function being displayed; i.e. for slice(X,Y,Z,f,0,[],[]) make data cursor display value of f. Can you suggest a code to do that?
more example:
[X Y Z]=meshgrid([-2:.1:2],[-2:.1:2],[-2:.1:2]);
f=rand(41,41,41);
slice(X,Y,Z,f,0,[],[])
采纳的回答
更多回答(1 个)
A
2012-4-16
0 个投票
5 个评论
Sean de Wolski
2012-4-16
I don't see why not.
A
2012-4-17
Sean de Wolski
2012-4-17
Get the information (somehow similar to what I did) and then call another function that draws lines.
A
2012-4-18
Jan
2012-4-28
The question is not clear.
类别
在 帮助中心 和 File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!