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.

4.2. Invisible endsthere’s a third command to form a curve, namely, \psecurve, which drawsa curve through the specified points excluding the first and the last (The ein the middle suggests “endpoints” . Thus the same set of points we usedabove joined using this command gives the picture below:Curvy TricksOpen and closed curvesInvisible endsCurve tweakingA new curve5\begin{pspicture}(0,0)(5,5)\psecurve[linecolor=Blue]%(2,1)(1,2)(2,4)%(2.5,2)(4,4)(3.5,2.5)\end{pspicture}4321Online L A T E X TutorialPart II – Graphics<strong>PSTric</strong>ks00 1 2 3 4 5Now what’s the use of specifying some points, if you are not using themin the picture? The fact is, though \psecurve does not draw the curvethrough the endpoints, it does see them. The invisible end points determinethe shape of the curve at the visible extremities. Look at the example below:E 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 6/16

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

Saved successfully!

Ooh no, something went wrong!