[Matrix-SIG] ezplot problems

Jeff Collins collins@seal.aero.org
Wed, 21 Jul 1999 14:53:58 -0700


I am having problems running the examples in the ezplot
manual (example 1, pp 11).  The following is the session
output.  Some of the errors (nf(), in particular) may
be due to previous errors.

LLNLDistribution11 is installed, along with Yorick-1.4.

Am I missing an update to either the manuals or the software?

Thanks,

Jeff



Python 1.5.2+ (#10, Jul  6 1999, 15:06:04)  [GCC 2.7.2.1] on sunos5
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> from Numeric import *
>>> from ezplot import *
Opening Gist graphics.
>>> win("on")
>>> plot (arange(20, typecode=Float) ** 0.5 )
Opening default cgm plotter.
Opening graphics window 0.
>>> plot (arange(20, typecode=Float) ** 1.2)
Opening plot file Ai00.cgm.
>>> cgm ("send")
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python1.5/site-packages/arrayfcns/ezplot.py", line 511, in cgm
    if _cgm_plotter_ != win_no :
UnboundLocalError: win_no
>>> nf()
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python1.5/site-packages/arrayfcns/ezplot.py", line 698, in nf
    cgm ("plot", new_frame = new_frame, window = _cgm_plotter_)
  File "/usr/local/lib/python1.5/site-packages/arrayfcns/ezplot.py", line 497, in cgm
    win_no = _get_win_ (kw ["window"], _CgmError_)
  File "/usr/local/lib/python1.5/site-packages/arrayfcns/ezplot.py", line 429, in _get_win_
    raise error, "There seems to be nothing there!"
CgmError: There seems to be nothing there!
>>> plot (arange(15, typecode=Float) ** 1.2)
>>> cgm("send")
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python1.5/site-packages/arrayfcns/ezplot.py", line 511, in cgm
    if _cgm_plotter_ != win_no :
UnboundLocalError: win_no
>>> ps("send")
Opening plot file Ac00.ps.
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python1.5/site-packages/arrayfcns/ezplot.py", line 637, in ps
    if new_frame == "no" :
UnboundLocalError: new_frame
>>> nf()
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python1.5/site-packages/arrayfcns/ezplot.py", line 698, in nf
    cgm ("plot", new_frame = new_frame, window = _cgm_plotter_)
  File "/usr/local/lib/python1.5/site-packages/arrayfcns/ezplot.py", line 497, in cgm
    win_no = _get_win_ (kw ["window"], _CgmError_)
  File "/usr/local/lib/python1.5/site-packages/arrayfcns/ezplot.py", line 429, in _get_win_
    raise error, "There seems to be nothing there!"
CgmError: There seems to be nothing there!
>>> plot (arange(15, typecode=Float) ** 1.4)
>>> ps("send")
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python1.5/site-packages/arrayfcns/ezplot.py", line 617, in ps
    if _ps_plotter_ != win_no :
UnboundLocalError: win_no
>>>