SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] Figure legend position mismatch on screen and PDF

From: Gökhan S. <gok...@gm...> - 2010年10月22日 16:04:33
On Thu, Oct 21, 2010 at 11:43 AM, Jouni K. Seppänen <jk...@ik...> wrote:
> Gökhan Sever <gok...@gm...> writes:
>
>> Please see the screenshot at
>> http://img225.imageshack.us/img225/1052/legendposition.png
>
> Can you make a self-contained test case?
>
> --
> Jouni K. Seppänen
> http://www.iki.fi/jks
Hi Jouni,
I have 4 simple test cases now. Please see
http://gandalf.aero.und.edu/~gsever/pdf_tests/ for the script and
saved png-pdf files.
Using Qt4Agg and xpdf as distiller as I previously noted.
Case 1:
With legend frame. Legend position is slightly different on screen and
saved files.
Note also I adjust subplot positions.
Case 2:
Without legend frame. Same as Case 1. (Using default adjustment)
Case 3:
With legend frame. Using "Test Data1" and "Test Data2" as legend text.
Case 1 results still hold. Plus relative text position within legend
frame is different in png and pdf files. (Subplots adjusted)
Case 4:
Using "Test Data1" and "Test Data2" as legend text. Case 1 results
apply. Again there is minute difference between text positions in PDF
and PNG files.
Hope these are all clear, and reproducible on your side. Let me know
how it goes on your side.
Thanks.
-- 
Gökhan

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /