MathGroup Archive 2004

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

Search the Archive

Re: change PlotStyle in Graphics object after the fact?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg47278] Re: change PlotStyle in Graphics object after the fact?
  • From: "Peter Pein" <no at spam.no>
  • Date: Fri, 2 Apr 2004 03:30:24 -0500 (EST)
  • References: <c4ggg8$3kb$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

"jose flanigan" <jflanigan at netzero.net> schrieb im Newsbeitrag
news:c4ggg8$3kb$1 at smc.vnet.net...
> 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.
>

Show[Graphics[
    {Hue[.6](*other directives go here*), First[pl2]}],
  Frame -> True(*other options*)]

Mathematica Book 2.9.1 in my ed. (The Structure of Graphics)
-- 
Peter Pein, Berlin
StringReplace["petsie at arcand.de",
 Rule@@(ToLowerCase@ToString@Head@#&)/@{William&&S,2b||!2b}]



  • Prev by Date: Re: Overflow --> Abort evaluation
  • Next by Date: Re: Overflow --> Abort evaluation
  • Previous by thread: Re: change PlotStyle in Graphics object after the fact?
  • Next by thread: Re: change PlotStyle in Graphics object after the fact?