1
"""This example shows how to create a semi-log plot using the `shell` package.
4
# Major library imports
5
from numpy import linspace, exp
7
# Enthought library imports
8
from chaco.shell import semilogy, hold, title, show
12
x = linspace(1, 10, 200)
14
# Create some line plots
15
semilogy(x, exp(x), "b-", name="y=exp(x)", bgcolor="white")
17
semilogy(x, x**x, "r--", name="y=x**x")
18
semilogy(x, x, "g-", name="y=x")
21
title("simple semilog plots")
23
#This command is only necessary if running from command line