MathGroup Archive 2011

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

Search the Archive

Re: How to plot derivative directly?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg118103] Re: How to plot derivative directly?
  • From: Wolfgang Windsteiger <Wolfgang.Windsteiger at risc.jku.at>
  • Date: Tue, 12 Apr 2011 05:58:51 -0400 (EDT)
  • References: <inuna0$2au$1@smc.vnet.net>

Dear Jakub,

this is due to

In[3]:= Attributes[Plot]
Out[3]= {HoldAll, Protected}

You must force Mathematica to evaluate the first parameter of Plot 
before Plot goes on processing. The easiest way to accomplish this is an 
explicit "Evaluate":

Plot[Evaluate[D[x^3 - 6 (x + 1) 2 + x - 7, x]], {x, -3, 8}]

Hope this helps,
ciao,
WW.

On 04/11/2011 01:05 PM, ?erých Jakub wrote:
> Plot[D[x3  - 6 (x + 1)2  + x - 7, x],{x,-3,8}]


  • Prev by Date: Re: concatenate matrices?
  • Next by Date: Re: concatenate matrices?
  • Previous by thread: Re: How to plot derivative directly?
  • Next by thread: Re: How to plot derivative directly?