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: [mg39521] Re: [mg39499] Changing style in Plot
  • From: Tomas Garza <tgarza01 at>
  • Date: Fri, 21 Feb 2003 04:07:54 -0500 (EST)
  • References: <>
  • Sender: owner-wri-mathgroup at

This may help:

p1 = Plot[3*x - 1, {x, 0, 4}, PlotStyle ->
     Thickness[0.1], DisplayFunction -> Identity];
  p2 = Plot[3*x - 1, {x, 4, 10}, PlotStyle ->
     Thickness[0.2], DisplayFunction -> Identity];
Show[p1, p2, DisplayFunction -> $DisplayFunction];

I think Thickness[0.1] and Thickness[0.2] are really too thick. Perhaps 1/10
of that would work better.

Tomas Garza
Mexico City
----- Original Message -----
From: "Thomas Manz" <thomas.manz at>
To: mathgroup at
Subject: [mg39521] [mg39499] Changing style in Plot

> 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