MathGroup Archive 2007

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

Search the Archive

Re: Making sense of Directive[ ]


On May 10, 3:27 am, "Forex Ample" <F... at Ample.com> wrote:
> I stumbled upon the new Directive[ ] function, used to group Graphics
> directives into one compound directive. However, I fail to see what it is
> good for. In every example in the documentation, replacing Directive with
> List seems to produce the exact same results. Anybody got a clue?

Compare:

Plot[{Sin[x], Cos[x]}, {x, 0, 2 Pi},
 PlotStyle -> {Green, AbsoluteThickness[5]}]

Plot[{Sin[x], Cos[x]}, {x, 0, 2 Pi},
 PlotStyle -> Directive[Green, AbsoluteThickness[5]]]

-Rob



  • Prev by Date: graphics
  • Next by Date: Coordinate conversion with Grad
  • Previous by thread: Re: Making sense of Directive[ ]
  • Next by thread: Re: Making sense of Directive[ ]