Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

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

Search the Archive

Re: Graphing Functions for an idiot

  • To: mathgroup at
  • Subject: [mg27268] Re: Graphing Functions for an idiot
  • From: "Allan Hayes" <hay at>
  • Date: Fri, 16 Feb 2001 03:58:18 -0500 (EST)
  • References: <96asca$>
  • Sender: owner-wri-mathgroup at

Plot[x^3-3x, {x,-2,2}]

We could use an intermediate step:

expr= x^3-3x;
Plot[expr, {x,-2,2}]

Or define a function using


Then use

Plot[f[x], {x,-2,2}]

Allan Hayes
Mathematica Training and Consulting
Leicester UK
hay at
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565

"nsnn" <mailto:dontreply at tothis.ok> wrote in message
news:96asca$6f6 at
> Hi, It's Idiot Here....
> After spending an afternoon with the Mathematica Book, 4th Ed. by S.W. I
> have found that I must be an official Idiot because I cannot figure out
> to do simple graphing of functions.
> Could someone please help me - step by step - realizing that you are
> instructing an idiot who -tried- figuring this out from the book - to
> simple functions.
> Here is an example of what I am looking for:
> Graph the function f(x)=x^3-3x
> I read the section on the command "Plot" and no matter what I do I either
> get a graph that doesn't represent the function I am trying to graph or
> errors.
> Thanks in Advance!
> -rp

  • Prev by Date: Limit[ Sign[],x->Infinity ]
  • Next by Date: numerics
  • Previous by thread: RE: Graphing Functions for an idiot
  • Next by thread: Re: Graphing Functions for an idiot