chaco.examples.demo.simple_line module

Draw overlapping line plots (Bessel functions)

Draws overlapping line plots with legends. Some are drawn as lines, some as points only.

Left-drag pans the plot.

Right-drag (in the Y direction) zooms the plot in and out.

Mousewheel up and down zooms the plot in and out.

Pressing “z” brings up the Zoom Box, and you can click-drag a rectangular region to zoom.

Right-drag on the legend allows you to reposition it.

class chaco.examples.demo.simple_line.OverlappingPlotContainer(*args, **kws)

Bases: chaco.plot_containers.OverlayPlotContainer

Simple container for creating a series of plots

class chaco.examples.demo.simple_line.PlotExample

Bases: traits.has_traits.HasTraits