From: Matthew A. <ma...@ph...> - 2007-05-10 23:58:15
|
I was having the same problem, but the recent xpdf thread pointed me to a/the solution. I was able to successfully run your script by outputting as eps instead of ps (which produced truncated output, as you were experiencing). Matt On Thu, 10 May 2007, Johann Cohen-Tanugi wrote: > Well, matplotlib starts with a canvas bigger than my screen (vertically only) > but in the end it seems to resize it so everything fits in. I can see the > whole drawing and the bottom toolbar. Again, saving in png or jpg works > perfectly.... and of course I checked that gv was not cutting the graph when > displaying it. > I just tried to use GTK as a backend, and ipython tells me that there are > "non implemented" errors on my script.... > I attach it here. > thanks! > Johann > > Darren Dale wrote: >> On Wednesday 09 May 2007 12:19:24 pm Johann Cohen-Tanugi wrote: >> >>> I am creating a "big" drawing ( figure(figsize=(16,20)) ), and when I >>> try to save it in eps/ps form, it mishandle the overall size and only >>> save a portion of the drawing. Saving in png or jpg works fine though. >>> Any idea? >>> >> >> On my system, you cant create a figure that is larger than the monitor >> size, unless I use a non-gui backend like agg or ps. It doesnt matter >> whether I save an eps, png, or jpg. Also, make sure your postscript viewer >> is not truncating the page due to an inappropriate page size setting. >> >> Darren >> |