Re: [matplotlib-devel] dpi-related positioning errors in Agg savefig

2008-04-28 Thread Michael Droettboom
John Hunter wrote: > On Sun, Apr 27, 2008 at 3:14 AM, Eric Firing <[EMAIL PROTECTED]> wrote: > > >> 1) The hline generated by frac is too long with dpi=50. >> > > The problem with the hline appears to be that the width of the line in > the frac has a component that depends on the thickness

Re: [matplotlib-devel] dpi-related positioning errors in Agg savefig

2008-04-27 Thread Eric Firing
John Hunter wrote: > On Sun, Apr 27, 2008 at 12:56 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > >> The plot thickens. The postscript backend is completely confused by the >> quiver plot. Try the attached example. > > > Argg, that was a subtle one -- there was a bug in backend ps which was > e

Re: [matplotlib-devel] dpi-related positioning errors in Agg savefig

2008-04-27 Thread John Hunter
On Sun, Apr 27, 2008 at 8:28 PM, John Hunter <[EMAIL PROTECTED]> wrote: > Argg, that was a subtle one -- there was a bug in backend ps which was > exposed only if you are using a path collection with offsets, > transoffset and clippath and cliprect both None. In that scenario, > the translat

Re: [matplotlib-devel] dpi-related positioning errors in Agg savefig

2008-04-27 Thread John Hunter
On Sun, Apr 27, 2008 at 12:56 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > The plot thickens. The postscript backend is completely confused by the > quiver plot. Try the attached example. Argg, that was a subtle one -- there was a bug in backend ps which was exposed only if you are using a pa

Re: [matplotlib-devel] dpi-related positioning errors in Agg savefig

2008-04-27 Thread John Hunter
On Sun, Apr 27, 2008 at 3:14 AM, Eric Firing <[EMAIL PROTECTED]> wrote: > 1) The hline generated by frac is too long with dpi=50. The problem with the hline appears to be that the width of the line in the frac has a component that depends on the thickness thickness = state.font_output.get_u

Re: [matplotlib-devel] dpi-related positioning errors in Agg savefig

2008-04-27 Thread Eric Firing
Eric Firing wrote: John, I made some more changes in quiver, and I think they will ensure that dpi changes are handled correctly as far as arrows are concerned, both in the plot and in the key. There is still a problem with the key label, and it can be seen clearly in the attached slight m

Re: [matplotlib-devel] dpi-related positioning errors in Agg savefig

2008-04-27 Thread Eric Firing
John, I made some more changes in quiver, and I think they will ensure that dpi changes are handled correctly as far as arrows are concerned, both in the plot and in the key. There is still a problem with the key label, and it can be seen clearly in the attached slight modification of quive

Re: [matplotlib-devel] dpi-related positioning errors in Agg savefig

2008-04-26 Thread Eric Firing
John, Thank you very much--that's a big help. Some time today or tomorrow I will try to track down any remaining quiver problems. I suspect similar dpi-related problems may lurk elsewhere as well. Those lazy values worked pretty well! One of the things that puzzles me is the following method

Re: [matplotlib-devel] dpi-related positioning errors in Agg savefig

2008-04-26 Thread John Hunter
On Sat, Apr 26, 2008 at 2:04 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > The attached script, run on svn mpl, illustrates a positioning problem: note > that the subplot titles are badly positioned in the 50 dpi version. I > believe that changing from 150 to 50 dpi should yield a perfect scaling