[pstricks] inverse functions

E. Krishnan ekmath at md5.vsnl.net.in
Tue Sep 30 14:55:34 CEST 2003


On Mon, 29 Sep 2003, Bhaskaracharya Pratishthana wrote:

> Presently I tried \parametricplot{0}{180}{t cos t}
> with pst-plot.sty

"\parametricplot" is a command available in the package "pst-plot". SO, 
the package you loaded is just what you need. You may have come across 
problems, since by default, the x and y coordinates are measured in the 
same unit (1cm) in pstricks. SO, to "see" the graph either scale down the 
y-coordinate (which measures the angle here) by 0.0174 (=pi/180) as in
	
	\psset{yunit=0.0174cm}
  	\parametricplot{-90}{90}{t sin t}

or plot angles in radians my multiplying the angle in the range by 0.0174 
and that in the function argument by 57.2958 (=180/pi)

	\parametricplot{-1.5708}{1.5708}{57.2958 t mul sin t}

both give the same result. All these are explaines in Chapter 7 of the 
PSTricks Tutorial at sarovar.org.

By the way, the domain of arcsin is (-\pi/2,pi/2) and *not* (0,\pi) as 
you'd given. 

-- 
Krishnan





More information about the PSTricks mailing list