John Hunter wrote: >>>>>>"Paul" == Paul Barrett <ba...@st...> writes: > > > Paul> I found a bug in the Y-axis scaling. See the attached PS > Paul> file. The Y-axis scale should go from 0. to 2.0e-11 (in > Paul> ergs/cm**2/s/Angstrom). Instead it is zeros. Anyone having > Paul> experience with the scaling code want to fix this? > > Darren Dale posted a small fix related to ticking for exponentially > formatted data to the users list today - you may want to see if that > helps. No, the latest CVS still shows the bug. > Otherwise, if you can send me a tarball which has a script and some > data so I can replicate the bug, I'll take a look. These bugs are > easier to fix if you have something to test against. Attached is the data (FITS) file and the following are the commands that I use to plot the data. You may need to download the pyfits module to access the file. >>> import pyfits >>> from matplotlib.matlab import * >>> fits = pyfits.open('C05302010011alif4ttagfcal.fit') >>> data = fits[1].data.field >>> plot(data('wave'), data('flux')) [<matplotlib.lines.Line2D instance at 0x40da5c4c>] >>> show() Thanks for taking a look at this. -- Paul -- Paul Barrett, PhD Space Telescope Science Institute Phone: 410-338-4475 ESS/Science Software Branch FAX: 410-338-4767 Baltimore, MD 21218