12.07.2015 Views

graphics with PSTric..

graphics with PSTric..

graphics with PSTric..

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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Plotting Tricks\psset{unit=0.5}\begin{pspicture}(-7,-2)(7,2)\psgrid[gridcolor=Apricot,%gridlabelcolor=Mahogany,%subgridcolor=Apricot,%gridlabels=8pt]\psplot[xunit=0.0174,%plotstyle=curve,%linecolor=Blue]%{-360}{360}{x sin}\end{pspicture}-7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7Sometimes, the relation between the x and y coordinates of points ona curve are not specified directly as an equation connecting x and y, butinstead as an a pair of equations giving x and y in terms of a third parametert. For example,x =y =210-1-2t1 + t 2t31 + t 2The graph of this function for −3 ≤ t ≤ 3 can be drawn as shown below:Function plottingAxes of coordinatesData plottingOnline L A TEX TutorialPart II – Graphics<strong>PSTric</strong>ksE 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£ ¡ ¢ ¤ ¥ ¦ © 7/31

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

Saved successfully!

Ooh no, something went wrong!