From: Paul B. <ba...@st...> - 2004-08-16 15:38:08
|
Fernando Perez wrote: > Paul Barrett wrote: > >> I found a bug in the Y-axis scaling. See the attached PS file. The >> Y-axis scale should go from 0. to 2.0e-11 (in ergs/cm**2/s/Angstrom). >> Instead it is zeros. Anyone having experience with the scaling code >> want to fix this? >> >> For those interested, this is a section of the far ultraviolet >> spectrum of the variable star SS Cygni (SS Cyg for short) taken by >> NASA's Far Ultraviolet Spectroscopic Explorer (FUSE for short). > > > Well, I actually tried to see it but gv (Fedora Core 2) chokes on the > file: CPU utilization goes to 100% after displaying the axes, labels, > and a tiny bit of the graph. I killed it after a while. > > Are there known problems with the Postscript generated by matplotlib? > Can it produce EPS directly (better for publication)? OK, I've created a patch to work around the 'gv' problem for dense line plots. Attached is a PS file created from this patch. Please test to see if it solves your problem. If it does, I'll commit the patch to CVS. It worked for me on 'ggv'. -- Paul -- Paul Barrett, PhD Space Telescope Science Institute Phone: 410-338-4475 ESS/Science Software Branch FAX: 410-338-4767 Baltimore, MD 21218 |