Here are the actual functions:
* graph.show() Shows the graph window * graph.refresh() Clears the graph window and retraces the axes and the grid * graph.setaxes(set) set=1:Enable axes | set=0:Disable axes * graph.setgrid(set) set=0:Disable grid | set=1:Enable grid (points) | set=2:Enable grid (dotted lines) * graph.viewwindow(xmin,xmax,xscl,ymin,ymax,yscl) Sets the window settings * graph.plot(x,y) Draws a point in graphical coordinates * graph.line(x1,y1,x2,y2) Draws a line in graphical coordinates * graph.splot(x,y,type) Draws a special point. Reserved for stat graphs * graph.vmesh(x) Draws a vertical dotted line * graph.hmesh(y) Draws an horizontal dotted line * graph.update() = draw.update() * graph.drawfunc(func[,line=THIN,min=xmin,max=xmax,show=NORMAL]) Draws a "y(x)=" function line=PLOT, THIN or THICK : Type of line min,max : Lower and upper X boundaries. show=NORMAL : Trace a graph as on the Graph application show=SHOWBUFFER : Shows the graph only when the tracing finishes show=KEEPBUFFER : Don't show the graph. You must call graph.update() to show it. * graph.drawinv(func[,line=THIN,min=ymin,max=ymax,show=NORMAL]) Draws a "x(y)=" function min,max : Lower and upper Y boundaries. * graph.drawpol(func,min,max,step[,line=THIN,show=NORMAL]) Draw a "r(th?ta)=" function min,max,step : Start angle, end angle, angle pitch. line,show : Explained in the previous functions. * graph.drawparam(func,min,max,step[,line=THIN,show=NORMAL]) Draw a "x(t),y(t)=" function min,max,step : Start T, end T, T pitch. Important:Declare the function as below: function f1(t) (what you want...) return x,y end * graph.drawstat2v(xdata,ydata[,point=DOT,line=THIN,show=NORMAL]) Draws a simple two-variable graph xdata,ydata : Lists used to trace the graph point : Point type : DOT : dot | LDOT : large dot | SQUARE : square | CROSS : cross | CIRCLE : circle | CIRCLE2 : circle with a cross inside of it line : Line type : PLOT,THIN,THICK * graph.plotfunc(f,table[,point,line,show]) Draws a function using a table. table : X Values * gTbl(start,end,step) Generates a table to use in graph.plotfunc()
If you have suggestions or bug reports, please post them on this topic.