=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/lib/glib,v retrieving revision 1.9 retrieving revision 1.10 diff -u -p -r1.9 -r1.10 --- OpenXM_contrib2/asir2000/lib/glib 2002/08/04 00:11:25 1.9 +++ OpenXM_contrib2/asir2000/lib/glib 2002/08/08 08:56:31 1.10 @@ -1,5 +1,5 @@ -/* $OpenXM: OpenXM_contrib2/asir2000/lib/glib,v 1.8 2002/08/03 23:59:14 takayama Exp $ */ -/* $Id: glib,v 1.9 2002/08/04 00:11:25 takayama Exp $ */ +/* $OpenXM: OpenXM_contrib2/asir2000/lib/glib,v 1.9 2002/08/04 00:11:25 takayama Exp $ */ +/* $Id: glib,v 1.10 2002/08/08 08:56:31 takayama Exp $ */ /* BUG: this library has not yet been adapted to the new automatic launcher of ox_plot. 2002, Aug, 4. Do not load glib more than twice. @@ -387,5 +387,17 @@ def glib_ps(L) { return PS; } + +/*&usage begin: glib_plot(F) + It plots an object {F} on the glib canvas. + example: glib_plot([[0,1],[0.1,0.9],[0.2,0.7],[0.3,0.5],[0.4,0.8]]); + example: glib_plot(tan(x)); +end: */ +/* bug, xmin, xmax, color should be optional variables. */ +def glib_plot(F) { + Opt = getopt(); + taka_glib_plot(F,Opt); +} + end$