Inequality Plotting - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Information : Updates : Maple 17 : Inequality Plotting

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.

 

withplots&colon;inequalx2y<0&comma;x2&plus;y2<9&comma;0<3yx2&comma;x&equals;2..2&comma;y&equals;0..3&comma;color&equals;Niagara 1

Multiple inequality plots can be combined with plots[display]:

ineqs:=49<y&comma;y<1&comma;y<x&comma;x<3y2&comma;1<y&comma;y<35&plus;18610&comma;y<x&comma;x<y&comma;35&plus;18610<y&comma;y<12&plus;1372&comma;y<x&comma;x<y&comma;12&plus;1372<y&comma;y<3&comma;y2&plus;9<x&comma;x<y2&plus;9&colon;

i1:=inequalineqs1&comma;x&equals;2..2&comma;y&equals;0..3&comma;color&equals;Niagara 1&colon;i2:=inequalineqs2&comma;x&equals;2..2&comma;y&equals;0..3&comma;color&equals;Niagara 2&colon;i3inequalineqs3&comma;x&equals;2..2&comma;y&equals;0..3&comma;color&equals;Niagara 3&colon;i4inequalineqs4&comma;x&equals;2..2&comma;y&equals;0..3&comma;color&equals;Niagara 4&colon;displayi1&comma;i2&comma;i3&comma;i4

Multiple inequality regions can also be plotted using one command:

inequalmapt&rarr;t&lsqb;&rsqb;&comma;0y2x1&comma;ineqs&comma;x&equals;2..2&comma;y&equals;0..3&comma;optionsfeasible&equals;color&equals;Niagara 1&comma;color&equals;Niagara 2&comma;color&equals;Niagara 3&comma;color&equals;Niagara 4&comma;optionsopen&equals;color&equals;Mono 2&comma;thickness&equals;1&comma;optionsclosed&equals;color&equals;Mono 1&comma;thickness&equals;3&comma;optionsexcluded&equals;color&equals;Mono 5

See Also

plots[inequal] command