Re: Changing style in Plot

*To*: mathgroup at smc.vnet.net*Subject*: [mg39530] Re: Changing style in Plot*From*: Bill Rowe <listuser at earthlink.net>*Date*: Fri, 21 Feb 2003 04:09:49 -0500 (EST)*Sender*: owner-wri-mathgroup at wolfram.com

On 2/20/03 at 5:13 AM, thomas.manz at physik.uni-regensburg.de (Thomas Manz) wrote: >I¥d like to change the style of a plot in dependency on the x-value. I >think this WRONG example shows, what I want: >Plot[3x-1, {x,0,10}, PlotStyle->If[x>4,Thickness[0.1],Thickness[0.2]]] >Does anyone have an idea how to do this?? a = Plot[3 x - 1,{x,0,4},PlotStyle->Thickness[.01],DisplayFunction->Identity]; b = Plot[3 x - 1,{x,4,10},PlotStyle->Thickness[.02],DisplayFunction->Identity]; Show[a,b,DisplayFunction->$DisplayFunction];