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.

Curvy Tricks4.1. Open and closed curvesTo produce an “open” curve joining specified points (analogous to \psline),we use the \pscurve command. Look at the example below:Open and closed curvesInvisible endsCurve tweakingA new curve54\begin{pspicture}(0,0)(5,5)\pscurve[linecolor=Blue]%(2,1)(1,2)(2,4)%(2.5,2)(4,4)(3.5,2.5)\end{pspicture}32100 1 2 3 4 5Online L A T E X TutorialPart II – Graphics<strong>PSTric</strong>ksAs in the earlier examples, the grid is not drawn by the code shown here.The points specified can be shown in the picture by setting the parametershowpoints to true as shown below:\begin{pspicture}(0,0)(5,5)\pscurve[linecolor=Blue,%showpoints=true]%(2,1)(1,2)(2,4)%(2.5,2)(4,4)(3.5,2.5)\end{pspicture}5432100 1 2 3 4 5E Krishnan, CV Radhakrishnan and AJ Alexconstitute the <strong>graphics</strong> tutorial team.Comments and suggestions may be mailed totutorialteam@tug.org.inc○2002, 2003, The Indian T E X Users GroupThis document is generated by PDFT E X <strong>with</strong>hyperref, pstricks, pdftricks and pdfscreenpackages in an intel PC running GNU/LINUXand is released under LPPLThe Indian T E X Users GroupFloor iii, sjp Buildings, Cotton HillsTrivandrum 695014, indiahttp://www.tug.org.in 3/16

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

Saved successfully!

Ooh no, something went wrong!