From: Wayne E. H. <wh...@pa...> - 2007-10-08 00:06:28
|
I would like to follow up on my first response to Bill. It probably should be a new thread, but I'll start here. When png files are saved with a DPI=300 argument, and I open them in the Gimp, the dpi is only 72 (default ?). As I understand it, the dpi setting in the graphics file tells the application opening it how big to display it. When I use savefig with a DPI=300 and the plot figure I am saving was created with figsize=(6,4.5) I expect the figure to open in word or swriter at the size I specified (6" by 4.5") with the appropriate number of pixels. However, at present, that does not happen. The number of pixels in the figure is correct but I have to resize it manually to get the right size. Can this be fixed ? Thanks, Wayne Bill Dandreta wrote: > I resolved the problem. It was unrelated to mpl. xv and gimp were > complied w/o png support. Recompiling with png support resolved the problem. > > |