From octave-maintainers-request at bevo dot che dot wisc dot edu Mon Feb 9 17:28:34 1998 Subject: Design of octave graphics From: Matti Picus To: octave-maintainers at bevo dot che dot wisc dot edu Date: Tue, 10 Feb 1998 01:22:13 +0200 Hi. Note that I would like to move this to octave-maintainers, hope all agree. I also like plotutils. Since our objective is adding general graphics to octave, I think we should try to design a more general graphics class, from which figures, plots (axis, line,...), buttons, text, and other things inherit. Following the lead of VIM (a VI replacement that also has a GUI version) we could declare the member functions in a toolkit-independent file, then include function definitions in toolkit-dependent libraries of thunks. I can't find my Matlab license, but their heirarchy of objects might be a good place to start. At 11:09 09/02/98 +0100, you wrote: > > Hi, > > this weekend I've tried to start with the implementation of a plotting > under plotutils. > > Plotutils seems quite promising (I played with it a little bit), since > you can plot on a generic X drawable (Pixmap or Window). > > What about an abstract Plotter class? Should we try to define such a > thing with a lot of virtual functions that interface to the different > libraries? > > Peter