[pstricks] drawing inverses
Salvatore Vassallo
salvatore.vassallo at unicatt.it
Sun Jun 11 23:30:29 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thushyanthan Baskaran ha scritto:
>
> Hi,
>
> I would like to draw a function and its inverse together on a graph.
> However, since my original function cannot be solved explicitly for the
> dependent variable, I do not have an explicit function that I could use
> with psplot. Is there any other solution for drawing inverses?
>
> Many thanks in advance,
>
> Thushy Baskaran
It suffices to plot, using parametricplot (f(t),t), i.e., for example,
\psplot[linecolor=red]{0}{2}{x x x mul mul x 1 mul add }
\parametricplot[linecolor=blue]{0}{10}{t t t mul mul t 1 mul add t }
\psline[linestyle=dashed](0,0)(8,8)
Salvatore Vassallo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
iD8DBQFEjItv/JpdGtW2ilcRAsVwAKCIyhrj+t0nVz+mwSD2v9alMa+kGgCePZV9
q84IxJNe/ExxlzS0mlP5TCI=
=FkmS
-----END PGP SIGNATURE-----
More information about the PSTricks
mailing list