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)(6.5,5)\renewcommand{%\pshlabel}[1]{%\color{Mahogany} #1}\renewcommand{%\psvlabel}[1]{%\color{Mahogany} #1}\psaxes[linecolor=Apricot]%(6.5,5)\fileplot[linecolor=Blue]%{data1.csv}\fileplot[plotstyle=dots,%linecolor=Red]%{data1.csv}\end{pspicture}0 1 2 3 4 5 6This example also illustrates an advantage of using external files to hold listsof coordinates, namely the re-usability of such lists.Another command available for plotting data from external files is\dataplot. To use this, we must first name a command to read the datafrom the external file using the command \readdata and then use this newcommand as an argument to \dataplot. This is illustrated in the examplebelow:543210•••••••••••Function plottingAxes of coordinatesData plottingOnline L A TEX TutorialPart II – Graphics<strong>PSTric</strong>ksE 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£ ¡ ¢ ¤ ¥ ¦ © 27/31

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

Saved successfully!

Ooh no, something went wrong!