Monday, May 20, 2013

Draggable graphs

In the climate plotter a large amount of climate data could be plotted on an adjustable scale. There were bars on which you could click to move and expand the graph vertically and horizontally. Curves with different units could be moved independently. This is all based on the HTML5 canvas.

The bars were a bit clunky. I've been experimenting with mouse dragging. I had thought it would be slow, but it isn't. I'm planning to use it routinely in plotting, and for the climate plotter, and to post the code that enables it. Entering different data is easy.

Here's an example which I'll include in the monthly data tracking. It looks like just the last three years of monthly index data, similar to a graph that is currently shown. But it's backed by data back to 1850, which you can see by dragging back, and shrinking the scale if you want.

You can drag with the left button within the plot area. Dragging within the axis mark areas, parallel to the axis, changes the scale of that dimension. Away from the origin expands. If you want to get back to where you started, click the restore button.


  1. Nick, I want to commend you for your efforts. The amount of grief that you take at WUWT is expected. They really have no appreciation for what is involved in research and so lash out against any progress. Keep up the fine work.

  2. Thanks, Web,
    Yes, things get hostile at times. But there are also reasonable people there, and I'm sure the angry commenters are unrepresentative of the general readers.

  3. So, would it be practical to run the updated Briffa proxies through TempLS to create a regional reconstruction?

  4. CCE,
    I'm not sure how well it would work. The area weighting basically needs to have a fairly closed region, otherwise it's rather arbitrary what weight you give to nodes on the edges. But I haven't looked very closely at the Briffa set yet.