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.

7.2. Axes of coordinatesOften in mathematical documents, graphs of equations are shown, not <strong>with</strong>the complete coordinate grid, but only <strong>with</strong> the x and y axes as shown below:Plotting TricksFunction plottingAxes of coordinatesData plotting2-2-11-1-21 2Online L A TEX TutorialPart II – Graphics<strong>PSTric</strong>ksWe can draw such axes using \psline, but pst-plot also includes the command\psaxes to draw such axes more conveniently.7.2.1. Drawing the axesThe command\psaxes(x 0 , y 0 )(x 1 , y 1 )(x 2 , y 2 )draws x and y axes <strong>with</strong> the x-axis from x 1 to x 2 and the y-axis from y 1 to y 2<strong>with</strong> the origin (for the axes) at (x 0 , y 0 ); that is, the axes are enclosed in an(imaginary) rectangle <strong>with</strong> opposite corners at (x 1 , y 1 ) and (x 2 , y 2 ) and the axesintersect at (x 0 , y 0 ). This is illustrated in the picture below, where we haveE 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£ ¡ ¢ ¤ ¥ ¦ © 9/31

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

Saved successfully!

Ooh no, something went wrong!