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\begin{pspicture}(-4,0)(4,5)\SpecialCoor\psline[linecolor=Tan,%linewidth=2pt]%(-4,0)(4,0)\psline[linecolor=Blue,%linewidth=0.4pt,%arrowsize=3pt 4]{->}%(3;120)(0,0)\psline[linecolor=Blue,%linewidth=0.4pt,%arrowsize=3pt 4]{->}%(0,0)(3;60)\psline[linecolor=Tan,%linewidth=2pt,%linestyle=dotted]%(0,0)(0,4)\uput[120]{300}(3;120){%\color{Red}\textit{incident ray}}\uput[60]{60}(3;60){%\color{Red}\textit{reflected ray}}\end{pspicture}incident rayreflected rayPlacing and rotating T E X objectsPutting labelsOnline L A T E X TutorialPart II – Graphics<strong>PSTric</strong>ksSometimes for the correct placement of labels, a combination of \rput and\uput maybe the easiest solution, as in the next example: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£ ¡ ¢ ¤ ¥ ¦ © 20/22

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

Saved successfully!

Ooh no, something went wrong!