How to edit a Surface Plot and transfer the data to a 2-D matrix
显示 更早的评论
Hello All, Is there any method to modify a suface plot (for ex one generated by surf(imagePh), where imagePh is a 2D image array with intensities repesenting the z coordinate) and transfer its contents to a 2-D array with the modified intensities. Plese share your opinions, Thanks, S.Bharath
回答(1 个)
Walter Roberson
2013-6-15
0 个投票
If you do manage to modify the plot, then you can get the modified values into an array by get()'ing the ZData property of the surface. If the color information is also to be modified and needs to be retrieved, that is the CData property.
The method for modifying the surface is going to depend upon what kinds of modifications you wish the user to be able to make.
类别
在 帮助中心 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!