On Fri, Feb 25, 2011 at 9:15 PM, Yuri D'Elia wrote:
> In the following:
>
> <<<
> import matplotlib as mpl
> import matplotlib.figure
> import matplotlib.backends.backend_agg
>
> fig = mpl.figure.Figure()
> cvs = mpl.backends.backend_agg.FigureCanvasAgg(fig)
> fig.set_size_inches((20,20))
You may use "ngrids" keyword parameter.
i.e.,., nrows_ncols=(3,2), ngrids=5
Regards,
-JJ
On Tue, Mar 1, 2011 at 1:40 AM, Boyle, Jim wrote:
> I am using AxesGrid (from mpl_toolkits.axes_grid1 import AxesGrid) to
> generate multi-panel plots.
> It does very well except I have a problem with a
Hi,
In the following example:
---
import numpy as np
import matplotlib as mpl
mpl.use('Agg')
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(1, 1, 1)
ax.imshow(np.random.random((1024, 1024)), interpolation='nearest')
fig.savefig('test_1.eps')
mpl.rc('text', usetex=True
David, the preferred way to custom plots seems to be passing an Axes
instance to the plotting function. Some tricks allow use of
pylab/pyplot style:
def custom_plot(x, y, axes=None):
...
if axes is None: axes = pyplot.gca()
axes.plot(x, y)
What you don't get this way is the a
Gökhan Sever, on 2011-02-28 11:32, wrote:
> On Mon, Feb 28, 2011 at 10:48 AM, Andrea Crotti
> wrote:
>
> > So since I wanted some space on the borders of my graph, I did this
> > really extremely convoluted thing, which apparently works...
> > I get a 10% more area on each side, but I'm quite sur
Boyle, Jim, on 2011-02-28 08:40, wrote:
> I am using AxesGrid (from mpl_toolkits.axes_grid1 import
> AxesGrid) to generate multi-panel plots. It does very well
> except I have a problem with a blank subplot. I have 5 plots
> to display and the geometry of nrows_ncols=(3,2) produces the
> plot th
On Sun, Feb 27, 2011 at 4:49 PM, David Andrews wrote:
> Hi All,
>
> I'm looking for some suggestions about two problems:
>
> 1) I'm converting some figure generating code from IDL into
> Python/matplotlib. Image attached showing this figure.
> IDL being a functional programming language for the
On Mon, Feb 28, 2011 at 10:48 AM, Andrea Crotti
wrote:
> So since I wanted some space on the borders of my graph, I did this
> really extremely convoluted thing, which apparently works...
> I get a 10% more area on each side, but I'm quite sure there's a better
> way to this, right?
>
> I didn't f
So since I wanted some space on the borders of my graph, I did this
really extremely convoluted thing, which apparently works...
I get a 10% more area on each side, but I'm quite sure there's a better
way to this, right?
I didn't find any function to pass an increment to the size that's why I
did
I am using AxesGrid (from mpl_toolkits.axes_grid1 import AxesGrid) to generate
multi-panel plots.
It does very well except I have a problem with a blank subplot.
I have 5 plots to display and the geometry of nrows_ncols=(3,2) produces the
plot that I want
except there is a frame placed in the la
10 matches
Mail list logo