Re: Changing style in Plot
- To: mathgroup at smc.vnet.net
- Subject: [mg39521] Re: [mg39499] Changing style in Plot
- From: Tomas Garza <tgarza01 at prodigy.net.mx>
- Date: Fri, 21 Feb 2003 04:07:54 -0500 (EST)
- References: <200302201013.FAA11260@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
This may help: In[1]:= 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 physik.uni-regensburg.de> To: mathgroup at smc.vnet.net 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 > >
- References:
- Changing style in Plot
- From: Thomas Manz<thomas.manz@physik.uni-regensburg.de>
- Changing style in Plot