[texhax] A PSTricks question
ross at ics.mq.edu.au
Sun Sep 7 12:28:50 CEST 2003
On Sat, 6 Sep 2003, Philip TAYLOR [PC336/H-XP] wrote:
> "Prof. Sudhir R. Ghorpade" wrote:
> > Can someone tell me if there are easy ways to draw the graphs of
> > inverse trigonometric functions using PSTricks?
> > It seems there are no standard commands for arcsin, arccos, arctan,
> > not to mention arcsec, arccosec, arccot.
The PostScript language has some of these: asin, atan
from which you can get all the others by simple trig identities,
mostly involving pi/2 .
Alternatively, to get a graph parametrically (x, acos x)
you could construct instead a graph of (cos y, y)
and reflect it across the line y = x .
That should be quite easy to program in PostScript.
> I'm sure I wrote the inverse trig. functions for plain TeX
> some many years ago, but I can no longer remember the context
What do you mean by this, for Plain TeX ?
Do you mean numerical approximations, using TeX's integer arithmetic;
e.g. a Taylor approximation ?
> in which they were needed! However, I imagine that the code
> is still lurking somewhere on the 'net, so perhaps Google
> will be able to recall what I no longer can ...
> Philip Taylor, RHBNC
> TeX FAQ: http://faq.tug.org/
> TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
More information about the texhax