12.07.2015 Views

graphics with PSTric..

graphics with PSTric..

graphics with PSTric..

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Plotting Tricks\begin{pspicture}(-2,-2)(2,2)\psgrid[gridcolor=Apricot,%gridlabelcolor=Mahogany,%subgridcolor=Apricot]%(-2,-2)(2,2)\parametricplot[plotstyle=curve,%linecolor=Blue]%{-2}{2}%210-1{t t 2 exp 1 add div t 3 expt 2 exp 1 add div}-2\end{pspicture} -2 -1 0 1 2The parametric plot provides an easy method to draw inverse functions.The example below shows how we can plot the inverse sine function:Function plottingAxes of coordinatesData plottingOnline L A TEX TutorialPart II – Graphics<strong>PSTric</strong>ks2\begin{pspicture}(-2,-2)(2,2)\colgrid\parametricplot[linecolor=Blue]%{-1.5708}{1.5708}%{57.2958 t mul sin t}\end{pspicture}Note the multiplication by 57.2958 = 180˙ A-1-2-2 -1 0 1 2for conversion to radians.10E Krishnan, CV Radhakrishnan and AJ Alexconstitute the <strong>graphics</strong> tutorial team. Commentsand suggestions may be mailed totutorialteam@tug.org.inc○2002, 2003, The Indian TEX Users GroupThis document is generated by PDFTEX <strong>with</strong>hyperref, pstricks, pdftricks and pdfscreenpackages in an intel PC running GNU/LINUXand is released under LPPLThe Indian TEX Users GroupFloor III, SJP Buildings, Cotton HillsTrivandrum 695014, INDIAhttp://www.tug.org.in£ ¡ ¢ ¤ ¥ ¦ © 8/31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!