Services & Resources / Wolfram Forums
MathGroup Archive
*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
  • Subject: [mg39519] Re: Changing style in Plot
  • From: Mark Westwood <mark at>
  • Date: Fri, 21 Feb 2003 04:07:48 -0500 (EST)
  • References: <b329ld$at8$>
  • Sender: owner-wri-mathgroup at

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.

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