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.

5.3. Another type of coordinatesThe Cartesian (or is it Fermatian?) method of using distances from tworeference lines is not the only way of labeling points in a plane. Anotherdevice mathematicians use is to fix a a point O and a line OA throughit and then label each point P by the distance OP and the angle AOP asshown below:2unitP 2;45More on CoordinatesCoordinate gridsChanging sizeAnother type of coordinatesMore special coordinatesChanging the systemSetting parametersO3unit45 60 ¡Q 3; 45AOnline L A T E X TutorialPart II – Graphics<strong>PSTric</strong>ksIf the distance OP is equal to r and ∠AOP is equal to θ, then r and θ aresaid to be the polar coordinates of P and P is labeled (r , θ). Thus in thepicture above, P has polar coordinates (2, 45) and Q has polar coordinates(3, −60). Note that Q can also be represented as (3, 300) (and P as (2; 405),for that matter).We can specify points using polar coordinates in <strong>PSTric</strong>ks, by invokingthe command\SpecialCoorPolar coordinates are specified as (r;a) where r is the distance and a isthe angle. (Note that the separator is a semicolon and not a comma as inCartesian coordinates.)Polar coordinates are very convenient in certain contexts. Look at theexample below: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£ ¡ ¢ ¤ ¥ ¦ © 10/23

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

Saved successfully!

Ooh no, something went wrong!