Re: Graphing in Radians
- To: mathgroup at smc.vnet.net
- 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: Needs["Graphics`Graphics`"] 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. ==== [MESSAGE SEPARATOR] ====