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.

7.1. Function plottingFor a mathematician, analytical geometry serves as a means of translationbetween algebra and geometry: an algebraic equation can be geometricallyrepresented as the curve joining the points <strong>with</strong> coordinates satisfying theequation (called the graph of the equation) (and on the other hand, a curve canbe algebraically represented as an equation specifying the relation betweenthe coordinates of the points on it).Thus for example, the graph of the equation y = x 3 − x for −1.5 ≤ x ≤ 1.5is as shown below:210Plotting TricksFunction plottingAxes of coordinatesData plottingOnline L A TEX TutorialPart II – Graphics<strong>PSTric</strong>ks-1-2-2 -1 0 1 2The package pst-plot contains the command \psplot to draw curves specifiedby such equations. (Throughout the following, we assume that thepackage pst-plot is loaded by the command \usepackage{pst-plot} in thepreamble.) The equation must be written in the PostScript Language. Thusthe above equation is produced byE 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£ ¡ ¢ ¤ ¥ ¦ © 3/31

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

Saved successfully!

Ooh no, something went wrong!