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.

Plotting Tricks\begin{pspicture}(0,0)(5,6)\renewcommand{%\pshlabel}[1]{%\color{Mahogany} #1}\renewcommand{%\psvlabel}[1]{%\color{Mahogany} #1}\psaxes[linecolor=Apricot]%(6,6)\listplot[plotstyle=curve,%showpoints=true,%linecolor=Blue]%{1 1 exch1.5 1.2 exch2 1.6 exch2.5 2.3 exch3 3.2 exch3.5 4 exch4 4.5 exch4.5 4.8 exch5 5 exch5.5 5 exch}\end{pspicture}6543210••••••••••0 1 2 3 4 5 6Function plottingAxes of coordinatesData plottingOnline L A TEX TutorialPart II – Graphics<strong>PSTric</strong>ksIn fact, the “list” given as an argument to \listplot may even be a PostScriptprogram which generates a sequence of coordinate pairs. Again, as in thecase of \dataplot, we can use the commands \savedata or \readdata <strong>with</strong>\listplot also, as illustrated below:E Krishnan, CV Radhakrishnan and AJ Alexconstitute the <strong>graphics</strong> tutorial team. Commentsand suggestions may be mailed totutorialteam@tug.org.inc○2002, 2003, 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£ ¡ ¢ ¤ ¥ ¦ © 30/31

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

Saved successfully!

Ooh no, something went wrong!