1
$\begingroup$

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]

enter image description here 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; enter image description here

$\endgroup$
  • $\begingroup$ Have you seen RegionFunction? $\endgroup$ – J. M. will be back soon Dec 23 '16 at 12:28
  • $\begingroup$ 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? $\endgroup$ – corey979 Dec 23 '16 at 12:57
  • $\begingroup$ @corey979 for p=0.5 I have 1 set of inequalities and for another p I have another inequalities. Thus p is discrete. $\endgroup$ – freezer Dec 23 '16 at 13:00
  • $\begingroup$ @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 $\endgroup$ – freezer Dec 23 '16 at 13:02
  • $\begingroup$ 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. $\endgroup$ – corey979 Dec 23 '16 at 13:15