Maybe someone already answered, but if not, the answer is the pylab
clim() function, or directly using the image or collection set_clim()
method. Simple example for you to try using the ipython -pylab environment:
contourf(rand(20,30))
clim(-1, 2)
Eric
Sebastian Krieger wrote:
> Hi everybody!
[EMAIL PROTECTED] wrote:
> Hi, list:
>
> In my quest to create MPL plots for insertion into Word documents, I
> tried post-script (doesn't work well - Word doesn't like the ps file
> created by MPL), pdf (can't create more then 8 plots per job and can
> not import into word), png (works but each p
On Thu, 10 May 2007 15:51:09 -0700 (PDT) [EMAIL PROTECTED] apparently wrote:
> png (works but each plot needs to be magified manually
> before saving)
Use the figsize argument.
Cheers,
Alan Isaac
-
This SF.net email is
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, matp
Hi, list:
In my quest to create MPL plots for insertion into Word documents, I tried
post-script (doesn't work well - Word doesn't like the ps file created by MPL),
pdf (can't create more then 8 plots per job and can not import into word), png
(works but each plot needs to be magified manually
It is working great if I just use .eps
Thanks guys.,,
On Thu, May 10, 2007 at 03:22:20PM -0400, Darren Dale wrote:
> On Thursday 10 May 2007 02:39:51 pm Troels Kofoed Jacobsen wrote:
> > I want to make some good vector graphs to include in LaTeX.
> >
> > I use
> > backend : PS
> > ps.pa
I have updated the "Using Python for Interactive Data Analysis"
tutorial to use numpy instead of numarray (finally!). There are
further improvements I would like to make in its organization and
formatting (in the process including suggestions others have made to
that end), but I'd rather ge
On Thursday 10 May 2007 02:39:51 pm Troels Kofoed Jacobsen wrote:
> I want to make some good vector graphs to include in LaTeX.
>
> I use
> backend : PS
> ps.papersize : auto
> ps.usedistiller : xpdf
>
> My problem is that when i export the graphs [savefig('test')] the
> exported g
On Thu, 10 May 2007, Troels Kofoed Jacobsen apparently wrote:
> My problem is that when i export the graphs
> [savefig('test')]
savefig('test.eps') always works fine for me...
Cheers,
Alan Isaac
-
This SF.net email is
I want to make some good vector graphs to include in LaTeX.
I use
backend : PS
ps.papersize : auto
ps.usedistiller : xpdf
My problem is that when i export the graphs [savefig('test')] the
exported graph is in the middle of a large page, which isn't suitable
for inclusion in L
Good news. When the next "production" version will be released?
Le Jeudi 10 Mai 2007 15:47, John Hunter a écrit :
> I recently added legend support for polar to matplotlib svn.
>
> JDH
>
> -
> This SF.net email is sponsored b
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
Paul,
Paul Ray wrote:
>
> On May 10, 2007, at 11:05 AM, Werner F. Bruhin wrote:
>
>> Should you have a small matplotlib script which shows the problem
>> I'll give it a try on my setup (XP or Vista with Python 2.5 and numpy.
>
> No need for a script. "import pylab" produces the error.
No problem
I reuse a Basemap instance to reduce processing time. What I do is
basically:
1. Remember all items I added to the map
2. Remove all items I don't want to keep
I use a list for every category of items (contoursets, clabels, texts,
...), as the way to remove them is slightly different.
Then I re
On May 10, 2007, at 11:05 AM, Werner F. Bruhin wrote:
> Should you have a small matplotlib script which shows the problem
> I'll give it a try on my setup (XP or Vista with Python 2.5 and numpy.
No need for a script. "import pylab" produces the error.
If you are using Windows XP, Python 2.5,
Hi Paul,
Paul Ray wrote:
>
> On May 10, 2007, at 10:34 AM, Werner F. Bruhin wrote:
>
>> What backend are you using?
>>
>> If you use wxPython then as of 0.87.? something you need to either
>> use wxPython 2.6 Unicode or rename the following file:
>
> I'm not 100% sure. We certainly didn't inten
On May 10, 2007, at 10:34 AM, Werner F. Bruhin wrote:
> What backend are you using?
>
> If you use wxPython then as of 0.87.? something you need to either
> use wxPython 2.6 Unicode or rename the following file:
I'm not 100% sure. We certainly didn't intentionally use wxPython,
since I don
On 5/10/07, Nils Wagner <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> How can I increase the distance between the title and the spy plot ?
>
> I have used
>
> figure(1)
> subplot(121)
> spy(M_bc)
> title(r'$M_{red}$')
> subplot(122)
> title(r'$K_{red}$')
> spy(K_bc)
>
You can set the "y" attribute of t
Hi Paul,
Paul Ray wrote:
> Hi,
>
> A colleague of mine uses Python on Windows. When he upgraded to
> matplotlib 0.90 (from 0.82, I think) he started getting an import
> error when importing pylab. We tried many combinations and the only
> thing that fixed it was downgrading back to 0.82.
>
Hi,
A colleague of mine uses Python on Windows. When he upgraded to
matplotlib 0.90 (from 0.82, I think) he started getting an import
error when importing pylab. We tried many combinations and the only
thing that fixed it was downgrading back to 0.82.
We tried:
python2.4 and python2.5
num
On Tuesday 08 May 2007 20:55, Jeff Whitaker wrote:
> Jesper: You might consider just deleting the figure elements that you
> don't want to re-use (instead of figuring out everything you do want to
> re-use).
I have an axes instance on which I have plotted my map decorations
(coastlines, meridian
On 5/10/07, Lionel Roubeyrie <[EMAIL PROTECTED]> wrote:
> It's PyQt3, I hope using PyQt4 in a future release. I'm also going to make
> some changes in the windfreq part, don't sure to keep missing values is good
> for the computation. For the moment, my major problem is the legend, because
> polar
Hi,
> I noticed on your Web Lab website that you suggest to download the
> Enthouhht edition. Although I suggest that to my students for class
> as well, we are currently running into some problems as the latest
> Enthought edition still includes an old numpy (version less than
> 1.0). Som
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
I noticed on your Web Lab website that you suggest to download the Enthouhht
edition. Although I suggest that to my students for class as well, we are
currently running into some problems as the latest Enthought edition still
includes an old numpy (version less than 1.0). Some important changes we
25 matches
Mail list logo