1
"""This example demonstrates creating a contour plot using the chaco
5
# Major library imports
6
from numpy import linspace, meshgrid, sin
7
from scipy.special import jn
9
# Enthought library imports
10
from chaco.shell import show, title, contour
13
# Crate some scalar data
14
xs = linspace(-10,10,200)
15
ys = linspace(-10,10,400)
19
# Create a contour line plot
20
contour(x,y,z, bgcolor="black")
23
title("contour line plot")
25
#This command is only necessary if running from command line