Re: it seems like InequalityPlot can only handle a color for the PlotStyle... nothing more complicated... (?)

*To*: mathgroup at smc.vnet.net*Subject*: [mg72110] Re: it seems like InequalityPlot can only handle a color for the PlotStyle... nothing more complicated... (?)*From*: albert <awnl at arcor.de>*Date*: Wed, 13 Dec 2006 06:38:23 -0500 (EST)*References*: <eljacu$7bk$1@smc.vnet.net>

Chris Chiasson wrote: > See for yourself: > > This causes a huge black top border ... nothing like the specification: > > <<"Graphics`InequalityGraphics`" > InequalityPlot[x+5*y<2,{x,-5,5},{y,-5,5},Fills\[Rule]{Green}, > PlotStyle\[Rule]{Red,Thickness[0.01],Dashing[{.05,.025}]}] > > This works well: > > InequalityPlot[x+5*y<2,{x,-5,5},{y,-5,5},Fills\[Rule]{Green}, > PlotStyle\[Rule]{Red}] > I don't exactly understand why, but obviously InequalityPlot for some reasons expects a list of Style-Specifications (like other plot-routines do, too), that is the following works for me (note the extra level of braces): InequalityPlot[x+5*y<2,{x,-5,5},{y,-5,5},Fills\[Rule {Green},PlotStyle\[Rule]{{Red,Thickness[0.01],Dashing[{.05,.025}]}}] otherwise the first line gets style red (only), the second gets thickness (with color and dashing still the default) and a third line, which does not exist in you example would be dashed (only). hth, albert