MathGroup Archive 2011

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

Search the Archive

Re: and color via PlotStyle

  • To: mathgroup at smc.vnet.net
  • Subject: [mg118858] Re: and color via PlotStyle
  • From: DrMajorBob <btreat1 at austin.rr.com>
  • Date: Fri, 13 May 2011 06:27:52 -0400 (EDT)

> there has to be a decision made as to whether
> multiple curves represent distinct functions to have distinct
> styles by default or multiple branches of one function to be
> plotted all in the same style.

Already true, and the current solution is to use Evaluate... which cannot  
work if the plot function involves Part, NIntegrate, or anything else that  
can't be evaluated while the argument is symbolic.

Bobby

On Thu, 12 May 2011 03:35:18 -0500, Bill Rowe <readnews at sbcglobal.net>  
wrote:

> On 5/11/11 at 11:13 AM, btreat1 at austin.rr.com (DrMajorBob) wrote:
>
>> At the end of it all, Plot has created a Line object for each curve.
>> (Sometimes more than one Line object for the same curve, but grouped
>> together by curve.)
>
>> There's no reason styles could not be added AFTER the Line objects
>> are created. Yes, of course that means "greater difficulty when
>> creating some plots".... but nothing a slightly smarter Plot could
>> not handle.
>
> I don't disagree with your observation that styles could be
> added after the curves are created. But I don't see how this
> solves anything. Whether styles are set before the curves are
> created or after, there has to be a decision made as to whether
> multiple curves represent distinct functions to have distinct
> styles by default or multiple branches of one function to be
> plotted all in the same style.
>
> One can envision a number of different ways to set the defaults.
> But no matter how they are set, there will always be someone who
> would like the defaults set differently. And no matter how they
> are set, a newer user will get surprised when he tries to plot
> something with a different intent that runs afoul of the pre-set  
> defaults.
>
> To me, rendering styles after the curves are drawn simply moves
> the problem around without really changing anything.
>
> Or perhaps you are suggesting doing away with defaults
> altogether and having a user apply styles after the entire
> graphic is drawn? That would certainly avoid the issue of
> attempting to devine user intent. But it seems to me this would
> also make Plot more time consuming to use.
>
>


-- 
DrMajorBob at yahoo.com


  • Prev by Date: Re: Mathematica handling of on where it saves current open notebook (again)
  • Next by Date: Re: Notebooks windows lost bug
  • Previous by thread: Re: and color via PlotStyle
  • Next by thread: Re: NIntegrate and speed