Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: TraditionalForm Plot
Replies: 5   Last Post: Jan 25, 2013 1:34 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Murray Eisenberg

Posts: 2,105
Registered: 12/6/04
Re: TraditionalForm Plot
Posted: Jan 16, 2013 1:39 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


On Jan 14, 2013, at 11:32 PM, Berthold Hamburger <b-hamburger@artinso.com> wrote:

> I just discovered that plotting a function that is in TraditionalForm
> (via postfix //TraditionalForm) results in an empty plot. Is this
> correct, or is this a mistake?



I presume you meant something like the following...

f[x_] := Cos[x]
Plot[f[x] // TraditionalForm, {x, 0, 2 Pi}]

=85 which indeed results in no graph appearing.

But why do that?

If you wish, make the entire Plot cell TraditionalForm; that will work OK -- with a reference to separately defined function f (whether that f was defined in an Input cell that had TraditionalForm or StandardForm) or with the function expression directly embedded as the first argument.

Or, if you wish, make just the definition of your function in TraditionalForm. Then use a StandardForm Plot expression.

---
Murray Eisenberg murray@math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 413 549-1020 (H)
University of Massachusetts 413 55-2838 (W)
710 North Pleasant Street fax 413 545-1801
Amherst, MA 01003-9305









Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.