next up previous contents index
Next: Data plotting Up: Getting Started Previous: Coordinate Grids   Contents   Index

Basic Plotting

Because eepic.sty can draw lines of arbitrary length and slope, curves can be approximated by connect-the-dots paths. ePiX renders curves, polygons, and function graphs in this way.

For the moment, ``function'' means ``function of one variable'' (precisely, a double-valued function of a double variable). A function graph depends on the domain and the number of points to use. Each of the commands

  plot(f, t_min, t_max, n);
  polarplot(f, t_min, t_max, n);
  shadeplot(f, t_min, t_max, n);
graphs the function f on the interval [t_min, t_max] by dividing the interval into n subintervals of equal length. The first gives a Cartesian plot, the second a polar plot with bounds in current angular units, the third shades the region between the graph and the horizontal axis. If two functions are given to shadeplot, the region between their graphs is shaded.



Subsections

Andrew D. Hwang 2004-09-04