From: Benjamin Root
To: Michael Rawlins
Cc: "matplotlib-users@lists.sourceforge.net"
Sent: Tuesday, January 17, 2012 2:02 PM
Subject: Re: [Matplotlib-users] placing colorbar when using subplot command
On Tue, Jan 17, 2012 at 12:37 PM, Michael Rawlins
On Tue, Jan 17, 2012 at 12:37 PM, Michael Rawlins wrote:
>
>
> --
> *From:* Benjamin Root
> *To:* Michael Rawlins
> *Cc:* "matplotlib-users@lists.sourceforge.net" <
> matplotlib-users@lists.sourceforge.net>
> *Sent:* Tuesday, January 17, 2012 10:36 AM
> *Subject:* R
It's a bit of a pain:
xPix = 900
yPix = 600
xSize = 3 #inches
ySize = xSize/xPix*yPix
gcf().set_inches_size(xSize,ySize)
gcf().savefig('test.png',dpi=xSize/xPix)
You can also chance pyplot.rcParams - it's a dictionary of default values.
On 1/17/2012 12:10 PM, Keith Hughitt wrote:
I'd also be i
From: Benjamin Root
To: Michael Rawlins
Cc: "matplotlib-users@lists.sourceforge.net"
Sent: Tuesday, January 17, 2012 10:36 AM
Subject: Re: [Matplotlib-users] placing colorbar when using subplot command
On Tue, Jan 17, 2012 at 9:30 AM, Michael Rawlins
I'd also be interested if anyone has a suggestion for how to save a figure
such that the pixel dimensions of a subplot (e.g. an image) are set.
On Sat, Jan 14, 2012 at 8:57 AM, klo uo wrote:
> I browsed Google, and found mainly outdated code examples (also on scipy
> cookbook) then some 2008 pos
On Tue, Jan 17, 2012 at 9:30 AM, Michael Rawlins wrote:
>
> I'm relatively new to matplotlib. Trying to place a colorbar in a figure.
> The code below, placed in a file and executed with python, draws 4 maps
> using basemap. I've been unable to get a colorbar to show up anywhere on
> the figure. I
I'm relatively new to matplotlib. Trying to place a colorbar in a figure. The
code below, placed in a file and executed with python, draws 4 maps using
basemap. I've been unable to get a colorbar to show up anywhere on the figure.
Ideally I would like the option of placing a colorbar across th
On 1/17/12 3:50 AM, Serhiy Hrechanyy wrote:
>> Yes, they all make squares. Why is it so important the plot be round?
>
> Well, it is definitely not a matter of life or death. Just think that
> round polar plots look a bit nicer.
>
> I haven't tried your workaround solution yet (must do something u
On Mon, 16 Jan 2012 08:18:03 -0600
Benjamin Root wrote:
On Monday, January 16, 2012, Nils Wagner
wrote:
Hi all,
I have filed a ticket for adding a printer button to the
navigation toolbar.
https://github.com/matplotlib/matplotlib/issues/670
I am interested in a wider response.
Any further
I'm using an example from Sandro's Tosi book. I've just modified it to
use random data instead cpu_datas.
But the autoscale doesn't work even if I turn
self.ax.set_autoscale_on(True). Do you have an Idea why?
from pylab import *
import random
import sys
from PyQt4 import QtGui
import numpy as
I'm using an example from Sandro's Tosi book. I've just modified it to
use random data instead cpu_datas.
But the autoscale doesn't work even if I turn
self.ax.set_autoscale_on(True). Do you have an Idea why?
from pylab import *
import random
import sys
from PyQt4 import QtGui
import numpy as
11 matches
Mail list logo