Content-type: text/html
#include<libplot.h> plot_state *plot_newplot (unsigned int x, unsigned int y);
This function is the first call which should be called for a plot. It creates a blank canvas, ready for drawing.
A plot state pointer, which is used by most of the other libplot functions.
#include<libplot.h> plot_state *graph; if((graph = plot_newplot(400, 300)) == NULL){ ... error ... }
plot_addlinesegment.sgml plot_closeline.sgml plot_endline.sgml plot_getraster.sgml plot_newplot.sgml plot_rectangle.sgml plot_setfillcolor.sgml plot_setfontcolor.sgml plot_setfont.sgml plot_setlinecolor.sgml plot_setlinestart.sgml plot_settextlocation.sgml plot_stringwidth.sgml plot_strokeline.sgml plot_writestring.sgml
This documentation was generated for libplot 0.3 by autodocbook (http://www.stillhq.com).
libplot is under development by Michael Still (mikal@stillhq.com). All code is Copyright Michael Still 2002, and is released under the GNU GPL. Code submissions are welcomed. Contact Michael at the address above if you have something you would like to contribute.
There are no known bugs in libplot. If you find one, please contact mikal@stillhq.com and let me know.