Inequality Plotting
As of Maple 17 the inequality plotting command in the plots package is greatly improved. Most notably, it now supports the plotting of nonlinear inequalities, but it also has improved the interface for specifying the style of the plotted region and for combining plots of multiple regions.
with⁡plots:inequalx2−y<0,x2+y2<9,0<3⁢y−x−2,x=−2..2,y=0..3,color=Niagara 1
Multiple inequality plots can be combined with plots[display]:
ineqs:=49<y,y<1,−y<x,x<3⁢y−2,1<y,y<35+1⁢8610,−y<x,x<y,35+1⁢8610<y,y<−12+1⁢372,−y<x,x<y,−12+1⁢372<y,y<3,−−y2+9<x,x<−y2+9:
i1:=inequal⁡ineqs1,x=−2..2,y=0..3,color=Niagara 1:i2:=inequal⁡ineqs2,x=−2..2,y=0..3,color=Niagara 2:i3≔inequalineqs3,x=−2..2,y=0..3,color=Niagara 3:i4≔inequal⁡ineqs4,x=−2..2,y=0..3,color=Niagara 4:displayi1,i2,i3,i4
Multiple inequality regions can also be plotted using one command:
inequal⁡map⁡t→t[],0≤y−2⁢x−1,ineqs,x=−2..2,y=0..3,optionsfeasible=color=Niagara 1,color=Niagara 2,color=Niagara 3,color=Niagara 4,optionsopen=color=Mono 2,thickness=1,optionsclosed=color=Mono 1,thickness=3,optionsexcluded=color=Mono 5
See Also
plots[inequal] command
Download Help Document