MathGroup Archive 2012

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

Search the Archive

Re: List & Plot: do they parse options differently?


Attributes[ListPlot] 
{Protected} 

Attributes[Plot] 
{HoldAll, Protected} 

So:

s = ImageSize -> Small; 
Plot[x, {x, 0, 3}, Evaluate@s] 

This raises the question as to why the Function pages do not list the
Attributes of a function. Users would generally look to the Function page to
understand how to use a routine and the Attributes are important
information. 


David Park
djmpark at comcast.net 
http://home.comcast.net/~djmpark/index.html 


From: James Stein [mailto:james at stein.org] 

I may have temporary blindness, but I fail to see why the call to Plot fails
here:

Clear [ s ] ;
s = ImageSize -> Small;
ListPlot [ {  1, 2, 3 } ,  s ]
Plot [ x,  { x, 0, 3 } ,  s ]




  • Prev by Date: Re: creating a graphic in a text cell
  • Next by Date: Percentage of Primes
  • Previous by thread: Re: List & Plot: do they parse options differently?
  • Next by thread: Re: List & Plot: do they parse options differently?