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.

Graphics <strong>with</strong> <strong>PSTric</strong>ks\begin{center}\begin{pspicture}(0,0)(2,2)\psdot[linewidth=0.1cm,dotsize=1cm 10](1,1)\end{pspicture}\end{center}Getting the pointsDrawing DotsSimple LinesEnds of LinesBent Lines and PolygonsSimple Curvesgiveswhich is a circular disk of diameters 10 × 0.1 + 1 = 2 centimeters. (We’llsoon see better method of drawing such disks). The polygonal dots aresized to have the same area as circles. The dotsize is made to depend onlinewidth since dots are often used in conjunction <strong>with</strong> lines as in arrows(and showpoints which we will discuss later). Note that the dotsize can beset to any absolute value independent of the linewidth by setting the secondnumber of the dotsize parameter to 0.There are parameters determining the dimensions of the other types ofline terminators also, which are given in Table 1.2. In this, width refers to adimension perpendicular to the line and length refers to a dimension in thedirection of the line.The example below illustrates the use of some of these parametersOnline L A T E X TutorialPart II – Graphicsc○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!