On Wednesday 21 February 2007 01:40:59 pm [EMAIL PROTECTED] 
wrote:
> Hi list,
>
> I am still fairly new to Matplotlib.
>
> If I use the default settings, after creating a plot, and save the file, I
> get a .png file that looks really ugly.  However, if I view the plot at the
> screen first (using the show() command), maximized the plot, and then save
> the file, I get a very nice looking .png file.  If I am doing lots of
> plots, obviously I don't want to have to sit there and view each and every
> plots, maximize, save, ...
>
> How can I accomplish this in batch mode?

We could probably be of more help if you posted examples of your "ugly" 
and "nice" pngs. For now I'll take a guess: maybe what you are seeing is an 
effect of the resolution and figure size? You can pass a dpi kwarg to the 
savefig command, or you can set it in your rc settings. Also, you can set the 
figure size by doing "figure(figsize=(x,y))", or you can change the default 
figure size in your rc settings. How does your postscript output look? That 
format would not be influenced by resolution.

Darren

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to