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.

Placing ThingsPlacing and rotating <strong>PSTric</strong>ks objects\psdots[linecolor=red,dotsize=0 5](2,1)\rput[bl](2,1){\Large\color{Blue} point}\rput[br](2,1){\Large\color{Green} point}\rput[tl](2,1){\Large\color{Cyan} point}\rput[tr](2,1){\Large\color{Magenta} point}210point pointpoint point0 1 2 3 4Placing and rotating T E X objectsPutting labels\psdots[linecolor=red,dotsize=0 5](2,1)\rput[bl]{45}(2,1){\Large\color{Blue} point}\rput[br]{45}(2,1){\Large\color{Green} point}\rput[tl]{45}(2,1){\Large\color{Cyan} point}\rput[tr]{45}(2,1){\Large\color{Magenta} point}210point pointpoint point0 1 2 3 4The combinations Br and Bl can also be used. (Try them!)The picture below shows those points on the textbox placed at the specifiedpoint for various positional arguments to the \rput command:pointttltrlrBlBrThus the full syntax of the command isblBb\rput[boxpoint]{angle}{coordinates}{text}Since the pure graphic objects produced by <strong>PSTric</strong>ks are zero-dimensionalT E X boxes, the boxpoint argument is redundant for placing such objects.As an example, let’s see how we can put labels on the pie-chart drawn inthe last chapter:brOnline L A T E X TutorialPart II – Graphics<strong>PSTric</strong>ksE 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£ ¡ ¢ ¤ ¥ ¦ © 12/22

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

Saved successfully!

Ooh no, something went wrong!