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


Groups > comp.soft-sys.math.mathematica > #11843

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

From Bill Rowe <readnews@sbcglobal.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: List & Plot: do they parse options differently?
Date 2012-09-22 06:52 +0000
Message-ID <k3jn82$299$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


On 9/21/12 at 4:14 AM, james@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

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: List & Plot: do they parse options differently? Bill Rowe <readnews@sbcglobal.net> - 2012-09-22 06:52 +0000

csiph-web