How to shift origin (0,0,0) to an arbitrary point (x,y,z) in the plot of a 3d image?
9 views (last 30 days)
Show older comments
This may be a stupid question but being a newbie to Matlab I am facing a lot of problems.
I have a plot of a 3d face:
I used trisurf to display this image. The databse I am using is gavabdb.
As we can see in this image, the origin location is the default location in matlab. I need to shift the origin to an an arbitrary point(say any set of x,y,z values obtained from the set of x,y,z vectors i already have).
I went through the 'set' command but I cant find any method of shifting the origin. Some hints on how to shift the origin?
0 Comments
Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!