# How to plot a 2D region defined by inequalities at a specific level in 3D plot? [closed]

I really looked to all the posts that I could find but couldn't get what I need.

I have sets of inequalities like this;

-2.3 + 6.8 i < d && 3.50 + 0.05 i > d

Which is used to plot the region as follow.

twod = RegionPlot[-2.3 + 6.8 i < d && 3.50 + 0.05 i > d, {i, 0, 10}, {d, -15, 15}, Axes -> False, Frame -> False, Background -> None]


Then I need to plot this 2D region plot at vertical axis equal to 0.5 which is defined by variable p;

Eventually I want to come up with such a plot;

• Have you seen RegionFunction? – J. M. will be back soon Dec 23 '16 at 12:28
• I don't fully understand: you have inequalities in 2D and want to plot them in - what appears - a nontrivial way in 3D. Where in those equalities is the 0.5 you mention? How does the region depend on p? – corey979 Dec 23 '16 at 12:57
• @corey979 for p=0.5 I have 1 set of inequalities and for another p I have another inequalities. Thus p is discrete. – freezer Dec 23 '16 at 13:00
• @J.M. While I have those inequalities to define region. I found the only option to use with RegionFunction is parametricplot3d which yields non-smooth surfaces. Like this link – freezer Dec 23 '16 at 13:02
• How about sth like Table[RegionPlot3D[ x^2 + y^2 <= p, {x, -5, 5}, {y, -5, 5}, {z, p, p + 1}], {p, 1, 9}] // Show[#, PlotRange -> All] &? You can have p stored in some list and can build such Table refering to that list to define the heights of each region. – corey979 Dec 23 '16 at 13:15