/****************************************************************************/ /* (C) Copyright 1993 Universidade Estadual de Campinas (UNICAMP) */ /* Campinas, SP, Brazil */ /* */ /* This file can be freely distributed, modified, and used for any */ /* non-commercial purpose, provided that this copyright and authorship */ /* notice be included in any copy or derived version of this file. */ /* */ /* DISCLAIMER: This software is offered ``as is'', without any guarantee */ /* as to fitness for any particular purpose. Neither the copyright */ /* holder nor the authors or their employers can be held responsible for */ /* any damages that may result from its use. */ /****************************************************************************/ /* Plotting the graph of a 1-argument function. */ #ifndef FLTGRAPH_H #define FLTGRAPH_H #include #include #include void fltgraph_plot( FILE *psfile, Float f (Float x), Interval xd, Interval yd, int m ); /* Draws the graph of $f(x)$ for $x \in xd$. Assumes $*psfile$ is a Postscript output file, properly initialized by $plt0$ for a $xd \x yd$ plot. The graph is approximated by $m$ straight segments. */ void fltgraph_draw_axes( FILE *psfile, Interval xd, Interval yd ); /* Draws the coordinates axes. Assumes $*psfile$ is an output Postcript file, properly initialized by $plt0$ for a $xd \x yd$ plot. */ #endif