PLOT ORTHOGONAL TWO imagesc with slice

3 views (last 30 days)
Yesid Goyes
Yesid Goyes on 12 Dec 2011
Commented: Yesid Goyes on 12 Feb 2014
hello, for a seismic image I need plot perpendicular two imagesc graph.
how do I made this with slice ???

Answers (1)

Walter Roberson
Walter Roberson on 12 Dec 2011
For example,
slice(x, y, z, v, [], [3], [0.5])
would draw the planes y=3 and z=0.5
  3 Comments
Walter Roberson
Walter Roberson on 12 Dec 2011
Using slice() for that would not be a good idea.
Instead, create surface objects and set the matrix as the CData property and set the FaceColor property to 'texturemap'
http://www.mathworks.com/help/techdoc/visualize/f0-18164.html#f0-9250
and the Example section of
http://www.mathworks.com/help/techdoc/ref/surface.html
Yesid Goyes
Yesid Goyes on 12 Feb 2014
surface object only works when using a single image. I tried it with two surfaces and did not yield results. help pleaes: for example...
image1 = orientation N-S image2 = orientation E-W

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!