MathGroup Archive 2003

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

Search the Archive

Re: Changing style in Plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39519] Re: Changing style in Plot
  • From: Mark Westwood <mark at galeawestwood.freeserve.co.uk>
  • Date: Fri, 21 Feb 2003 04:07:48 -0500 (EST)
  • References: <b329ld$at8$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Thomas ,

I have no idea at all how to do this.  But perhaps you could define two 
plots, one of x from 0 to 4 with thickness 0.1, one of x from 4 to 10 
with thickness 0.2 and use Show to overlay them ?  Or define two 
functions, one with domain 0-4, the othe 4-10, and proceed from their.

Regards
Mark Westwood

Thomas Manz wrote:

> Hello,
> 
> 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??
> 
> Thanks a lot
> Thomas
> 



  • Prev by Date: Re: Changing style in Plot
  • 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