From: Joao C. <jc...@us...> - 2001-11-28 23:40:16
|
Update of /cvsroot/plplot/plplot/bindings/octave/demos In directory usw-pr-cvs1:/tmp/cvs-serv407/bindings/octave/demos Modified Files: plplot_octave_demo.m x01c.m x02c.m x03c.m x04c.m x05c.m x06c.m x07c.m x08c.m x09c.m x10c.m x11c.m x12c.m x13c.m x14c.m x15c.m x16c.m x17c.m x18c.m Log Message: Now the individual example script files look for the existence of global variables "device" and "file" and use them if defined. By default, "xwin" is used. To use the Octave examples the same way as the pythomdemos or tcldemos, however, plinit() and plend() should be conditionaly executed in each script, e.g., if (!exist("device")) plinit end The same for plend(). This way, the script files can be used by itself or called from a main octavedemo script file that does the plinit() and plend(). |