Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*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 2004

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

Search the Archive

change PlotStyle in Graphics object after the fact?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg47253] change PlotStyle in Graphics object after the fact?
  • From: jflanigan at netzero.net (jose flanigan)
  • Date: Thu, 1 Apr 2004 00:03:46 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

I have a number of graphics objects created like

p1=Plot[f[x],{x,-1,1}]
p2=Plot[g[x], {x,-1,2}]

and I was wondering if I can change the PlotStyle on p1 and p2 by
doing something like

p2/.PlotStyle->{new plot style options}

Any ideas?

Thanks in advance.

PS. Please reply to this group. Spammers have destroyed this e-mail
address.


  • Prev by Date: Re: Detecting and handling error messages?
  • Next by Date: make 0*Infinity = 0
  • Previous by thread: Re: Detecting and handling error messages?
  • Next by thread: make 0*Infinity = 0