[Date Index] [Thread Index] [Author Index]
Re: filled plot on part of x-interval
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.