Hi,
I'd like to open a high-quality image (600dpi) in matplotlib, add some
plots and save it as a postscript file. 
It seems that whatever I do, the input image gets scaled down
:-(

The same question was asked year ago. Has any progress been made since
then?
http://sourceforge.net/mailarchive/message.php?msg_id=200608311227.30594.dd55%40cornell.edu

Looking in the code of matplotlib, there is a constant of 72dpi
hardwired everywhere. For instance, backend_ps.py there is the line
        self.figure.dpi.set(72) # ignore the dpi kwarg
Would rising of this value to 600 help?

No offence to developers, I did not even try to understand the code, but
using the number 72 instead of using a variable seems to be a bad
programming practice to me. 
Petr Danecek


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to