.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "PLOT_NEWPLOT" "3" "26 May 2003" "" "" .SH NAME plot_newplot \- creates a blank plot ready for drawing .SH SYNOPSIS .nf #include<libmplot.h> plot_state *plot_newplot (unsigned int x, unsigned int y); .fi .SH "DESCRIPTION" .PP This function is the first call which should be called for a plot. It creates a blank canvas, ready for drawing. .SH "RETURNS" .PP A plot state pointer, which is used by most of the other libmplot functions. .SH "EXAMPLE" .nf #include<libmplot.h> plot_state *graph; if((graph = plot_newplot(400, 300)) == NULL){ ... error ... } .fi .SH "VERSION" .PP This documentation was generated for \fBlibplot\fR 0.3 by \fBautodocbook\fR (http://www.stillhq.com). .SH "AUTHOR" .PP \fBlibplot\fR 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. .SH "BUGS" .PP There are no known bugs in \fBlibplot\fR. If you find one, please contact mikal@stillhq.com and let me know.