~ubuntu-branches/ubuntu/intrepid/plplot/intrepid

« back to all changes in this revision

Viewing changes to examples/python/x23

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2006-11-04 10:19:34 UTC
  • mfrom: (2.1.8 edgy)
  • Revision ID: james.westby@ubuntu.com-20061104101934-mlirvdg4gpwi6i5q
Tags: 5.6.1-10
* Orphaning the package
* debian/control: Changed the maintainer to the Debian QA Group

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
 
 
3
# Copyright (C) 2004, 2005  Alan W. Irwin
 
4
# Copyright (C) 2004  Andrew Ross
 
5
#
 
6
# This file is part of PLplot.
 
7
#
 
8
# PLplot is free software; you can redistribute it and/or modify
 
9
# it under the terms of the GNU Library General Public License as published
 
10
# by the Free Software Foundation; version 2 of the License.
 
11
#
 
12
# PLplot is distributed in the hope that it will be useful,
 
13
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
# GNU Library General Public License for more details.
 
16
#
 
17
# You should have received a copy of the GNU Library General Public License
 
18
# along with the file PLplot; if not, write to the Free Software
 
19
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
 
20
 
 
21
 
 
22
# Run all python plplot examples non-interactively.
 
23
 
 
24
# Append to effective python path so that can find plplot modules.
 
25
from plplot_python_start import *
 
26
 
 
27
import sys
 
28
from plplot import *
 
29
 
 
30
# Parse and process command line arguments
 
31
plparseopts(sys.argv, PL_PARSE_FULL)
 
32
 
 
33
# Initialize plplot
 
34
plinit()
 
35
 
 
36
import xw23
 
37
 
 
38
# Terminate plplot
 
39
plend()
 
40