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 Things\begin{pspicture}(-4,0)(4,3)\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)\rput[b]{300}(1.5;120){%\uput[d](0,0){\color{Red}%\textit{incident ray}}}\rput[b]{60}(1.5;60){%\uput[d](0,0){\color{Red}%\textit{reflected ray}}}\end{pspicture}incident rayreflected rayNow we can give the complete code for the first picture of this chapter,labels and all:Placing and rotating <strong>PSTric</strong>ks objectsPlacing and rotating T E X objectsPutting labelsOnline 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£ ¡ ¢ ¤ ¥ ¦ © 21/22

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

Saved successfully!

Ooh no, something went wrong!