Hi all,
I am stuck on matplotlib generating a segfault when invoking 'plot'.
I've ben trying to solve this problem for a while now but no luck.
I've seen many duplicates of this problem on the web, some with
solutions, some without. The solution must be something more generic
that I'm missing.
I'm having some troubles understanding basic concepts.
Suppose I want to do something like this, given a dictionary
values = { (0,10) : 0.5,
(10, 20) : 0.3 }
and so on, where the key is a time slot interval and the value is the
value I want to plot.
What should be the correct way to
Dear all,
Once again, I turn for help.
I'm trying to plot a polar image using colormap values for the theta values and
increasing alpha values along the radius.
I do this using imshow passing the rgba tuple at each pixel position which
works
very nicely with rectangular axes, but fails to
Andrea Crotti andrea.crott...@gmail.com writes:
values = { (0,10) : 0.5,
(10, 20) : 0.3 }
and so on, where the key is a time slot interval and the value is the
value I want to plot.
What should be the correct way to get what I want?
Something like this perhaps:
left, width =
I'm having some troubles understanding basic concepts.
Suppose I want to do something like this, given a dictionary
values = { (0,10) : 0.5,
(10, 20) : 0.3 }
and so on, where the key is a time slot interval and the value is the
value I want to plot.
What should be the correct way to
The hist function expects a list of values that it bins up and counts
to form the histogram (see numpy.hist). That's why it is plotting one
count for each of the values you gave it.
You already have your counts, you just want to make a step plot out of
them. Look at the drawstyle keyword of the
On Thu, Mar 10, 2011 at 4:54 AM, Daniel Mader
danielstefanma...@googlemail.com wrote:
Hi,
is it possible to change the default y-axis scaling so that the
ticks/label are not with respect to the large offset?
For example:
import scipy
import pylab
x = scipy.arange(100)
y =
Hi Ben,
thanks a lot, this really helpes in the simple example, I'll try to
find out how to use it in the complex script. It seems 1.0.0 is recent
enough for this!
Thanks again,
Daniel
2011/3/10 Benjamin Root ben.r...@ou.edu:
On Thu, Mar 10, 2011 at 4:54 AM, Daniel Mader
On Thu, Mar 10, 2011 at 8:40 AM, Auré Gourrier
aurelien.gourr...@yahoo.frwrote:
Dear all,
Once again, I turn for help.
I'm trying to plot a polar image using colormap values for the theta values
and increasing alpha values along the radius.
I do this using imshow passing the rgba tuple at
I'm a frequent user of matplotlib on my Windows XP machine. I
recently attempted to install a program that modified my Tcl
installation, and I now get an error message when I attempt to plot
anything in matplotlib. Here is the error message:
---
Traceback (most recent call last):
File stdin,
Yung-Yu,
We are advertised on this blog
http://pycon.blogspot.com/2011/03/pycon-2011-outside-talks-poster-session.html
I will be in the conference venue by tomorrow morning. There are many
interesting talks and posters that I look forward seeing plus meeting
those presenters.
See you in
Hi,
When I do an errorbar plot (a.errorbar(), a = axis) with negative values and
then try to change the yscale to log (a.set_yscale('log')) matplotlib
crashes with:
Traceback (most recent call last):
File /usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py,
line 14636, in lambda
Thanks, I read some of your previous posts dealing with the pcolor and tried
this route but didn't succeed yet...
I really agree with you on the interest of having an option to pass an array
rather than value for the alpha keyword !
De : Benjamin Root
Hi Goyo,
Thanks a lot. tight='True' worked fine in my autoscale_view(). It's doing just
what I needed.
I have to confess that object-oriented programming seems very counter-intuitive
to me.
Hopefully it will come more naturally soon.
Along the same lines of my original query, this one I think
If the color of a polygon is set to 'none' (meaning no fill), the alpha set
for that polygon doesn't seem to apply to the boundary of that polygon. To
see this, change the following line in integral_demo.py (in the matplotlib
gallery):
poly = Polygon(verts, facecolor='0.8', edgecolor='k')
to
Hi!
Changing the alpha-channel of a plotted image doesn't work for me in an
ipython (pylab) shell.
The example below illustrates the problem (i hope so at least ...)
Running it with %run - everything is fine and the two images look the same.
Runing it line by line without the show, the figure
16 matches
Mail list logo