~ubuntu-branches/ubuntu/gutsy/matplotlib/gutsy

« back to all changes in this revision

Viewing changes to examples/simple_plot.py

  • Committer: Bazaar Package Importer
  • Author(s): Michael Bienia
  • Date: 2007-07-31 23:04:56 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070731230456-lfmr0h69yh1i37w1
Tags: 0.90.1-2ubuntu1
* Merge from Debian unstable. Remaining changes:
  + debian/rules:
    - Check only the files for the python version which just got installed
      (fixes FTBFS).
    - Modify Maintainer value to match DebianMaintainerField spec.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
t = arange(0.0, 1.0+0.01, 0.01)
9
9
s = cos(2*2*pi*t)
10
 
plot(t, s)
 
10
plot(t, s, '-', lw=2)
11
11
 
12
12
xlabel('time (s)')
13
13
ylabel('voltage (mV)')