On Aug 22, 2012, at 10:04 AM, Virgil Stokes wrote:
On 21-Aug-2012 17:52, Jeffrey Blackburne wrote:
On Aug 21, 2012, at 10:58 AM, Virgil Stokes wrote:
In reference to my previous email.
How can I find the outliers (samples points beyond the whiskers)
in the data
used for the boxplot
On Aug 21, 2012, at 10:58 AM, Virgil Stokes wrote:
In reference to my previous email.
How can I find the outliers (samples points beyond the whiskers) in
the data
used for the boxplot?
Here is a code snippet that shows how it was used for the timings
data (a list
of 4 sublists
On Mar 9, 2012, at 1:05 PM, Jonathan Slavin wrote:
Hi all,
I'm plotting a set of subplots (2 x 3) and I'd like to label the x
and y
axes with one title each (i.e. spanning the axes) since the units
of all
the x axes and y axes are the same. I know that I can use fig.text to
do it,
Hi,
I'm currently using the hist plot from matlibplot. Here I have the
following
question: is there an easy way to set the bin content of a
specified bin?
For example, I would like to call set_bin_content(bin_index=1,
value=1)
once instead of filling in 1 times the same
Hi Steven,
Try this:
import numpy as np
import numpy.random
import matplotlib as mpl
import matplotlib.pyplot as plt
x = np.random.randn(1000)
h, binedg = np.histogram(x, 10)
wid = binedg[1:] - binedg[:-1]
plt.bar(binedg[:-1], h/float(x.size), width=wid)
On Nov 30, 2011, at 10:25 AM, Steven
On Nov 23, 2011, at 4:09 PM, C M wrote:
On Tue, Nov 22, 2011 at 3:09 PM, Nicolas Rougier
nicolas.roug...@inria.fr wrote:
Is that what you want ?
No ticks, no labels:
import matplotlib.pyplot as plt
plt.plot(np.arange(10), np.arange(10))
plt.ylim(0,10)
On Sep 14, 2011, at 4:04 PM, Jeffrey Blackburne wrote:
I am trying to create a hatched region, with a diagonal lines hatch
pattern. When using the PS backend, the hatch lines come out very
narrow. Is there a way to increase the thickness of the hatch lines?
I am using mpl version 1.0.1.
Ok
Hi,
I am trying to create a hatched region, with a diagonal lines hatch
pattern. When using the PS backend, the hatch lines come out very
narrow. Is there a way to increase the thickness of the hatch lines?
I am using mpl version 1.0.1.
I think this question has been asked before (e.g., in
Hi,
I am trying to create a hatched region, with a diagonal lines hatch
pattern. When using the PS backend, the hatch lines come out very
narrow. Is there a way to increase the thickness of the hatch lines?
I am using mpl version 1.0.1.
I think this question has been asked before (e.g., in
On Sep 6, 2011, at 10:48 AM, Michael Droettboom wrote:
On 08/31/2011 01:20 PM, Eric Firing wrote:
On 08/31/2011 06:45 AM, Jeffrey Blackburne wrote:
Hi,
Are the edges of the rectangles returned by plt.bar() supposed to conform
to the 'lines.solid_joinstyle' rcParam? If not, is there another
Hi,
Are the edges of the rectangles returned by plt.bar() supposed to conform to
the 'lines.solid_joinstyle' rcParam? If not, is there another method for
specifying that joinstyle?
I have not been able to change the joinstyle using this method in versions
1.0.0 (linux, gtkagg and tkagg) or
You might be able to do this (before importing pyplot or pylab):
matplotlib.rcParams['text.usetex'] = True
matplotlib.rcParams['text.latex.preamble'] = '\usepackage{libertine}'
and optionally (if you have xpdf or poppler installed):
matplotlib.rcParams['ps.usedistiller'] = 'xpdf'
Good luck,
I get a solid line for plt.step like you do.
MPL 1.0.0, SVN revision 8657.
-Jeff
On Sep 17, 2010, at 4:34 PM, Gökhan Sever wrote:
Hello,
Can someone confirm me if this creates a dashed line for a simple step plot?
# this is fine
plt.plot(range(10), g--)
# plots solid line!
On Jul 12, 2010, at 5:45 PM, Janne Blomqvist wrote:
a.legend()
Change this to
lg = a.legend()
fr = lg.get_frame()
fr.set_lw(0.2)
Thanks, this solved it. A bit annoying that it can't be done with rc
params, but hey, at least it works.
Hi Janne,
Actually, I have been able to do it
On Jul 2, 2010, at 2:15 PM, Nicolas Bigaouette wrote:
Hi all,
I don't really know where to ask, so here it is.
I was able to vectorize the normalization calculation in quantum
mechanics: phi|phi. Basically it's a volume integral of a scalar
field. Using:
norm = 0.0
for i in
I have used add_axes() to do this in the past. E.g.,
import matplotlib.pyplot as plt
fig = plt.figure()
leftmarg = 0.125 # change these numbers to taste
botmmarg = 0.125
width = 0.825
height = 0.825
frac = 2./3.
ax0 = fig.add_axes([leftmarg, botmmarg, width, frac*height])
ax1 =
another suggestion?
Cheers,
Jan
On Sun, Feb 14, 2010 at 11:28 PM, Jeffrey Blackburne
je...@mit.edu wrote:
On Feb 14, 2010, at 5:41 PM, Jan Strube wrote:
Dear matplotters,
I'm trying to follow
http://matplotlib.sourceforge.net/examples/pylab_examples/
ganged_plots.html
Hi everyone,
This has been brought up before, but not completely addressed. Is it
possible to get the text in a Legend to match the rest of the text
when using LateX? Here is an example of the problem:
import matplotlib as mpl
mpl.rcParams['text.usetex'] = True
import matplotlib.pyplot as
LaTeX and don't have this problem.
The only thing I can think of is to check your matplotlibrc file
and make sure you've set the legend font to be the same size as the
other fonts.
HTH,
-paul h.
-Original Message-
From: Jeffrey Blackburne [mailto:je...@mit.edu]
Sent: Wednesday
19 matches
Mail list logo