How to edit a Surface Plot and transfer the data to a 2-D matrix
Show older comments
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
Answers (1)
Walter Roberson
on 15 Jun 2013
0 votes
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.
Categories
Find more on Image Arithmetic 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!