Question: plotting multiple inequalities

I'm trying to plot multiple inequality conditions such as

n/2 < m < 6-n  if 0 < n < 1/2

and

m >= n/2 if 1/2 < n < 3 .

I tried to do it by creating two plots via inequal and then using "display", which is what Tadashiito did here:

http://www.mapleprimes.com/questions/37286-Plotting-Multiple-Inequality-Conditions-Superimpose-Onto-Each-Other

and I ran into the exact same problem, unsurprisingly.  So I tried doing it via inequal as suggested by Doug Meade.  Which produces the domains but I need to have dashed lines on the open sides of the feasible regions and solid lines on the closed sides.

Has anyone found another solution to the problem that both Tadashiito and I ran into?  Here's my failed source code:

> plot1 := inequal({m < 6-n, (1/2)*n < m, n < 1/2}, n = 0 .. 4, m = 0 .. 6, optionsfeasible = (color = gray), optionsexcluded = (color = white), labels = [n, m], thickness = 2);

> plot2 := inequal({n < 3, (1/2)*n <= m, 1/2 < n}, n = 0 .. 4, m = 0 .. 6, optionsfeasible = (color = gray), optionsexcluded = (color = white), labels = [n, m], thickness = 2);

> display([plot1, plot2]);

many thanks!

Mary

Please Wait...