draw a Cuboid with colorcode

1 view (last 30 days)
Vahid
Vahid on 21 Oct 2014
Commented: Mohammad Abouali on 21 Oct 2014
I have coordinates of 10 points. In each point, a vertical well has been drilled. The main variable is pressure along all wells (pressure versus depth). I need to draw a cube which includes the area of all wells and show the pressure. Something like this pictures:
"
Any help, tips or codes to approach this goal would be most appreciated.

Accepted Answer

Mohammad Abouali
Mohammad Abouali on 21 Oct 2014
Edited: Mohammad Abouali on 21 Oct 2014
1) First you need to interpolate your well data into a regularly spaced grids.
2) then use the slice command to generate those figures.
Movafagh bashi
  2 Comments
Vahid
Vahid on 21 Oct 2014
Thanks Mohammad,
I've tried Slice command before. The best result is like this:
The challenge is: how can I hide the border lines of the grids?
That's why I thought there could be other command/technique. Otherwise, SLICE command seems suitable.
Thank you
Mohammad Abouali
Mohammad Abouali on 21 Oct 2014
once you did your slice command, issue
shading interp
it would interpolate the colors closer to what you are looking.
Also you can set the "EdgeColor" to "none" to get rid off those black lines.

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!