Dear Joe,
finally I had time to come back to my python scritp for the contour plots.
You're code works very nicelly and does exactly what I need.
Thank you for the help
Francesco
2010/7/26 Joe Kington jking...@wisc.edu:
It sounds like you're wanting a gaussian kernel density estimate (KDE)
Dear Paul,
Thank you, it does exacly what I want to do. I searched a bit into the
contour instance, but I was biased since I was looking for something
like get_line.
cheers
Francesco
2011/1/21 Paul Ivanov pivanov...@gmail.com:
Francesco Montesano, on 2011-01-21 15:44, wrote:
Dear All,
I
Dear all,
I am trying to make a plot with errorbars and upperlimits.
I've found the following pylab example
http://matplotlib.sourceforge.net/examples/pylab_examples/errorbar_limits.htmland
it works fine both on a Mac OSX10.6 with python 2.6.1 and on Kubuntu
10.04 with python 2.6.5.
I've tried
Dear all,
I'm producing a single figure with subplots arrange in a single columns.
They all share the same x range but the y variable change from subplot to
subplot
In order have a nicer figure I hide the first and the last y label of each
subplot in the following way
ytl =
Hi Paul,
2011/2/1 Paul Ivanov pivanov...@gmail.com
I'm not sure what you're hoping to see, but you should either use
xerr with xuplims, or yerr with uplims.
Thank you for the reply. As usually I checked everything except the correct
one.
By the way, if one uses (by error) yerr and
mail.
Any suggestion on how to fix or find a workaround in order to get the
same number of tick labels as the ones actually plotted.
Thank in advance
Fra
2011/2/1 Francesco Montesano franz.berges...@googlemail.com:
Dear all,
I'm producing a single figure with subplots arrange in a single columns
Dear all,
I have a rather complex code that takes a list of file names and of
legend tags from command line and compute contour plots
./contour_plots.py [options] filename1 ... filename2 tag1 ... tagn
The codes make filled contours at required levels, then line contours.
From the latter I
Hi Michael,
I use fill_between() and log axis without problems in the following way (it's
by memory, I hope the sintax is correct)
fig = plt.figure()
spl = fig.add_subplot(111)
spl.fill_between(x,y1,y2)
spl.set_yscale(log)
plt.show()
Cheers,
Fra
Il giorno 06/mag/2011, alle ore 01.34,
Hi,
I usually do like this
l = ax.legend( (rects1[0], rects2[0]), ('set1', 'set2'))
l.draw_frame(False)
Cheers,
Francesco
2011/11/9 magurling magurl...@gmail.com:
I want a legend without the black border. I've tried a few things that have
been suggested on this forum and elsewhere to no
2012/1/16 Michael Cracraft michael.cracr...@gmail.com:
I prepared some plots for a conference paper using pcolormesh. The plots
need to work both for color and for a bw print copy. Does anyone have a
goto color map for that sort of occassion? I was using YlGrBu, but I'm just
not happy with
Il 27 marzo 2012 05:08, Dorm Eight dormei...@yahoo.com ha scritto:
hi, everybody!
when I run my script, why there is no figure show up? I downloaded the demos
from matplotlib gallery and it didn't work either.
x=np.arange(100)
y=x**2+3*x-1
pl.plot(x,y)
[matplotlib.lines.Line2D object at
From: Francesco Montesano franz.berges...@googlemail.com
To: Dorm Eight dormei...@yahoo.com
Cc: matplotlib-users@lists.sourceforge.net
matplotlib-users@lists.sourceforge.net
Sent: Tuesday, March 27, 2012 3:38 PM
Subject: Re: [Matplotlib-users] (no subject
and try to change the backend.
I think that I cannot help much more here. Does anyone else has an
idea if there might be any other problem?
Cheers,
Francesco
From: Francesco Montesano franz.berges...@googlemail.com
To: Dorm Eight dormei...@yahoo.com; matplotlib-users
Dear Nils,
you can try to play with
i) ax.axis[right, top, bottom, left] and their methods (see
setup_axis3 here
http://matplotlib.sourceforge.net/examples/axes_grid/demo_floating_axes.html
for an example)
ii) twinx and twiny axes (example
(0.,102.)
plt.subplots_adjust(left=0.075, right=0.85, top=0.9, bottom=0.05)
plt.show()
How can I add xtick labels on the top of my figure ?
Cheers,
Nils
On 4/27/12, Francesco Montesano franz.berges...@googlemail.com wrote:
Dear Nils,
you can try to play with
i) ax.axis
Dear matplotlibers,
I know almost nothing about mpl_toolkits (matplolib.__version__ = 1.1.0).
From the help of
mpl_toolkits.axisartist.floating_axes.FloatingSubplot, the init
function reads
__init__(self, fig, *args, **kwargs)
In the example here
Dear Fabien
2012/5/29 Fabien Lafont lafont.fab...@gmail.com:
Hello everyone,
I have a problem. I have to look at many plots. Usely I do it like that:
from pylab import*
X1 = genfromtxt(Myfile.dat, usecols =(0))
Y1 = genfromtxt(Myfile.dat, usecols =(1))
plot(X1,Y1, label =My curve)
/doc/numpy/reference/generated/numpy.ndarray.T.html#numpy-ndarray-t
Cheers,
Francesco
2012/5/29 Francesco Montesano franz.berges...@googlemail.com:
Dear Fabien
2012/5/29 Fabien Lafont lafont.fab...@gmail.com:
Hello everyone,
I have a problem. I have to look at many plots. Usely I do
Dear list,
it might be that this is not the best place to ask, but I guess that
there are enough people with experience with colors.
I think plots with nice colors and shaded areas are very nice, but for
my publication I have to use eps files, that do not support
transparency.
The script below
2012/6/20 Michael Droettboom md...@stsci.edu:
The postscript output of the Cairo backend supports transparency
emulation, though it hasn't been tested in some time. Eric's suggestion
(to output PDF and then convert to EPS) is also a reasonable one.
Mike
On 06/20/2012 10:38 AM, Francesco
2012/7/18 Jonathan Slavin jsla...@cfa.harvard.edu:
Ben,
Yes, you're right, but I doubt any solution that involves mimicking an
alpha channel will work for one case that I've been using. That is,
making the legend box partially transparent. I use that to allow the
box to fit in the plot
Hi Brad,
2012/7/19 Alexander Eberspaecher alexander.eberspaec...@ovgu.de:
On Wed, 18 Jul 2012 15:50:50 -0700
Brad Malone brad.mal...@gmail.com wrote:
Hi, I have a collection of 4 plots that I spent some time in
constructing. They themselves include modifications of the axes
labels, have
Hi,
roaming through the gallery I've found that in
http://matplotlib.sourceforge.net/examples/pylab_examples/demo_tight_layout_00.html
http://matplotlib.sourceforge.net/examples/pylab_examples/demo_tight_layout_01.html
http://matplotlib.sourceforge.net/examples/axes_grid/demo_axes_divider_01.html
2012/7/19 Nicolas Rougier nicolas.roug...@inria.fr:
What size/format do you need and would that be an option to transform/use
Tango icons ?
http://tango.freedesktop.org/
http://commons.wikimedia.org/wiki/Tango_icons
Tango (for fullscreen but might suit tight-layout)
done: https://github.com/matplotlib/matplotlib/issues/1024
Fra
2012/7/19 Phil Elson pelson@gmail.com:
I can confirm the bad link.
Would you mind opening a new issue on github for this?
github.com/matplotlib/matplotlib/issues/new
Thanks,
On 19 July 2012 10:15, Francesco Montesano
2012/7/18 Francesco Montesano franz.berges...@gmail.com:
2012/7/18 Jonathan Slavin jsla...@cfa.harvard.edu:
Ben,
Yes, you're right, but I doubt any solution that involves mimicking an
alpha channel will work for one case that I've been using. That is,
making the legend box partially
Hi Andreas,
2012/7/26 Andreas Hilboll li...@hilboll.de:
Hi,
I would like to create a figure which only contains a legend, and no axes
at all. I would like to manually assign the colors. I found this here:
http://stackoverflow.com/a/3302666
but from there on, I'd like to remove the
Hi,
you should be also able to create the axes as:
ax = plt.figure( figsize=(x,y) ).add_subplot(111)
with figsize big enough to fit just the legend
Cheers
Francesco
2012/7/26 Damon McDougall damon.mcdoug...@gmail.com:
On Thu, Jul 26, 2012 at 06:05:39PM +0200, Andreas Hilboll wrote:
Hi
Hi Andreas,
2012/7/27 Andreas Hilboll li...@hilboll.de:
Hi,
I'd like to place something like a 'title' inside a legend's box. In my
specific case, I have a legend with 5 entries, arranged in 5 columns, so
they're horizontally next to each other in one row. Now what I'd like to
have is
Hi Andreas,
2012/7/27 Andreas Hilboll li...@hilboll.de:
Hi Andreas,
2012/7/27 Andreas Hilboll li...@hilboll.de:
Hi,
I'd like to place something like a 'title' inside a legend's box. In my
specific case, I have a legend with 5 entries, arranged in 5 columns, so
they're horizontally next to
Hi,
2012/7/30 oc-spam65 oc-spa...@laposte.net:
Hello,
Can the 'zorder' of the ticks be set? This minimal example shows a
hard-coded value of 2.5
This may come from file matplotlib/axes.py, function draw(). Can it
be adjusted? Shall it be bug-reported?
2012/8/24 Carlos Grohmann carlos.grohm...@gmail.com:
Hello all,
I just did a fresh macports install, and installed py27-matplotlib-basemap,
so all dependencies were installed as well.
After installing python, I did run port-select (or something like it) to
make sure I'm using macports
Dear matplotlibers,
I encountered a bug (?) in fill_between when using logarithmic scales and
the last part of y and yerr arrays as set to zero: a diagonal stripe going from
the rightmost non zero value to the first value is drawn.
It's visible in the right panel of the attached figure, while is
Dear Eric,
sorry for the delay in replying, and thanking: I forgot the mail after
reading it.
2012/8/30 Eric Firing efir...@hawaii.edu:
On 2012/08/27 5:10 AM, Francesco Montesano wrote:
Dear matplotlibers,
I encountered a bug (?) in fill_between when using logarithmic scales and
the last
Hi Daniel,
2012/9/13 Daniel Welling dantwell...@gmail.com
Greetings, all.
I have an issue: I have several axes stacked in a column with a common time
vector on each x-axis. Each plot is a contour, so overplotting is not an
option. In a perfect world, I want the following:
1) The
2012/10/5 Gökhan Sever gokhanse...@gmail.com
On Fri, Oct 5, 2012 at 1:23 PM, Damon McDougall damon.mcdoug...@gmail.com
wrote:
On Fri, Oct 5, 2012 at 8:11 PM, Gökhan Sever gokhanse...@gmail.com
wrote:
Seeing mpl produced plots would be only 1 or 2 clicks away, plus this
would
This is
Dear list,
I've see a difference between the default backend between
v1.1.1 (shipped with kubuntu 12.10dev) and v1.2.0.rc1, 1.2.0rc2 and master
(1.3.x).
My set up is to call ipython with pylab and turn on interactive mode. I
still haven't copied over my matplotlibrc file from my work computer
2012/10/17 Eric Firing efir...@hawaii.edu
On 2012/10/16 9:22 PM, Francesco Montesano wrote:
Dear list,
I've see a difference between the default backend between
v1.1.1 (shipped with kubuntu 12.10dev) and v1.2.0.rc1, 1.2.0rc2 and
master (1.3.x).
My set up is to call ipython
2012/10/17 Damon McDougall damon.mcdoug...@gmail.com
On Wed, Oct 17, 2012 at 9:12 AM, Francesco Montesano
franz.berges...@gmail.com wrote:
2012/10/17 Eric Firing efir...@hawaii.edu
On 2012/10/16 9:22 PM, Francesco Montesano wrote:
Dear list,
I've see a difference between
Dear matplolibers,
when dealing with multi-axes plot sometimes would be nice to use
figure-wide x and y labels.
On the web I've found some suggestion on how to do this, but I found
no solution valid in the general case and that integrate in the
matplotlib ecosystem.
The ideal would be to have a
2013/2/1 Benjamin Root ben.r...@ou.edu
On Fri, Feb 1, 2013 at 11:04 AM, Jeff Layton layto...@att.net wrote:
Good morning,
I'm been using matplotlib for a while but it's always been very
simple plots (hey - I'm a simple person). I have a need for some
fancier plots using subplots.
I
Dear Neal,
2013/3/11 Neal Becker ndbeck...@gmail.com
I want to update a plot in real time. I did some goog search, and saw
various
answers. Trouble is, they aren't working.
Here's a typical example:
import matplotlib.pyplot as plt
import numpy as np
fig=plt.figure()
2013/4/7 Kevin Hunter Kesling kmhun...@ncsu.edu
Hullo Matplotlib List,
I'm looking for a way to represent on an X-Y graph the fact that an axis
does not start from the origin. When drawing by hand, I'll use a little
zig-zag, lightning bolt, or slight space on the axis in question to
Il giorno 08/apr/2013 21:05, Kevin Hunter Kesling kmhun...@ncsu.edu ha
scritto:
At 4:20pm -0400 Sun, 07 Apr 2013, Francesco Montesano wrote:
Il giorno 07/apr/2013 21:03, Kevin Hunter Kesling ha scritto:
On the other hand, I'm still such a noob at Matplotlib ... is there
a way to have one
. Is this backend not available for python3?
-Sterling
On Apr 18, 2013, at 8:03PM, John Ladasky wrote:
Thanks to both Francesco Montesano and Benjamin Root. I have done some
reading. And I have made some progress, though I am not quite where I
want to be yet.
So the problem appears
Il giorno 26/apr/2013 13:16, Hackstein news.hackst...@gmx.net ha
scritto:
Thanks, Ryan, this is (amost) exactly what I was looking for. Now, I get
the markers and their colors right, but I still have two problems:
The markers have a black edges, that I cannot get rid of. I've tried
rect =
use the zorder keyword. higher zorder stay above lower values.
cheers
Francesco
Il giorno 24/ago/2013 11:27, vwf v...@vulkor.net ha scritto:
Hello,
In the attached example I would like to have the wedges under the
arrows. Can someone tell me how do this? I tried to follow the tutorial
from
Hi Peter,
just get the legend handlers and labels with
handles,labels = ax.get_legend_handles_labels()
then create an empty plot with axes `axe` and do
axe.legend(handles, labels, loc=loc)
If you want to hide the axis:
axe.xaxis.set_visible(False)
axe.yaxis.set_visible(False)
Dear Diego,
2014-03-13 14:49 GMT+01:00 diedro diego.aves...@gmail.com:
Dear B.,
thanks a lot for your replay. I get it.
What do you think is the measure for w and h. Is the unit of measure
in pixels?.
yes
What does fps stand for?
frames per second
Cheers,
Francesco
Thanks a lot
Hi Michael,
I don't have an answer about your bug. But the official place to report
possible bugs is github.
https://github.com/matplotlib/matplotlib/issues?state=open
Cheers,
Fra
2014-06-12 18:07 GMT+02:00 M.Rule mrule7...@gmail.com:
Hi all,
I haven't been able to find a more official
Hi Sebastian,
If you want to set the defaults only once and use them forever, there is
the matplotlibrc file (http://matplotlib.org/users/customizing.html)
If you want to easily change the defaults according to the context of the
plot mpltools by Tony S. Yu can help you (
Hi,
put all them into a list
ps = [p1, p2, ..., pn]
and then unpack them
path.Path.make_compound_path(*ps)
Cheers,
Fra
ps: this is standard python unpacking
2014-11-27 18:12 GMT+01:00 Evan Mason evanma...@gmail.com:
Hi, I have several path objects that I want to join together with
52 matches
Mail list logo