Re: problems plotting a derivative
- To: mathgroup at smc.vnet.net
- Subject: [mg54604] Re: problems plotting a derivative
- From: dh <dh at metrohm.ch>
- Date: Thu, 24 Feb 2005 03:21:08 -0500 (EST)
- References: <cvc80j$qqu$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hello J.K., see below J. K. Smith wrote: > I've tried a lot of ways but nothing has worked so far. > The following statements are my problem simplified: > > f[x_] := 2x^3; > ParametricPlot[{D[f[x], x], x^2}, {x, 0, 1}] ParametricPlot has the Attribute "HoldAll". Therefore, either you do the derivative outside the ParametricPlot or you need Evaluate inside ParametricPlot like: ParametricPlot[Evaluate[{D[f[x], x], x^2}], {x, 0, 1}] This works at least on Mathematica 5.1 Sincerely, Daniel -- Daniel Huber Metrohm Ltd. Oberdorfstr. 68 CH-9100 Herisau Tel. +41 71 353 8585, Fax +41 71 353 8907 E-Mail:<mailto:dh at metrohm.ch> Internet:<http://www.metrohm.ch>