MathGroup Archive 2012

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

Search the Archive

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


On 9/21/12 at 4:14 AM, james at stein.org (James Stein) wrote:

>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]

Force evaluation of s, i.e.,

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

and the result is what you are likely looking for




  • Prev by Date: Percentage of Primes
  • Next by Date: using built in compiler
  • Previous by thread: Re: List & Plot: do they parse options differently?
  • Next by thread: Manipulate Animate Bookmarks for Demonstration