I have never used matlab, but a lot of my colleagues do. Can anyone give me
some good references that I could show them to explain the advantages of
python over matlab?
-
Take Surveys. Earn Cash. Influence the Future of IT
Newb here. I can plot a seq of float with:
pylab.plot (s)
pylab.show()
But if s is complex, say numpy.array(complex), it doesn't do what I want. I
think it's just showing the real part?
I want to get 2 line graphs, one real one imag.
Phil Austin wrote:
John Hunter wrote:
Well, the problem is that GTK, WX and Qt require threading support to
use them properly interactively. ipython has special modes for these
to run the GUI mainloop in the separate thread. tk is special in this
regard, in that it runs from a
Should I be worried about these?
Installed
/usr/lib/python2.5/site-packages/matplotlib-0.91.2-py2.5-linux-x86_64.egg
Processing dependencies for matplotlib
Finished processing dependencies for matplotlib
Exception exceptions.OSError: (2, 'No such file or
directory', 'src/image.cpp') in bound
This is a bit wierd.
If running from xemacs, it seems interactive plotting is always 1 step
behind.
For example, I do:
M-x py-shell
This brings up a *Python* buffer in Comint mode running Ipython.
In [1]: from pylab import *
In [2]: plot ([1,2,3])
Out[2]: [matplotlib.lines.Line2D instance at
Can matplotlib automatically choose line styles and/or markers for a group
of plots?
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
Alan G Isaac wrote:
On Thu, 14 Feb 2008, Neal Becker apparently wrote:
Can matplotlib automatically choose line styles and/or
markers for a group of plots?
http://matplotlib.sourceforge.net/matplotlibrc
Although I prefer to pass in a dict of keyword arguments.
Not sure what you're
On Tuesday 12 February 2008, John Hunter wrote:
On Feb 12, 2008 6:49 AM, Neal Becker [EMAIL PROTECTED] wrote:
This is a bit wierd.
If running from xemacs, it seems interactive plotting is always 1 step
behind.
I assume you have set 'interactive : True' in your rc file? What
backend
Alan G Isaac wrote:
On Thu, 14 Feb 2008, Neal Becker apparently wrote:
Can I get nice default line styles and markers,
automatically set up with matching legend? Automatically
chosen? I don't want to have to go through and manually
choose each marker and line style.
Well, you have
I have sets of data to plot on semilogy. I want the minimum y axis set to
some value, say 10e-10.
I do:
axis([0,1,1e-10,1])
hold(True)
for (whatever):
semilogy (x, y)
grid()
legend()
show()
But the data is not clipped in y from [1e-10..1] as I wanted. What's wrong
here?
To produce a batch of pdfs, I'm using:
close ()
figure (1, figsize=(11,8))
...
savefig (open (whatever, 'w'))
Works, but causes my display to flash, I think each time either close() or
figure() is called (not sure which). Any better way?
pylab.plot (xaxis, log10 (the_sum)*10)
where xaxis is numpy array, and log10(the_sum)*10 is my own class that is a
valid python sequence (it is a c++ wrapper around boost::ublas), gives:
File /usr/lib/python2.5/site-packages/matplotlib-0.98.5.2-py2.5-linux-
x86_64.egg/matplotlib/pyplot.py,
On Friday 16 January 2009, Eric Firing wrote:
Neal Becker wrote:
pylab.plot (xaxis, log10 (the_sum)*10)
where xaxis is numpy array, and log10(the_sum)*10 is my own class that is
a valid python sequence (it is a c++ wrapper around boost::ublas), gives:
File /usr/lib/python2.5/site
from pylab import semilogy, show, grid
grid()
semilogy (result[0])
This gave me just a vertical grid. What do I do to get both horiz and vert
grids?
--
Register Now for Creativity and Technology (CaT), June 3rd,
How should I put some text marking a position on the x-axis?
--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
How can I automatically cycle through distinctive line markers?
I want a semilog plot, composed of a number of lines. Each line should have
a different color and marker.
Cycling through the colors is automatic, but not the markers.
BTW, shouldn't this behavior be the default? I would just
I want to plot semilogy with major and minor grid. I tried:
plt.grid(which='both')
But 2 problems:
1) For semilogy, most of my viewers will expect to see 10 minor ticks/major
tick. I got 5. How do I change it?
2) I'd like the major ticks to be solid lines, and minor ticks to be dashed. I
Paul Ivanov wrote:
Neal Becker, on 2011-01-05 08:19, wrote:
I want to plot semilogy with major and minor grid. I tried:
plt.grid(which='both')
But 2 problems:
1) For semilogy, most of my viewers will expect to see 10 minor
ticks/major tick. I got 5. How do I change it?
Hi Neal
I have several machines running fedora f14. 2 of them produce plots fine with
STIX, but 1 doesn't, but gives:
/usr/lib64/python2.7/site-packages/matplotlib/font_manager.py:1242:
UserWarning:
findfont: Font family ['STIXSizeOneSym'] not found. Falling back to Bitstream
Vera Sans
Seems that deleting fontList.cache did it.
Michael Droettboom wrote:
You can try deleting matplotlib's font cache in
~/.matplotlib/fontList.cache.
If that doesn't work, set the rcParam verbose.level to
debug-annoying and send us the output...
Mike
On 01/14/2011 08:10 AM, Neal Becker
/usr/lib64/python2.7/site-packages/matplotlib/font_manager.py:1242:
UserWarning:
findfont: Font family ['STIXSizeOneSym'] not found. Falling back to Bitstream
Vera Sans
(prop.get_family(), self.defaultFamily[fontext]))
/usr/lib64/python2.7/site-packages/matplotlib/font_manager.py:1242:
My legend is going to have a series of entries that look like:
u=2,p=3
u=1,p=4
...
I want to add some (short) text that explains what u and p are.
I'm thinking to get the coordinates of the legend box so I can then annotate?
How would I get the coordinates of the legend box? Or is there some
of
leg is known when ann gets drawn
See here for some more details.
http://matplotlib.sourceforge.net/users/annotations_guide.html#using-complex-
coordinate-with-annotation
Regards,
-JJ
On Fri, Mar 18, 2011 at 8:31 PM, Neal Becker ndbeck...@gmail.com wrote:
My legend is going to have
Suppose I'm generating multiple seperate plots. I'd like them auto-scaled, but
in the end want the same axis (so they can be visually compared). Any
suggestions? (semilogy, if that matters).
--
Forrester Wave Report
I asked this a while back, but never explained myself clearly.
I'm using pdfpages to plot multiple graphs on multiple pages. I want the
graphs
to come out on the same scales.
Would it be reasonable to try to autoscale them and yet come out on the same
scale?
Maybe would be easier to
I have several line graphs on a single plot. I'd like to indicate what is the
mean of each of them (they are showing cumulative distributions).
Each is a different color.
I tried putting 'mean=xxx' into the legend. That works, but I think it's
confusing. The legend normally displays
Darren Dale wrote:
On Tue, May 17, 2011 at 2:05 PM, Neal Becker ndbeck...@gmail.com wrote:
I have an old fedora 11 system. When I try to use latex math (e.g.,
$\mu=2$), it gives no error, but seems to produce gibberish (just ordinary
ascii chars) in my pdf output.
Any ideas how to debug
Michael Droettboom wrote:
Are you setting text.usetex to True, or using matplotlib's built-in
mathtext rendering?
Can you attach an image? I've seen enough of these failure cases that I
can often guess by looking at it ;)
Mike
On 05/18/2011 09:21 AM, Neal Becker wrote:
Darren Dale
Using scatter, it seems less probably (numerous) points show just as much as
more probable points. Can anyone suggest a good way to emphasize the more
probable points?
I was thinking maybe the easy way is just scale down the markers. Drawback may
be too many points plotted.
Colors would be
Eric Firing wrote:
On 05/18/2011 09:01 AM, Neal Becker wrote:
Using scatter, it seems less probably (numerous) points show just as much as
more probable points. Can anyone suggest a good way to emphasize the more
probable points?
This is what hexbin is for, although it takes
Fedora f15. What am I missing that causes this?
/usr/lib64/python2.7/site-packages/matplotlib/font_manager.py:1242:
UserWarning:
findfont: Font family ['cmb10'] not found. Falling back to Bitstream Vera Sans
(prop.get_family(), self.defaultFamily[fontext]))
Looks like this is fixed by:
mathtext.fontset: stix
Neal Becker wrote:
Fedora f15. What am I missing that causes this?
/usr/lib64/python2.7/site-packages/matplotlib/font_manager.py:1242:
UserWarning: findfont: Font family ['cmb10'] not found. Falling back to
Bitstream Vera Sans
Running from command line (not ipython), is there some way to add a plot and
update display without blocking? I have an algorithm that should iteratively
converge. I'd like to draw the result (a plot) after N iterations, continue
computing, then draw after 2N, etc. Retaining the previous
surfcast23 wrote:
I am fairly new to programing and have a question regarding matplotlib. I
wrote a python script that reads in data from the outfile of another program
then prints out the data from one column.
f = open( 'myfile.txt','r')
for line in f:
if line != ' ':
line =
I have a semilog plot. I'd like to add a second x axis (maybe below the
existing one, or else maybe on top of graph). This second x axis is simply
describing the same existing data, in different units.
For example imagine a plot of
x - time in seconds
y - velocity
x2 - time in minutes
Neal Becker wrote:
I have a semilog plot. I'd like to add a second x axis (maybe below the
existing one, or else maybe on top of graph). This second x axis is simply
describing the same existing data, in different units.
For example imagine a plot of
x - time in seconds
y - velocity
Gökhan Sever wrote:
Hi,
The code below should create a properly placed 2nd x-axis. You might need to
adjust the placement of the figure canvas to match into the window.
import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.axes_grid.parasite_axes import SubplotHost
fig
Jae-Joon Lee wrote:
On Sun, Sep 11, 2011 at 10:16 PM, Neal Becker ndbeck...@gmail.com wrote:
Yes, that's very helpful. Just one thing. How would I get a bit more bottom
margin on the main figure to leave more room for the extra axis?
I'm using this as an example. I experimented
Actually, though, I didn't want to plot 2 different sets of data as in that
example, I want 1 set of data plotted with 2 different x-axis (different units).
Any suggestion on modifying this example to accomplish this?
import numpy as np
import matplotlib.pyplot as plt
from
Neal Becker wrote:
Actually, though, I didn't want to plot 2 different sets of data as in that
example, I want 1 set of data plotted with 2 different x-axis (different
units). Any suggestion on modifying this example to accomplish this?
import numpy as np
import matplotlib.pyplot as plt
I just put together an animated bargraph to show results from a realtime
process.
I used this as an example:
http://matplotlib.sourceforge.net/examples/animation/animation_blit_qt4.html
The tricky part for me was that in the original design, there was a realtime
process running. I have to
David Hoese wrote:
Neal,
I do something similar to this where data that I'm plotting in a 2D line
plot comes from a UDP socket and some memory mapped files. To
accomplish the live updating I have a mix of your #2 and #3. I have a
main GUI thread that displays the plots, then I have a
Using interactively (via emacs/ipython), on closing a plot window I see:
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x5802e1b
--
All the data continuously
linux fedora 15 x86_64
backend : Qt4Agg
Now it's gone away, after killing the *Python* buffer and restarting the python
process. If it comes back I'll try to get more info.
John Hunter wrote:
On Thu, Oct 13, 2011 at 8:03 AM, Neal Becker
ndbeck...@gmail.com wrote:
Using interactively (via
Using horizontalalignment='right', it seems that if a point lies on the right
edge of the plot, the annotation does not appear, even though (since the text
should be right aligned), the text would have been on the plot and be visible.
Any workaround?
Regards,
-JJ
On Fri, Dec 2, 2011 at 10:19 PM, Neal Becker
ndbeck...@gmail.com wrote:
Using horizontalalignment='right', it seems that if a point lies on the right
edge of the plot, the annotation does not appear, even though (since the text
should be right aligned), the text would
I have a legend that is going to have some abbreviations to compactly indicate
the properties of different lines in a graph. I'd like to add a little 'key'
to
explain what the notation means. Any suggestion?
--
Keep
Ethan Swint wrote:
On 1/25/2012 1:32 PM, Neal Becker wrote:
I have a legend that is going to have some abbreviations to compactly
indicate
the properties of different lines in a graph. I'd like to add a little 'key'
to
explain what the notation means. Any suggestion?
I was thinking
Using this code:
self.pdf = PdfPages('%s.%s.pdf' % (name, str(date.today(
Trying to output a pdf with the name
results.abs_aci=[10.0, nan, 10.0].rate=['2/3', '4/5', '2/3'].2012-03-12.pdf
produces this error
IOError: [Errno 2] No such file or directory: results.abs_aci=[10.0, nan,
I have a figure with a semilogy plot. I need to make more room on the bottom
to
add a bunch of figtext, which is 4 lines of text.
With the defaults, the text overprints the x-axis.
What is a suggested way to fix this? (Ideally, mpl would calculate the
appropriate sizes for me so things
In the following code snippet (not a complete example), I get the
dashed lines for the minor ticks on the y (log) axis, but on the x axis, I only
got the major ticks lines. How do I get minor lines to show up?
(Previously, I tried without the MultipleLocator and set_minor_locator, but
still
Any ideas what this is about?
No traceback, just this message:
Exception RuntimeError: 'sys.meta_path must be a list of import hooks' in
bound
method plot.__del__ of __main__.plot object at 0x2cf5c10 ignored
--
Live
Neal Becker wrote:
Any ideas what this is about?
No traceback, just this message:
Exception RuntimeError: 'sys.meta_path must be a list of import hooks' in
bound method plot.__del__ of __main__.plot object at 0x2cf5c10 ignored
Maybe I found it. I had an object managing my plot, which
I tried a scatterplot with legend(loc='best'), but the legend
appears on the upper right, covering a data point. There is nothing anywhere
in the graph on the upper left, which is where 'best' should go.
--
Live
OK, I've attached my sanitized example
Benjamin Root wrote:
On Tue, Sep 11, 2012 at 9:29 AM, Neal Becker
ndbeck...@gmail.com wrote:
I tried a scatterplot with legend(loc='best'), but the legend
appears on the upper right, covering a data point. There is nothing
anywhere
in the graph
http://blog.wolfram.com/2012/10/05/automating-xkcd-diagrams-transforming-
serious-to-funny/
I wonder if mpl has anything along these lines?
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Mathew Topper wrote:
Hi,
I'm interested to know why the pip package manager is not more widely
supported for installation of python packages like matplotlib?
Matplotlib seems to be particularly slowly updated in the Fedora
repositories, for example, so I often find that a source
.
Mat
On 19/11/12 12:59, Neal Becker wrote:
Mathew Topper wrote:
Hi,
I'm interested to know why the pip package manager is not more widely
supported for installation of python packages like matplotlib?
Matplotlib seems to be particularly slowly updated in the Fedora
repositories
like the current Fedora TexLive2012
testing repository - but obviously this is no small job.
python setup.py install doesn't have similar issues, I take it?
Mat
On 20/11/12 11:40, Neal Becker wrote:
The problem is that pip packages something as a dir where easy_install
packages as a file
I'm using fedora (17) linux. I notice on complicated 3d plot, interactive
performance can get sluggish. I'm using nouveau driver now, but wondering if
installing nvidia driver will improve mpl 3d performance? Does mpl use opengl?
Objective:
produce multi-page pdfs using xelatex so I can have advanced latex and stix
fonts (using xits package)
I've used pdf multipage with the recipe:
import matplotlib as mpl
mpl.use ('pdf')
import matplotlib.pyplot as plt
from matplotlib.backends.backend_pdf import PdfPages
pdf =
Neal Becker wrote:
Objective:
produce multi-page pdfs using xelatex so I can have advanced latex and stix
fonts (using xits package)
I've used pdf multipage with the recipe:
import matplotlib as mpl
mpl.use ('pdf')
import matplotlib.pyplot as plt
from matplotlib.backends.backend_pdf
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()
plt.axis([0,1000,0,1])
i=0
x=list()
y=list()
while i 1000:
:
temp_y=np.random.random()
x.append(i)
y.append(temp_y)
plt.scatter(i,temp_y)
i+=1
plt.draw()
On Mon, Mar 11, 2013 at 9:55 AM, Francesco Montesano
franz.berges...@gmail.com wrote:
Dear Neal,
2013/3/11 Neal Becker ndbeck...@gmail.com
I want to update a plot in real time. I
mpl is 1.2.0
Fedora linux
On Mon, Mar 11, 2013 at 9:57 AM, Neal Becker ndbeck...@gmail.com wrote:
Tried with/and without plt.ion(), no difference. Nothing is drawn. When
I kill it with C-c, briefly a window is flashed.
import matplotlib as mpl
import matplotlib.pyplot as plt
plt.ion
I added fig.canvas.show(). It still does nothing.
If I add
mpl.use ('GTK'), now it seems to be doing realtime plotting.
import matplotlib as mpl
import matplotlib.pyplot as plt
plt.ion()
import numpy as np
fig=plt.figure()
plt.axis([0,1000,0,1])
i=0
x=list()
y=list()
fig.canvas.show()
while i
According to other examples I see on the web, use of 'relim' and
'autoscale_view' should result in rescaling and drawing new axes. Doesn't.
Unless I explicity call
ax.axis ([...])
I don't get any rescaling.
Here's an example:
import matplotlib as mpl
mpl.use ('GTK')
import matplotlib.pyplot
.
-Sterling
On Mar 11, 2013, at 10:43AM, Neal Becker wrote:
According to other examples I see on the web, use of 'relim' and
'autoscale_view' should result in rescaling and drawing new axes.
Doesn't.
Unless I explicity call
ax.axis ([...])
I don't get any rescaling.
Here's an example
what you come up with, I'm interested.
-Dave
P.S. Why use a while loop? You can do the same thing with:
for i in range(1000):
# Do stuff
On 3/11/13 10:34 AM, Neal Becker wrote:
I added fig.canvas.show(). It still does nothing.
If I add
mpl.use ('GTK'), now it seems
Maybe look into pgf. It's slow, but looks good.
http://matplotlib.org/users/pgf.html
--
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete
for
It appears that latex doesn't work with xkcd?
I put for example:
self.ax.set_xlabel ('$E_s/N_0$')
Which go rendered with the '$' signs and not as latex
And my vertical axis was labeled as:
$\mathdefault{10^{3}}$ ...
mode is not compatible with text.usetex = True|
Mike
On 10/18/2013 07:24 AM, Neal Becker wrote:
It appears that latex doesn't work with xkcd?
I put for example:
self.ax.set_xlabel ('$E_s/N_0
)
Which go rendered with the '
signs and not as latex
And my vertical axis
)
RuntimeError: xkcd mode is not compatible with text.usetex = True|
Mike
On 10/18/2013 07:24 AM, Neal Becker wrote:
It appears that latex doesn't work with xkcd?
I put for example:
self.ax.set_xlabel ('$E_s/N_0
)
Which go rendered with the '
signs and not as latex
Michael Droettboom wrote:
On 10/18/2013 08:20 AM, Neal Becker wrote:
Michael Droettboom wrote:
The built-in mathtext support does. (I can put xkcd() at the top of
the mathtext_demo.py example and all is well).
It does not work when |text.usetex| is True (when using external TeX
Neal Becker wrote:
This example shows the error on my platform - the xlabel is not rendered with
tex but instead the '$' are printed:
import numpy as np
import matplotlib.pyplot as plt
plt.xkcd()
fig = fig = plt.figure()
ax = fig.add_subplot(111)
plt.plot (np.arange (10), 2*np.arange
example works just fine
for me.
Mike
On 10/18/2013 08:40 AM, Neal Becker wrote:
Neal Becker wrote:
This example shows the error on my platform - the xlabel is not
rendered with
tex but instead the '$' are printed:
import numpy as np
import matplotlib.pyplot as plt
plt.xkcd
I have a blue line plot and a green line plot. I'd like to add some figtext at
the bottom, and I'd like the text colors to match the plot colors. So I'd have
some text in blue and some in green.
figtext only allows one color
I could use 2 figtext, but then I have to manually find coordinate
I tried:
plt.title (r'$\omega=%s$' % omega), where omega=-1e-5. The title says:
omega=-1e-05
with the 'e' in italics, and the whole thing generally ugly.
What I'd like to see is what TeX would do for $1 \times 10^{5}$.
I know mpl already can nicely format numbers for axis. Can I somehow use
Didn't seem to work for me. I tried
pip install --user hg-git
hg clone https://github.com/scipy/scipy
abort: HTTP Error 406: Not Acceptable
So how about using hg-git just locally?
hg clone scipy scipy.hg
** Unknown exception encountered with possibly-broken third-party extension hg-
git
**
Sorry, this was posted to the wrong group
Neal Becker wrote:
Didn't seem to work for me. I tried
pip install --user hg-git
hg clone https://github.com/scipy/scipy
abort: HTTP Error 406: Not Acceptable
So how about using hg-git just locally?
hg clone scipy scipy.hg
** Unknown
I'm using
import matplotlib as mpl
mpl.use ('pdf')
from matplotlib.backends.backend_pdf import PdfPages
...
self.pdf = PdfPages(file_name)
...
self.pdf.savefig (self.fig)
plt.close()
...
pdf.close()
This works fine, but now I want to try pgf.
If I add:
from matplotlib.backends.backend_pgf
Any idea what could cause hexbin to issue runtime warnings and then draw
a blank figure?
/home/nbecker/.local/lib/python3.3/site-packages/matplotlib/axes.py:6524:
RuntimeWarning: invalid value encountered in true_divide
x = (x - xmin) / sx
I am trying to update a figure in a loop:
import matplotlib.pyplot as plt
plt.ion()
plt.figure (1)
def c2r (z):
return z.real, z.imag
plt.hexbin (*c2r (run_ofdm (xconst_pred)[:opt.used]), mincnt=1)
plt.draw()
But no figure appears on the screen. What am I
I've seen examples for 2 axis using twinx, and examples using subplothost.
Any reason to choose one over the other?
--
Subversion Kills Productivity. Get off Subversion Make the Move to Perforce.
With Perforce, you get
I've never used matlab (and hope never to have to). But I've been using pyplot
api for mpl for quite a while.
Is there any good reason to move to the native mpl api and drop pyplot? I
ask
because as I understand, pyplot is intended as a matlab workalike, and since I
never learned matlab I
Paul Hobson wrote:
The only pyplot function I let myself use is plt.subplots() to quickly
create the Figure and Axes objects. From that point on, I operate on those
objects directly. Frankly, it reads almost exactly like pyplot code, but it
is a *lot* more clear what's going on.
...
I tried the simple example, but all examples I try choke on savefig ('blah.pdf')
This is fedora20 linux, with pretty modern, complete texlive.
I tried rm'ing tex-cache
example.py
# -*- coding: utf-8 -*-
import matplotlib as mpl
mpl.use(pgf)
pgf_with_rc_fonts = {
Neal Becker wrote:
I tried the simple example, but all examples I try choke on savefig
('blah.pdf') This is fedora20 linux, with pretty modern, complete texlive.
I tried rm'ing tex-cache
example.py
# -*- coding: utf-8 -*-
import matplotlib as mpl
mpl.use(pgf
https://github.com/matplotlib/matplotlib/issues/3051
--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing
I use pip install --user whatever
--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for
Using pip (so default build),
while building mpl-1.4 on fedora-20 linux, I noticed:
openblas_info:
libraries not found in ['/usr/local/lib64', '/usr/local/lib',
'/usr/lib64', '/usr/lib', '/usr/lib/']
NOT AVAILABLE
openblas is installed. Should I be concerned?
--
-- Those who
I'm pleased to see violinplot added to mpl-1.4. One question. I might like to
annotate with some statistic. Like boxplot can show quantiles. I might like
to
show either quantiles, or some other statistic (3 sigma) on my violinplot.
After all, violinplot is advertised as an improved
-08-27 12:15 GMT-03:00 Neal Becker ndbeck...@gmail.com:
I'm pleased to see violinplot added to mpl-1.4. One question. I might
like to
annotate with some statistic. Like boxplot can show quantiles. I might
like to
show either quantiles, or some other statistic (3 sigma) on my
violinplot
I need to overlay 2 different plots. They will share an x-axis, but will have
2
different y axis with 2 different sets of units. I want one y-axis on left and
one on right.
But to make it harder, I want a grid. That means, there are either 2 different
grids, which is ugly, or one plot has
Paul Hobson wrote:
I only have the notebook to mes around in, but the following works for me:
%matplotlib nbagg
import matplotlib.pyplot as plt
fig, ax = plt.subplots(nrows=2, sharex=True, sharey=True)
On Tue Feb 03 2015 at 4:07:26 PM Neal Becker
ndbeck...@gmail.com wrote:
I have 2
I have 2 subplots, 2 rows 1 col. They have the same x-axis.
I'd like to be able to zoom in on both plots together. Using qt4agg, there is
a
zoom icon, but it seems to operated on each subplot separately.
--
-- Those who don't understand recursion are doomed to repeat it
I vote for D, although I like matlab's new default even better
--
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
Is there some way I can add a short text to the legend box? Rather than
having
label='foo=0'
label='foo=1'
...
I'd like to just put 'foo' say at the top of the legend box. Any thoughts?
--
Neal Becker wrote:
Using mpl 1.4.3 on Fedora 22, I'm trying to use stix font (so I can render
the unicode lambda label on the x-axis). I have every fedora package
related to 'stix', I think. It displays ok in qtagg4, but if I try to save
to pdf if fails with
RuntimeError
Using mpl 1.4.3 on Fedora 22, I'm trying to use stix font (so I can render
the unicode lambda label on the x-axis). I have every fedora package
related to 'stix', I think. It displays ok in qtagg4, but if I try to save
to pdf if fails with
RuntimeError Traceback
1 - 100 of 103 matches
Mail list logo