Wednesday, 10 March 2010

My Own Plotter

This will probably never happen but here are a few notes for the specification of a program that plots charts.

Stop Press: disovered ploticus: http://ploticus.sourceforge.net/doc/Welcome.html.

The inspiration is GnuPlot and my dissatisfaction with it.

What I need is a program that can create graphics for web pages. I need to be able to specify the size in pixels of the complete graphic and of the various elements (axis labels, legends, titles, markers, etc.).

What I don't need is a graphical display.

So here is a very rough draft of an object model. The +, *, ? signs have there usual regular expression meanings, numerals indicate specific counts, ranges have the obvious meaning.

Note that this is an *object* model not a class model. Items indented under another are referred to by the other. Note that this does not capture the interrelationships properly; for instance, the axes referred to by plotter are the same axes as those referred to by series.

plotter
  *chart
    *axis
    *series
      2axis
        
    

No comments:

Post a Comment

Blog Archive

Followers