MathGroup Archive 2003

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

Search the Archive

Re: Changing style in Plot

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