Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2003

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

Search the Archive

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];


  • 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