/* Plotting graph of a 1-argument function with interval arithmetic. */ /* Last edited on 2003-07-29 22:19:34 by stolfi */ #ifndef iagraph_H #define iagraph_H #include #include #include void iagraph_plot ( FILE *psfile, Interval f (Interval x), Interval xd, Interval yd, int n ); /* Writes to {psfile} a PostScript plot of the graph of f(x), computed on {n} equal sub-intervals in {xd}. Specifically, for each sub-interval {xi}, plots the box {(xi,f(xi))}. Y intervals are clipped to {yd}. Assumes that {psfile} has been properly initialized for a plot with the given coordinate ranges. */ #endif