MathGroup Archive 2010

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

Search the Archive

Re: A Question About Directive

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111154] Re: A Question About Directive
  • From: Mark McClure <mcmcclur at unca.edu>
  • Date: Thu, 22 Jul 2010 05:42:07 -0400 (EDT)

On Mon, Jul 19, 2010 at 2:10 AM, Kevin J. McCann <kjm at kevinmccann.com> wrote:
> I have noticed the use of Directive in some of the graphics examples
> from Bob Hanlon, David Park, and others. I am curious about this
> command, since it does not appear to do much that is new.
> ...
> So, what is the benefit of Directive?

Try
Plot[{Cos[x], Sin[x]}, {x, 0, 2 Pi},
 PlotStyle -> Directive[Thick, Red]]
vs
Plot[{Cos[x], Sin[x]}, {x, 0, 2 Pi},
 PlotStyle -> List[Thick, Red]]

Mark McClure


  • Prev by Date: Re: Axes all around
  • Next by Date: Re: Writing to same file from several kernels?
  • Previous by thread: Re: A Question About Directive
  • Next by thread: Re: A Question About Directive