MathGroup Archive 2003

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

Search the Archive

Re: filled plot on part of x-interval

  • To: mathgroup at smc.vnet.net
  • Subject: [mg44720] Re: filled plot on part of x-interval
  • From: AES/newspost <siegman at stanford.edu>
  • Date: Sat, 22 Nov 2003 02:17:14 -0500 (EST)
  • References: <bpkq29$ch6$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In article <bpkq29$ch6$1 at smc.vnet.net>,
 "David Park" <djmp at earthlink.net> wrote:


> In other words, overall plot options are only picked up from the
> first plot in the DisplayTogether statement. The solution is either put them
> all in the first plot, or remove them from the individual plots and put them
> at the end.

Yes, I agree, and find this rather handy.  

You put into individual plot commands only those style or other options 
that apply to that plot uniquely, and put all the options that apply to 
the entire graphic (including Prolog and Epilog) after the individual 
plot commands in the DisplayTogether command.

I guess it's always a matter of personal preferences, but I find this 
generally makes it easier to get that elusive match between "do what I 
want" and "do what I say" in the coding.

Changing the order of the individual plot commands also makes it easy to 
control layering, i.e. which lines or points are displayed on top of or 
beneath other lines and points.


> The only advantage of DrawGraphics is that instead of dealing with various
> plots and worrying about what options are picked up, you draw the graphical
> elements directly and always put the overall plot options at the end.

Haven't had a chance to try your DrawGraphics package, but I should do 
so.


  • Prev by Date: RE: Error?
  • Next by Date: Re: filled plot on part of x-interval
  • Previous by thread: RE: Re: filled plot on part of x-interval
  • Next by thread: Re: filled plot on part of x-interval