glib_line
---------

glib_line(X0,Y0,X1,Y1)
     : It draws the line [X0,Y0]-- [X1,Y1] with COLOR

glib_line(X0,Y0,X1,Y1 | COLOR=key0)
     : This function allows optional variables COLOR

Example:

      glib_line(0,0,5,3/2 | color=0xff00ff);

glib_open
---------

glib_open()
     : It starts the ox_plot server and opens a canvas. The canvas size is set to GLIB_CANVAS_X X GLIB_CANVAS_Y (the default value is 400). This function is automatically called when the user calls glib functions.

glib_plot
---------

glib_plot(F)
     : It plots an object F on the glib canvas.

Example 0:

      glib_plot([[0,1],[0.1,0.9],[0.2,0.7],[0.3,0.5],[0.4,0.8]]);

Example 1:

      glib_plot(tan(x));

glib_print
----------

glib_print(X,Y,TEXT)
     : It put a string TEXT at [X,Y] on the glib canvas.

glib_print(X,Y,TEXT | COLOR=key0)
     : This function allows optional variables COLOR

Example:

      glib_print(100,100,"Hello Worlds" | color=0xff0000);

glib_putpixel
-------------

glib_putpixel(X,Y)
     : It puts a pixel at [X,Y] with COLOR

glib_putpixel(X,Y | COLOR=key0)
     : This function allows optional variables COLOR

Example:

      glib_putpixel(1,2 | color=0xffff00);

glib_tops
---------

glib_tops()
     : If Glib_ps is set to 1, it returns a postscript program to draw the picture on the canvas.

References
     print_output

glib_window
-----------

glib_window(XMIN,YMIN,XMAX,YMAX)
     : It generates a window with the left top corner [XMIN,YMIN] and the right bottom corner [XMAX,YMAX]. If the global variable GLIB_MATH_COORDINATE is set to 1, mathematical coordinate system will be employed, i.e., the left top corner will have the coordinate [XMIN,YMAX].

Example:

      glib_window(-1,-1,10,10);