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.

1.1. Getting the pointsAny picture is drawn by stringing together appropriate points. How do wespecify the points we need? We’ve a method of specifying each point ina plane using a pair of numbers, thanks to the 17 th century French mathematiciansPierre de Fermat and René Descartes. The method is to fix apair of perpendicular lines (called axes) and label each point <strong>with</strong> the numbersrepresenting its distance from these two points (called coordinates) asshown in the figure below:Graphics <strong>with</strong> <strong>PSTric</strong>ksGetting the pointsDrawing DotsSimple LinesEnds of LinesBent Lines and PolygonsSimple Curves(0,0)3 unit(1.5,0.5)(3,2)2 unitOnline L A T E X TutorialPart II – GraphicsNote that the meeting point of the axes (called the origin) has coordinates(0,0). In order to associate each pair of numbers <strong>with</strong> a unique point, wemake the convention that horizontal distances to the left of the origin andvertical distances below the origin are negative as illustrated 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!