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.

A “closed” curve joining specified points is produced by the \psccurve.(Note the extra c in the middle. It stands for “closed”). The same points inthe above example are used to form a closed curve in the next example:Curvy TricksOpen and closed curvesInvisible endsCurve tweakingA new curve54\begin{pspicture}(0,0)(5,5)\psccurve[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 we know, we can draw infinitely many curves through a set of specifiedpoints. So, what’s the peculiarity of the curve that \pscurve (or\psccurve) produces? Well, it’s like this: if A, B, C are three consecutivepoints of the specified set, then the curve is drawn such that at B (themiddle point), the curve (or more precisely, the tangent to the curve) is perpendicularto the bisector of angle ABC. Perhaps this is better describedby a picture. The picture is a magnified version of the open curve we’vedrawn above <strong>with</strong> the first three points marked as A, B, C and showing thebisector of angle ABC and its perpendicular at B (which you can see is thetangent to the curve at C).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 4/16

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

Saved successfully!

Ooh no, something went wrong!