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.

Custom Graphics\renewcommand{\pshlabel}[1]{\small\color{Mahogany}#1}\renewcommand{\psvlabel}[1]{\small\color{Mahogany}#1}\begin{pspicture}(0,0)(4.5,4.5)\colaxes(4.5,4.5)\pscustom[linecolor=Blue]{%\psplot{0}{1.5}{x 2 exp}\gsave\psline(0,2.25)\fill[fillstyle=solid,%fillcolor=Goldenrod]\grestore\gsave\psline(1.5,0)\fill[fillstyle=solid,%fillcolor=Dandelion]\grestore\moveto(1.5,2.25)\psplot{1.5}{2}{x 2 exp}}\end{pspicture}432100 1 2 3 4Simple customizationHigher level customizationOnline L A TEX TutorialPart II – Graphics<strong>PSTric</strong>ksWithin \pscustom, we can also transform the coordinate system in certainways. For example, the command \translate can be used to shift thecoordinate axes (parallel to themselves) to a new point, as in the examplebelow:E Krishnan, CV Radhakrishnan and AJ Alexconstitute the <strong>graphics</strong> tutorial team. Commentsand suggestions may be mailed totutorialteam@tug.org.inc○2004, The Indian TEX Users GroupThis document is generated by PDFTEX <strong>with</strong>hyperref, pstricks, pdftricks and pdfscreenpackages in an intel PC running GNU/LINUXand is released under LPPLThe Indian TEX Users GroupFloor III, SJP Buildings, Cotton HillsTrivandrum 695014, INDIAhttp://www.tug.org.in 20/23

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

Saved successfully!

Ooh no, something went wrong!