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}\end{pspicture}In general, the command\fileplot[parameters]{filename}5432100 1 2 3 4 5 6can be used to plot the graph connecting the points <strong>with</strong> coordinates listed inthe file <strong>with</strong> name \textit{filename}, contained in the working directory.The file should only contain the coordinates and perhaps comments marked<strong>with</strong> % and nothing else. The numbers can be delimited by white space,commas, parentheses ( ) or curly braces, { }. (In the example above, bothwhite spaces and commas are used).The \fileplot command recognizes only the line, polygon and dotsstyles of plotting. Also, it ignores the parameters arrows, linearc andshowpoints parameters. However , we can display the points plotted byincluding a second \fileplot <strong>with</strong> plotstyle=dots as shown below: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£ ¡ ¢ ¤ ¥ ¦ © 26/31

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

Saved successfully!

Ooh no, something went wrong!