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.

Custom Graphics32Simple customizationHigher level customization100 1 2 3 4As the previous examples show, tweaking the liftpen values is of no usehere, since in all these the curves are connected, one way or the other. Let’sfirst list what we want to do:1. Draw the first curve2. Give instructions to draw thesecond curve, <strong>with</strong> liftpen=1,<strong>with</strong>out actually stroking it,and instructions to fill the regionbetween the curves3. Draw the the second curve<strong>with</strong> liftpen=2, but no filling.We know how to do Steps 1 and 3 above; it’s Step 2 that is tricky; we usethe pair of commands \gsave...\grestore to do the job. Let’s see them inaction:Online 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○2004, 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 17/23

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

Saved successfully!

Ooh no, something went wrong!