Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11847 > unrolled thread

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

Started by"djmpark" <djmpark@comcast.net>
First post2012-09-22 07:07 +0000
Last post2012-09-22 07:07 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: List & Plot: do they parse options differently? "djmpark" <djmpark@comcast.net> - 2012-09-22 07:07 +0000

#11847 — Re: List & Plot: do they parse options differently?

From"djmpark" <djmpark@comcast.net>
Date2012-09-22 07:07 +0000
SubjectRe: List & Plot: do they parse options differently?
Message-ID<k3jo2l$2ch$1@smc.vnet.net>
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@comcast.net 
http://home.comcast.net/~djmpark/index.html 


From: James Stein [mailto:james@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 ]

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web