MathGroup Archive 1996

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

Search the Archive

Re: Graphing in Radians

  • To: mathgroup at
  • Subject: [mg2884] Re: [mg2869] Graphing in Radians
  • From: John Fultz <jfultz>
  • Date: Thu, 4 Jan 1996 03:05:39 -0500

> 	Hey, I'm trying to graph some trig some trig functions with 
> mathematica. I've been able to graph them, but I can seem to set the 
> x-axis to measure in radian. Anyone know how to do this? Also, does 
> mathematica by any chance able to figure out the period for a function(or 
> the amplitude for that matter).
> Thanks in advance.
> Jellling

Try loading the Graphics`Graphics` package.  It defines an undocumented
function called PiScale which can be plugged into the Ticks option.  For
example, you can do the following:

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

If you want finer control than this, you have to manipulate the Ticks
option per the instructions in the Mathematica book.

John Fultz
Wolfram Research, Inc.


  • Prev by Date: Re: implicit differentiation
  • Next by Date: Re: Graphing in Radians
  • Previous by thread: Graphing in Radians
  • Next by thread: Re: Graphing in Radians