[Matrix-SIG] ezplot problems
Zane Motteler
zcm@llnl.gov
Thu, 22 Jul 1999 09:25:39 -0700
Jeff,
In looking over your output, I think the first error cascaded all
the others.
Mea culpa, mea culpa, mea maxima culpa! Here's a patch that
should fix the problem. Note that a similar patch is needed
in the postscript routine.
***************
*** 508,513 ****
--- 508,515 ----
GistPlotter.Plotter ( "none" , n = _cgm_plotter_, hcp = _cgm_file_)
_win_plotters_ [_cgm_plotter_].set_bytscl (_cmin_, _cmax_)
_set_axis_limits_ ( )
+ if not hasattr (cgm, "win_no") :
+ win_no = _win_plotters_ [_cgm_plotter_]._n
if _cgm_plotter_ != win_no :
_object_list_ [_cgm_plotter_] = _object_list_ [win_no]
if _current_graph_ [_cgm_plotter_] == None :
***************
*** 614,619 ****
--- 616,623 ----
GistPlotter.Plotter ( "none" , n = _ps_plotter_, hcp = _ps_file_)
_win_plotters_ [_ps_plotter_].set_bytscl (_cmin_, _cmax_)
_set_axis_limits_ ( )
+ if not hasattr (ps, "win_no") :
+ win_no = _win_plotters_ [_cgm_plotter_]._n
if _ps_plotter_ != win_no :
_object_list_ [_ps_plotter_] = _object_list_ [win_no]
if _current_graph_ [_ps_plotter_] == None :
Cheers,
Zane
--------------------------------------
Zane C. Motteler
Computer Scientist, LCP, X, and A Divisions
Lawrence Livermore National Laboratory
7000 East Avenue, L-038
Livermore, CA 94550-9234
925/423-2143, FAX 925/423-9969
zcm@llnl.gov