Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: different results for Standard vs Prefix forms

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111400] Re: different results for Standard vs Prefix forms
  • From: James Stein <mathgroup at stein.org>
  • Date: Sat, 31 Jul 2010 02:39:30 -0400 (EDT)

Block[{n = 2}, # &@Plot[n x, {x, 1, 2}]]
Fixed that for you! (misplaced brackets)

On Fri, Jul 30, 2010 at 3:55 AM, Yaroslav Bulatov <yaroslavvb at gmail.com> wrote:
> First one works, but second one doesn't, why?
> Block[{n = 2}, Plot[n x, {x, 1, 2}]]
> Block[{n = 2}, #] &@Plot[n x, {x, 1, 2}]
>
>


  • Prev by Date: Re: NDSolve - how to bypass safety chceck?
  • Next by Date: assuming certain properties about variables
  • Previous by thread: different results for Standard vs Prefix forms
  • Next by thread: Re: different results for Standard vs Prefix forms