Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: Options Question ver 8

  • To: mathgroup at smc.vnet.net
  • Subject: [mg127102] Re: Options Question ver 8
  • From: Dana DeLouis <dana2010 at me.com>
  • Date: Sat, 30 Jun 2012 05:18:18 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

Thank you Bob, and everyone else, for the feedback.
It appears to be only on my system.  ;>(
I believe there are other duplicates as well.
Well, I'll be doing a clean install with the new Mac OS next month, so I won't worry about it now.
Thanks for the feedback.


For the list, I've added Plot and RandomInteger to the end of the list.

v={DensityHistogram,ListPointPlot3D,ProbabilityPlot,
ProbabilityScalePlot,QuantilePlot,SmoothDensityHistogram,
SmoothHistogram,SmoothHistogram3D,
Plot,RandomInteger}


If I modify Bob's code a little, here is the count.

Count[Options[#][[All,1]],Method]& /@v
{2,2,2,2,2,2,2,2,1,0}

As you can see, I still get a count of 2 for the first 8.
My Plot function has just 1 Method option, as it should.
And RandomInteger returns 0 as it should because Method is not an option.


Hmmm.  Very strange.
I'll be doing a clean install next month, so hopefully that will fix it.
Thanks for your feedback.

= = = = = = = = = =
Dana DeLouis
Mac & Math 8
= = = = = = = = = =







On Jun 27, 4:15 am, Bob Hanlon <hanlonr... at gmail.com> wrote:
> On my Mac with Mathematica 8.0.4.0 there are no duplicates of the Method option.
> 
> $Version
> 
> "8.0 for Mac OS X x86 (64-bit) (October 5, 2011)"
> 
> Select[Options[#], #[[1]] === Method &] & /@
>  {DensityHistogram,
>   ListPointPlot3D,
>   ProbabilityPlot, ProbabilityScalePlot,
>   QuantilePlot, SmoothDensityHistogram,
>   SmoothHistogram, SmoothHistogram3D}
> 
> {{Method -> Automatic}, {Method -> Automatic}, {Method ->
>    Automatic}, {Method -> Automatic}, {Method -> Automatic}, {Method ->
>    Automatic}, {Method -> Automatic}, {Method -> Automatic}}
> 
> Bob Hanlon
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On Tue, Jun 26, 2012 at 4:49 AM, Dana DeLouis <dan... at me.com> wrote:
> > Hello.  I was wondering if anyone could explain the following behavior.
> > On my system, (Mac, Ver 8)  if I look at the options for ListPointPlot3D, I see the option for Method listed twice.
> > The code I was working with tried to find symbols with certain options.
> > For example, looking for the option "Method" at the top level, found the option listed twice in the following 8 symbols.
> 
> > {DensityHistogram, ListPointPlot3D, ProbabilityPlot,
> > ProbabilityScalePlot, QuantilePlot, SmoothDensityHistogram,
> > SmoothHistogram, SmoothHistogram3D}
> 
> > For example:
> 
> > Options[ListPointPlot3D]
> 
> > AlignmentPoint->Center
> > etc...
> > Lighting->Automatic
> > Method->Automatic
> > Method->Automatic
> > PlotLabel->None
> > etc...
> 
> > Another...
> 
> > Options[DensityHistogram]
> 
> > AlignmentPoint->Center
> > etc...
> > Method->Automatic
> > Method->Automatic
> > PerformanceGoal:>$PerformanceGoal
> > etc...
> 
> > Again, I am just curious.
> > I see that they are all Plotting functions.   Hmmm ??
> 
> > = = = = = = = = = =
> > Dana DeLouis
> > Mac & Mac 8
> > = = = = = = = = = =
> 
> --
> Bob Hanlon





  • Prev by Date: Re: An easier functional way to divide each Column of matrix by a row vector, element-wise?
  • Next by Date: Re: Book
  • Previous by thread: Re: Options Question ver 8
  • Next by thread: Can someone read these line "aloud"