Saturday, July 24, 2010

poor small chart

Copperbox revision 1531.

I think I've finally worked out a composition mechanism for chart elements - axes, border, grids and of course the data.

type BivariateGraphic ux uy = Bivariate ux uy -> DGraphic

This type is basically equivalent of the GraphicF type in Wumpus-Basic:

type GraphicF u = Point2 u -> Graphic u

But the BivariateGraphic type supplies the scaling context rather than just the initial point.

Blog Archive

About Me

My photo
Disambiguating biog as there are a few Stephen Tetley's in the world. I'm neither a cage fighter or yachtsman. I studied Fine Art in the nineties (foundation Bradford 1992, degree Cheltenham 1992 - 95) then Computing part-time at Leeds Met graduating in 2003. I'm the Stephen Tetley on Haskell Cafe and Stackoverflow.