On Mon, Nov 30, 2009 at 6:38 PM, Ernest Adrogué wrote:
> Hi,
> I notice a big difference in quality between the text rendered
> by matplotlib and that rendered by the rest of applications.
> As an example, see the image attached showing the same font as
> shown by firefox and matplotlib respective
On Mon, Nov 30, 2009 at 8:06 PM, Mike Alger wrote:
> After a weekend of no replies I managed to figure a way out myself
Hey Mike, sorry for the radio silence. mpl is a big project and no
one developer is equipped to answer questions about everything. We
currently have only one active developer
On Mon, Nov 30, 2009 at 9:04 PM, Jason Heeris wrote:
> Is it at all possible to have figimage draw the image OVER the top of
> the plot area? Currently I can only get it to draw underneath — even
> if I set the frame alpha to zero, it is obscured by the grid. This can
> be seen from the test code
Hi John,
Yes, that is true if the data is truly gaussian. In my case, I know that the
data have non-gaussian tails which tend to dominate the calculation of the
standard deviation. I should have been clearer in my post that what I
actually wanted to do was fit a gaussian to the truncated "central"
On Mon, Nov 30, 2009 at 6:44 PM, William Carithers wrote:
> I would like to fit a gaussian to a histogram and then overplot it. I can
> write the code to do this but most plotting packages support such fitting.
> However I can't find it for pyplot even after scanning documentation,
> googling, etc
Hi,
Is it at all possible to have figimage draw the image OVER the top of
the plot area? Currently I can only get it to draw underneath — even
if I set the frame alpha to zero, it is obscured by the grid. This can
be seen from the test code below:
testplot.py
#!/usr/bin/python
import n
After a weekend of no replies I managed to figure a way out myself
As this was "left to the reader as an exercise" I will leave the integration
or improvement of this solution as an exercise to the next reader
What I have done is basically cloned the plot surface function and replaced
the a
I would like to fit a gaussian to a histogram and then overplot it. I can
write the code to do this but most plotting packages support such fitting.
However I can't find it for pyplot even after scanning documentation,
googling, etc. In fact, the only fitting functionality I could find was the
poly
Hi,
I notice a big difference in quality between the text rendered
by matplotlib and that rendered by the rest of applications.
As an example, see the image attached showing the same font as
shown by firefox and matplotlib respectively.
Is there any config setting I can change to improve the font
r
Hi there,
Finally with lot of try I've finally managed to make blitting of a cmap
working.
I've also patched QT4agg backend, to make a redraw immediately.
(replaced self.draw by self.repaint)
In my current project I was able to stream a 655KB network stream, do
demodulation of an IQ stream and dis
Hi,
I found this old thread discussing the possibility of placing un-
resampled images in PS, PDF and SVG. It was questioned weather there
were any potential users for such a feature to justify the effort. If
it makes a difference, here is one user who very much welcome it.
I need to overlay p
Alan G Isaac wrote:
> On 11/29/2009 11:44 PM, Eric Firing wrote:
>> in svn there is such an option, but it still doesn't seem to
>> do exactly the right thing in this case
>
> OK, looking forward ...
Try svn 7993 with "scale_units='xy', angles='xy', scale=1".
Having a separate "scale_units" kwarg
Michael Droettboom writes:
>
> It shouldn't always return True -- it should return a tuple of type
> (bool, dict). The first element is whether it's inside, and the second
> is a dictionary of indices of subobjects (used only for Collections).
> Unfortunately, this tuple always evaluates to
Another related question. is there some statistics function that
computes the mean, std. dev., min/max, etc. from a frequency distribution?
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz S
Thanks. Very good.
Pierre de Buyl wrote:
> bar does what you need.
>
> import numpy as np
> import matplotlib.pyplot as plt
>
> freq = np.array( [127516, 8548, 46797, 46648, 21085, 9084, 7466,
> 6534, 5801,
> 5051, 4655, 4168, 4343, 3105, 2508, 2082, 1200, 488, 121, 0, 0, 0, 0, 0,
> 0, 0, 0, 0,
Michael Droettboom writes:
> Just a note when implementing this feature (I'm too busy at the moment
> as well) -- the SVG backend already supports hyperlinks, so if possible
> the PDF support should piggyback on its public API (get_url/set_url).
Yes, for URL links the API should look similar,
It shouldn't always return True -- it should return a tuple of type
(bool, dict). The first element is whether it's inside, and the second
is a dictionary of indices of subobjects (used only for Collections).
Unfortunately, this tuple always evaluates to True. Have you tried
changing your co
On Mon, Nov 30, 2009 at 4:26 AM, Oliver Tomic wrote:
> Hi,
>
> I am not sure whether this has been reported before or maybe even got fixed
> already. When I make scatter plot and plot a point with marker = 'o' it
> appears as a circle in the plot as it should. It won't, however, appear in
> the le
Unfortunately, at present you can't. The figure referencing in Sphinx
works because there is a hard-coded phase to match labels to figures
(which doesn't know about plots). I think the matplotlib plot directive
needs to write such a phase at well (should be possible using Sphinx
event hooks)
Just a note when implementing this feature (I'm too busy at the moment
as well) -- the SVG backend already supports hyperlinks, so if possible
the PDF support should piggyback on its public API (get_url/set_url).
Mike
On 11/28/2009 11:09 AM, Fabricio Silva wrote:
> Le samedi 28 novembre 2009 à
Scrollbars seem like the only reasonable solution I can think of. Of
course, this will require adding support in all the backends -- not a
small undertaking.
I've filed a feature request for this here:
https://sourceforge.net/tracker/?func=detail&aid=2906107&group_id=80706&atid=560723
Maybe i
Good morning All,
I am creating figures that need to overlay with maps, so disabling the box
around my figures is a must. (need no title, legend, etc...) I have my plain
figure now without surroundings but now need the axis numbers "on" the grid
inside the plot area (like latitude and longitude n
bar does what you need.
import numpy as np
import matplotlib.pyplot as plt
freq = np.array( [127516, 8548, 46797, 46648, 21085, 9084, 7466,
6534, 5801,
5051, 4655, 4168, 4343, 3105, 2508, 2082, 1200, 488, 121, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0] )
fig = plt.figure()
plt.bar(range(0,255,8),
Sorry this thread fell through the cracks. Thanks for the reminder.
The error is not actually on importing and parsing the .py file (it
seems to do that just fine). The error is on printing to the console,
at which point it tries to convert the Unicode string to ascii (which
fails because it
This is indeed a DOS prompt issue. Right-click the very top of the window and
go to Properties. Upon exit, select that the changes should be applied to
future windows "with the same title."
HTH
-paul
> -Original Message-
> From: Wayne Watson [mailto:sierra_mtnv...@sbcglobal.net]
> Sen
Looking a little further at this problem it looks like iPython was
installed. I mis-interpreted some lines at the bottom. The very bottom
one showed [1]. I didn't recognize that as a line prompt. The next
question is whether one can accept a complete program. I suspect this
is a purely intera
That helped by using the original data of 256 elements. So all the
large values in the array beyond 120 would be tiny bars stretched out
to x of about 127516. OK, now with the original 256 elements I see
some problems.
Individually, they contain some high counts, so I guess they are going
I'm working with a Python program that produces freq below. There are 32
bins. The bins represent 0-7, 8-14, ..., 248 - 255 of a set of
frequencies (integer counts). 0 to 255 are the brightness pixel values
from a 640x480 frame of b/w pixels. I binned 8 into each of 32 bins. One
can easily see
Hi JJ,
Thanks very much that was exactly the right solution!
Best regards,
Alastair
On Sat, Nov 28, 2009 at 12:55 AM, Jae-Joon Lee wrote:
> Maybe this thread is helpful.
>
>
> http://old.nabble.com/Problem-with-simple-use-of-draw%28%29-in-animations-of-arrays-tt26174627.html#a26175190
>
> I g
Hello, Dear all,
I am using matplotlib and basemap. It worked well in my home computer until
recently, when I perhaps made an automatic upgrade of the system and softwares
using apt-get . Now I can import matplotlib and basemap without errors, but
when I run the example/simpletest.py from th
Hi everyone,
I am a new matplotlib user building a simple visualization tool.
I was having some issues with the graph not redrawing and I think I have
reduced it to a minimal case that doesn't work as expected for me.
In the example below one of the data elements is changed on every iteration
of
Thanks, Christoph. I confirmed that this build solves the problem.
Dilip.
- Original Message
From: Christoph Gohlke
To: matplotlib-users
Sent: Tue, November 24, 2009 5:55:03 PM
Subject: Re: [Matplotlib-users] Unable to import matplotlib.pylab in Windows
I was able to reproduce your
Hi,
I am not sure whether this has been reported before or maybe even got
fixed already. When I make scatter plot and plot a point with marker = 'o'
it appears as a circle in the plot as it should. It won't, however, appear
in the legend.
Windows XP
Python(x,y) 2.6.0
matplotlib 0.99.1 (I thin
I downloaded ipython-0.10.win32-setup.exe and began the execution. It
seem like it installed components. It may have brought up a download for
ipython-0.10-py2.5.egg some minutes later. When I noticed it I thought
maybe I accidentally triggered its appearnace from the Start menu. I
tried ipytho
Hi,
I reattached your example in a slightly modified way. For me with current svn
it does its job. The key points are that I introduced a twin-axes and used
subplots_adjust(wspace=0.6) to extend the horizontal space between the
subplots.
Does this help you?
Kind regards
Matthias
On Sunday
35 matches
Mail list logo