From: Torsten B. <br...@ph...> - 2005-07-07 08:13:58
|
Hallöchen! Eric Firing <ef...@ha...> writes: > [...] > > This looks to me like a place where you should try using masked arrays > instead of NaN. Every time when I pass a masked array to set_xdata() I get an error "MA.MA.MAError: Mask and data are not compatible". See http://www-users.rwth-aachen.de/torsten.bronger/hall.py for the code that provokes this error. The "plot" command works: It produces a plot with the desired gap (realised by the masked array). However, the first line.set_xdata(x_values) fails, although I even didn't change the x_values. Tschö, Torsten. -- Torsten Bronger, aquisgrana, europa vetus |