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.

Graphics <strong>with</strong> <strong>PSTric</strong>ks100 1 2In this and many of the pictures below, we include a “coordinate grid” forconvenience of reference. It is not produced by the code given alongside.In the dashed style, the length of the black and white segments is controlledby the parameter dash Thus dash=3pt 2pt produces dashed line<strong>with</strong> black segments of length 3 pt. and white segments of length 2 pt. Thus\begin{center}\begin{pspicture}(-0.5,-0.5)(2.5,1.5)\psline[linestyle=dashed,dash=2pt 2pt](0,0)(2,0)\psline[linestyle=dashed,dash=2pt 5pt](2,0)(1,1)\psline[linestyle=dashed,dash=5pt 5pt](1,1)(0,0)\end{pspicture}\end{center}Getting the pointsDrawing DotsSimple LinesEnds of LinesBent Lines and PolygonsSimple CurvesOnline L A T E X TutorialPart II – Graphicsgives100 1 2The default value of dash is 5 pt 3 pt. Again, in the dotted style, thedistance between dots is controlled by the parameter dotsep whose defaultvalue is 3 pt.We can also alter the thickness of the lines by changing the value ofthe parameter linewidth which has a default value of 0.8 pt. Look at theexample below:c○2002, 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

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

Saved successfully!

Ooh no, something went wrong!