Re: [Matplotlib-users] PS and imshow

2007-08-31 Thread Petr Danecek
OK, I've got it. Previously, I checked the quality of the output image by two means: by visual inspection in gv and by checking the size of the output eps images. I was puzzled by the different sizes of the images at magnification 1. Also, convert produces much larger eps files. When the size of

Re: [Matplotlib-users] PS and imshow

2007-08-29 Thread Petr Danecek
In fact, the dpi option does change the resulting PS file, but the quality is still very poor - see the example http://www.ucl.cas.cz/~petr/matplotlib-test.tgz pd On Fri, 2007-08-24 at 20:03, Jouni K. Seppänen wrote: > I just tried with current svn, and the following script produces two

[Matplotlib-users] PS and imshow

2007-08-24 Thread Petr Danecek
ce 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.

Re: [Matplotlib-users] parameters to pylab routines

2007-01-24 Thread Petr Danecek
The correct answer is bellow, sorry for bothering. petr On Wed, 2007-01-24 at 14:55, Petr Danecek wrote: > Hello, > in the code bellow i am trying to achieve a very simple thing: I'd like > to call the routine "annotate" to place a text on my plot with arguments

[Matplotlib-users] parameters to pylab routines

2007-01-24 Thread Petr Danecek
Hello, in the code bellow i am trying to achieve a very simple thing: I'd like to call the routine "annotate" to place a text on my plot with arguments supplied by means of a dictionary. Is there a way how to do this? Petr from pylab import * fig = figure() ax =

Re: [Matplotlib-users] title and colorbar size

2007-01-03 Thread Petr Danecek
Eric, John - thanks for your tips, it works! petr On Tue, 2007-01-02 at 21:01, Eric Firing wrote: > John Hunter wrote: > Examples of the shrink kwarg are examples/image_masked.py and > examples/contour_demo.py. > > As an alternative to using the shrink kwarg you can always specify axes > positi

[Matplotlib-users] title and colorbar size

2007-01-02 Thread Petr Danecek
Hello, i'd like to ask two questions: 1) Is it possible to control amount of space between title and graph? 2) When set_aspect() is used, the size of colorbar does not respect y-dimension of the graph. (See the attached example.) Is it possible to set the size of the colorbar directly?

Re: [Matplotlib-users] contours & polar?

2006-12-29 Thread Petr Danecek
Beautiful! The grid lines must be drawn manually? On Thu, 2006-12-28 at 13:32 -0700, Jeff Whitaker wrote: > Here's a slightly prettier version of my previous example: > > from pylab import * > deltatheta = 2.*pi/100. > theta = arange(0.,2.*pi+0.5*deltatheta,deltatheta) > R = arange(0.,pi,deltathe

[Matplotlib-users] contours & polar?

2006-12-28 Thread Petr Danecek
ement it? Kind regards, Petr Danecek - 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