Hi Paul,
Can you try
font.size: 10
legend.fontsize: small [or medium] in your rc file.
Defining the fontsize and then defining the fontsize of the xtick
labels, legend etc with respect to this font size seems to work better
than defining everything by hand.
Switching off the legend frame does se
On 30. mai. 2009, at 13.56, John Hunter wrote:
> On Sat, May 30, 2009 at 3:50 AM, Paul Anton Letnes
> wrote:
>> Hello again,
>>
>>
>> I can set the figure size and font size, that all works fine.
>> However,
>> the legend is prohibitively large: for a plot 3 inches wide (why
>> doesn't matplotl
We are pleased to announce the release of APLpy 0.9.2.
APLpy is a python module that makes it easy to interactively produce
publication-quality plots of astronomical images in FITS format. More
details are available at
http://aplpy.sourceforge.net/
>From the front page you can sig
On Tue, Jun 2, 2009 at 4:34 PM, Christopher Barker
wrote:
>> I think the relevant parts are:
>>
>> from matplotlib.figure import Figure
>
>> self.__axl = self.figure.gca()
>
> I don't know what your issue is, but I thin you will be ell served to
> use the OO interf
Tom Vaughan wrote:
>> post some code
>>
>
> I thought this might be required...
>
> So the whole thing is excessively complex.
It can be very instructive to write a little app that just tests the
issue at hand -- it may help you figure out what's wrong, and if not,
you will have a self-contain
Hi all,
Has any of you had any luck with creating stacked histograms using
matplotlib? It seems to work but I have no idea how to label (or add the
legend) or choose the colors of the stacks. Below is a sample code for
creating a stacked histogram. Can anyone help please? Unlike the "bar()"
fu
On Tue, Jun 2, 2009 at 11:59, John Hunter wrote:
> On Tue, Jun 2, 2009 at 1:51 PM, Tom Vaughan wrote:
>> On Tue, Jun 2, 2009 at 07:33, John Hunter wrote:
>>> On Tue, Jun 2, 2009 at 9:03 AM, Tom Vaughan wrote:
Is it possible to add subplots to a figure if I don't know in advance
how many
Dear List,
boxplots are not plotted correctly in case the 'x' argument has an even
number of elements. So when I do:
import matplotlib.pyplot as plt
import numpy as np
r_odd = np.array([1,2,3,4,5])
plt.boxplot(x=r_odd)
plt.show()
I get the correct boxplot but when I do:
r_even = np.array([1,2
Better keep the list in the loop ;)
On Tue, Jun 2, 2009 at 21:20, C M wrote:
> On Tue, Jun 2, 2009 at 1:56 PM, Sandro Tosi wrote:
>> - x data values has to be datetime objects (so you have to convert to that)
>> - you have to use plot_data() instead of plot()
>
> OP, note that is a typo for plot
On Tue, Jun 2, 2009 at 1:51 PM, Tom Vaughan wrote:
> On Tue, Jun 2, 2009 at 07:33, John Hunter wrote:
>> On Tue, Jun 2, 2009 at 9:03 AM, Tom Vaughan wrote:
>>> Is it possible to add subplots to a figure if I don't know in advance
>>> how many subplots I need to add?
>>>
>>> What I do now is I cal
On Tue, Jun 2, 2009 at 07:33, John Hunter wrote:
> On Tue, Jun 2, 2009 at 9:03 AM, Tom Vaughan wrote:
>> Is it possible to add subplots to a figure if I don't know in advance
>> how many subplots I need to add?
>>
>> What I do now is I call add_subplot like add_subplot(i, 1, i) where i
>> is 1 ini
hi,
On Mon, Jun 1, 2009 at 20:08, pgb205 wrote:
>
> et say i have two arrays
> time_array=[00:00:00,00:00:10...17:59:50,18:00:00]
> and
> data_array=[1,12..34,2]
> both of them with the same number of elements.
> I want to graph data_array on y axis vs time_array on x_axis.
> However, I'm unable
On Tue, Jun 2, 2009 at 08:40, John Hunter wrote:
> On Tue, Jun 2, 2009 at 10:18 AM, Tom Vaughan wrote:
>
>> Interestingly, if I were to 'print dir(self.figure.axes[i])' I can see
>> the change_geometry attribute, but when I attempt to call it, I am
>> told "AttributeError: 'AxesSubplot' object has
On Tue, Jun 2, 2009 at 07:33, John Hunter wrote:
> On Tue, Jun 2, 2009 at 9:03 AM, Tom Vaughan wrote:
>> Is it possible to add subplots to a figure if I don't know in advance
>> how many subplots I need to add?
>>
>> What I do now is I call add_subplot like add_subplot(i, 1, i) where i
>> is 1 ini
On Tue, Jun 2, 2009 at 10:18 AM, Tom Vaughan wrote:
> Interestingly, if I were to 'print dir(self.figure.axes[i])' I can see
> the change_geometry attribute, but when I attempt to call it, I am
> told "AttributeError: 'AxesSubplot' object has no attribute
> 'change_geomtry'" This lead me to what
Hi,
I was getting segfaults attempting to use matplotlib, and after a few hours of
poking, I believe that I have isolated the likely source of the problem. It
seems like there is a conflict with player/stage (the robot simulator) in the
latest version. Specifically this code works as per the
On Tue, Jun 2, 2009 at 9:03 AM, Tom Vaughan wrote:
> Is it possible to add subplots to a figure if I don't know in advance
> how many subplots I need to add?
>
> What I do now is I call add_subplot like add_subplot(i, 1, i) where i
> is 1 initially, and just increases by 1 on each call. This almos
Is it possible to add subplots to a figure if I don't know in advance
how many subplots I need to add?
What I do now is I call add_subplot like add_subplot(i, 1, i) where i
is 1 initially, and just increases by 1 on each call. This almost
works. Except the first plot takes up the whole figure, the
In general, the intent of the Stineman interpolation is not so much to
follow certain mathematical criteria, but more to provide a "visually
pleasing" smooth interpolation. In other words: the interpolated curve
typically is what the human eye would choose as smooth interpolation. It
gives "goo
19 matches
Mail list logo