MathGroup Archive 2004

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

Search the Archive

Re: Plot Question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg50740] Re: [mg50675] Plot Question
  • From: "David Park" <djmp at earthlink.net>
  • Date: Sat, 18 Sep 2004 05:49:07 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Dana,

Needs["Graphics`Graphics`"]

Plot[Sin[x], {x, 0, 2*Pi},
    Ticks -> {PiScale, Automatic}];

But, in a case like this, I think it is better to use a Frame and get the
axis and tick values off the curve. Look through Science magazine and see
how many plots you will see with the axes going through the middle of the
plot. I don't think you will see any.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/



Hello. I am trying to find an old post that gave an undocumented feature of
Mathematica. I can't find it in the archives and I have been searching for a
long time.

Someone posted an undocumented feature that would plot the horizontal ticks
in Radians. Does anyone remember that feature?

For example,

Plot[Sin[x], {x, 0, 2*Pi}];

has the tick numbers 1-6 on the horizontal axis.

I have to use

Ticks -> {{0, Pi/2, Pi, (3*Pi)/2, 2*Pi},Automatic}

to give it a more meaningful look.

I would be curious if anyone remembers that undocumented feature in order to
avoid having to add Ticks -> to get variations of Pi.

It sure would seem nice if there was a "quick option" to use variations of
Pi along the x-axis. I understand Mathematica 6 has graphics enhancements,
so maybe this feature will be added "officially." Isn't ver 6. due out about
now?

Thank you very much for your time.

Dana




  • Prev by Date: Re: Please, can someone explain this small function?
  • Next by Date: Re: Plot Question
  • Previous by thread: Plot Question
  • Next by thread: Re: Re: Plot Question