MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Changing style in Plot

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

On 2/20/03 at 5:13 AM, thomas.manz at (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];

  • Prev by Date: DigitBlock problem
  • Next by Date: Re: series expansions in two variables problem
  • Previous by thread: Re: Changing style in Plot
  • Next by thread: Re: Changing style in Plot