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

Changing style in Plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39499] Changing style in Plot
  • From: Thomas Manz<thomas.manz at physik.uni-regensburg.de>
  • Date: Thu, 20 Feb 2003 05:13:26 -0500 (EST)
  • Organization: University of Regensburg, Germany
  • Sender: owner-wri-mathgroup at wolfram.com

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: EMM Mathematica code
  • Next by Date: series expansions in two variables problem
  • Previous by thread: EMM Mathematica code
  • Next by thread: Re: Changing style in Plot