plot.rb

This demonstration script creates a canvas widget showing a 2-D plot with data points that can be dragged with the mouse.

2-D plot widget demo (called by 'widget')