Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: '3d plot - mark specific area with another color' topicStudent Support Forum > General > Archives > "3d plot - mark specific area with another color"

Next Comment >Help | Reply To Topic
Author Comment/Response
Alex
03/18/13 07:36am

Hello,

Could you please help me with the following question. I am using the function RegionPlot3D to illustrate a convex set in 3 dimensions (x1,x2,x3). I works fine.

For example:
RegionPlot3D[
K1 <= -1 && K2 <= -1.5 && K3 <= -2.5 && -10 - K1 - K2 - K3 <= -4 &&
K1 + K2 <= -3 && K1 + K3 <= -4 && K2 + K3 <= -4 &&
K1 + K2 + K3 <= -5.5, {K1, -2.5, 0}, {K2, -2.5, -1}, {K3, -4, -2},
AxesLabel -> Automatic, PlotStyle -> Opacity[1],
PlotPoints -> 100, PerformanceGoal -> "Quality"]


Additionally, I would like to mark an area of the 3d space, say where x1<=x2<=x3, with a light color, so that it is transparent. So, I would like to see graphically:
- my previous convex set
- the area where x1<=x2<=x3

By turning and zooming this figure, I would like to see graphically, which part of my convex set satisfies the condition x1<=x2<=x3.

I would really appreciate any solution to this problem, but the best way would be if I could give a matrix of the following form as input:

A=
0 -1 1
-1 1 0

b=
0
0

Ax>=b

which means:
x3-x2>=0
x2-x1>=0

If the above inequalities are satisfied, then the condition x1<=x2<=x3 is also satisfied.

Thank you very much for your time and consideration!

Alex


URL: ,

Subject (listing for '3d plot - mark specific area with another color')
Author Date Posted
3d plot - mark specific area with another color Alex 03/18/13 07:36am
Re: 3d plot - mark specific area with another c... toen 03/24/13 00:22am
Next Comment >Help | Reply To Topic