lt
that is symmetric along the x-axis).
Why is that, and what could I do to fix this issue?
Kind regards,
Brian
--
___
Matplotlib-users mailing list
Matplotlib-users@lists.s
econd "log=True" and all
result in the same TypeError.
Regards,
Brian
On Apr 18, 2013, at 12:42 PM, Michael Droettboom wrote:
> Can you please provide a complete, minimal and self-contained script
> that reproduces the error? The example below has many undefined
> varia
703]
[ 0.4480989 0.49201202 0.25450802 0.39503598 0.32998705 0.33187294
0.35646415 0.36470699 0.3162992 0.28596401 0.39307094 0.4239881
0.32525587 0.30294204 0.38540196 0.2962110.35584903 0.31555796
0.35734415 0.36554003]]
On Thu, Sep 20, 2012 at 7:46 PM, Benjamin R
Hi all,
I have managed to create a 3d plot with uneven aspect ratio via
auto_scale_xyz but I haven't yet figured out how to fix the grid. If you
could give me a pointer I would appreciate it.
http://imagebin.org/index.php?mode=image&id=229196
Thanks,
--
Brian Mingus
Graduat
is feature
available?
Regards,
Brian
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussion
cmap=cm.hot,
aspect='auto',
interpolation='nearest',
)
draw()
--
Brian Blais
bbl...@bryant.edu
http://web.bryant.edu/~bblais
http://bblais.blogspot.com/
--
All of the data gener
l the best,
Brian.
At 12:22 PM 10/22/2010, Stan West wrote:
> > From: Brian J. Soher [mailto:bso...@briansoher.com]
> > Sent: Thursday, October 14, 2010 10:27
> >
> > I'm using matplotlib 0.98.5.2, wxPython version 2.8-msw-unicode, on
> > Windows XP Professional x64
idea how to fix this, I'd very much appreciate it.
Thanks,
Brian J. Soher
Duke University
-
import wxversion
wxversion.ensureMinimal('2.8')
from numpy import arange, sin, pi
import matplotlib
matplotlib.use('WXAgg')
from matplotlib.
On Sep 20, 2010, at 9:58 PM, Ryan May wrote:
> On Mon, Sep 20, 2010 at 8:14 PM, Brian Blais wrote:
>> sure, but that take more effort, and I don't really care about a slow down,
>> because most of my time is spent in the busy loop.
> It might be more effort, but what
On Sep 20, 2010, at 7:43 PM, Benjamin Root wrote:
> On Mon, Sep 20, 2010 at 5:12 PM, Brian Blais wrote:
> I am trying to do some simple calculations in a loop, and draw a plot
> periodically within the loop, and the drawing is not updating. I'm using the
> Enthought Python D
e set in my matplotlibrc - backend : TkAgg, but it doesn't work
with WxAgg either.
Am I missing something? Is this an idiom that needs to be avoided/replaced?
Any help would be great!
thanks,
Brian Blais
--
Brian Blais
bbl...@bryan
with the values that compute?
For some reason
ax.get_xmajorticklabels()[0].get_text() returns ''
Thanks much,
Brian
--
Brian A. Larsen
Space Science and Applications
Group ISR-1
Los Alamos National Laboratory
PO Box 1663, MS-D466
Los Alamos, NM 87545
USA
(For overnight add
Perfect thank you, no wonder I didnt find it, plt.gca().add_collection(lc)
never found its way to my radar.
Cheers,
Brian
On Sep 7, 2010, at 7:58 PM, Ryan May wrote:
> On Tue, Sep 7, 2010 at 6:50 PM, Brian Larsen wrote:
>> Hey all,
>> I think I know the answer here as &q
s with the current colortable.
Thanks much,
Brian
--
Brian A. Larsen
Space Science and Applications
Group ISR-1
Los Alamos National Laboratory
PO Box 1663, MS-D466
Los Alamos, NM 87545
USA
(For overnight add:
SM-30, Bikini Atoll Road)
Phone: 505-665-7691
Fax: 505-665-7395
email: balar..
.
http://plasmasphere.nasa.gov/models/gcpm_v22_eq_kp1.jpg
I can work out the geometry and all but putting the map in that black region
has me baffled.
Brian
On Aug 27, 2010, at 11:52 AM, Aman Thakral wrote:
> Here is an example of the general usage for an orthographic projection.
>
Ben,
I have but no where in there do I see (or at least understand) how to draw a
map on top of a current figure with set bounds in data space...
Cheers,
Brian
On Aug 27, 2010, at 11:24 AM, Benjamin Root wrote:
> On Fri, Aug 27, 2010 at 12:11 PM, Brian Larsen wrote:
> Hello all,
example:
from pylab import *
r = ndarray(40)
r[:] = 3.3
rad = linspace(0, 2*pi, 40)
figure()
subplot(111, polar=True)
plot(rad, r, lw=3)
draw()
wouldn't it look great to have the earth plotted in the space up to 1.0 (as
measured in earth radii)?
Thanks much,
Brian
--
Brian A. L
=[(0.0, 0.5, 0.5),
(ratio/2, 1, 1),
(ratio, 1.0, 1.0)]
cdict['red'].extend(red)
cdict['green'].extend(green)
cdict['blue'].extend(blue)
my_cmap = matplotlib.colors.LinearSegmentedColormap
('my_colormap'
Greetings everyone,
This year, there will be two days of tutorials (June 28th and 29th) before the
main SciPy 2010 conference. Each of the two tutorial tracks (intro, advanced)
will have a 3-4 hour morning and afternoon session both days, for a total of 4
intro sessions and 4 advanced sessions.
T
orial content.
* A list of Python packages that attendees will need to have installed to
follow along.
Cheers,
Brian Granger
SciPy 2010, Tutorial Chair
--
Download Intel® Parallel Studio Eval
Try the new software tool
I've done this successfully with both the Qt4 and WX Agg backends. The part
you care about is the update method.
Here's the snippet I use for Qt. It shouldn't change except for your
imports at the top if you're using Wx. Note, I've trimmed this down a bit,
so hopefully I didn't trim out anythin
t, size=18)
but this must be wrong.
Thanks much,
Brian
--
---
Brian A Larsen, PhD
RBSP-ECT Instrument Suite Scientist
Boston University
Center for Space Physics
725 Commonwealth Ave, Rm 506
Boston, MA 02215-1401
T: 617-358-4945
science and visualizations done can be really useful.
I'm in SM11A poster session Monday morning if anyone wants to stop by
and say hello.
SM11A-1562
Poster Hall (Moscone South)
Cheers,
Brian
--
---
Brian A Larsen, PhD
RBS
much for any help,
Brian
--
---
Brian A Larsen, PhD
RBSP-ECT Instrument Suite Scientist
Boston University
Center for Space Physics
725 Commonwealth Ave, Rm 506
Boston, MA 02215-1401
T: 617-358-4945
F: 617-353-64
different sizes so that
each "pixel" has identical counting statistics. Now assume that one wanted the
Y-axis to be plotted in log.
Anyone have any thoughts or toy examples?
Thanks much,
Brian
--
-------
Brian A Larsen
plt.show()
for i in range(100):
h.set_ydata(numpy.random.rand(3)*2+1)
plt.draw()
--
Brian Blais
bbl...@bryant.edu
http://web.bryant.edu/~bblais
--
Let Crystal Reports handle the reporting - Free Crystal Reports 200
did a plot, then updated the data on the plot object, and called draw
that it would actually draw it (like it does in matlab). right now
it just gives me a blank figure, with a busy mouse icon, and then
shows the last plot done.
thanks,
Brian Blais
import numpy
i
I just upgraded to 0.99.1 and it's working perfectly now. I was previously
hacking _png.so with install_name_tool, and that's not necessary anymore as
well.
Thank you to Emanuele and everyone else...much appreciated!
BZ
On Tue, Nov 10, 2009 at 1:38 PM, Emanuele Santos
wrote:
> On Tue, Nov 10,
FWIW, I'm using the official 0.98.5.
Looking at the app bundle, all of the matplotlib .so files are linking
against:
@executable_path/../Frameworks/libgcc_s.1.dylib
...*except* matplotlib/backends/_macosx.so which is linking against:
/usr/lib/libgcc_s.1.dylib
So, I didn't see any looking in /u
lib present in the system and the wrong
> one was being loaded.
>
> I don't think it's a py2app bug because I can reproduce it by just running
> python.org's python and importing matplotlib.axis.
>
> I guess it is a bug in matplotlib.
>
> -- Emanuele.
>
I'm getting my Py2app build running and think I've worked around some
issues, but another major one has come up. My application is being built on
OS X 10.5.8, where matplotlib is, oviously, installed. On another 10.5.X
machine without any of the app's dependencies, my compiled app runs just
fine.
Just this afternoon I saw the same issue with the binary egg for 0.99.1 for
OS X.
Brian
On Wed, Sep 23, 2009 at 7:59 PM, John Hunter wrote:
> On Wed, Sep 23, 2009 at 4:39 PM, Christopher Barker
> wrote:
> > Teemu Rinne wrote:
> >> from matplotlib import ft2font
>
Chicago Python User Group
=
We welcome back Dr John Hunter. Matplotlib is probably the most
popular open source 2D plotting library ever. It has multiple
rendering engines, supports tons of plot formats, and even typesets
complicated equations properly. Matplotlib, m
Does there exist any big-picture comparisons of the provided backends? For
example, it would be nice to know what features each backend has or lacks.
It would also be nice to which backends were generally faster...and which
were recommended (WX or WXAgg).
--
;t support
this "new" type of interactive usage. We (ipython devs) are working with
the wx devs to change that. Once that is done, we should be able to get rid
of all the nasty threading code in ipython. More details will follow.
Cheers,
Brian
On Thu, Jul 2, 2009 at 10:48 AM, Michael
On my system, this example appears to be working just fine. I even bumped
the number of data points from 1000 to 10,000. I'm on OS X 10.5.7 with:
matplotlib 0.98.5.2
PyQt 4.5.1 (GPL)
Qt 4.5 (LGPL)
Maybe try updating your PyQt installation?
BZ
On Thu, Jul 2, 2009 at 6:46 AM, Ole Streicher wrot
Hi all,
I'm having a problem with resizing a FigureCanvas using the Qt4 backend when
the FigureCanvas is used alongside some dock widgets. What happens is that
the figure never grows beyond the original size set when the window or other
dock widgets are expanded. It's probably easier to look at
canvas and everything worked fine. I
also removed the overridden resizeEvent.
BZ
On Wed, Jul 1, 2009 at 1:17 PM, Brian Zambrano wrote:
> Hi all,
>
> I'm having a problem with resizing a FigureCanvas using the Qt4 backend
> when the FigureCanvas is used alongside some do
scripted to? Hadn't seen
draw() before either, though I know show() .. these sort of things I
am curious to learn about before I see them in code for the first
time.
actually, that's how I learned most of it...by seeing it in code at
some point. :)
hope this helps,
Hi,
I'm trying to plot two thick lines that are separated only by a constant.
import matplotlib.pyplot as plt
import numpy as np
shift = .1
x = np.linspace(0,10,100)
y1 = np.sin(x)
y2 = y1 + shift
lw = 10
alpha = .8
plt.plot(x, y1, linewidth=lw, alpha=alpha)
plt.plot(x, y2, linewidth=lw, alpha=al
.
Thanks,
Brian
On Thu, May 7, 2009 at 9:07 AM, Christopher Barker
wrote:
> John Seales wrote:
>> Turns out that libfreetype in X11 has a bug with mac os 10.4.11. I found
>> out how to fix it on
>> http://forums.macosxhints.com/archive/index.php/t-98792.html . The new
&g
On Wed, Apr 8, 2009 at 7:33 AM, Ryan May wrote:
>
> import matplotlib.ticker as mticker
>
> def minsec(sec, unused):
> minutes = sec // 60
> sec = sec - minutes * 60
> return '%d:%02d' % (minutes, sec)
>
> locator = mticker.MultipleLocator(60)
> formatter = mticker.FuncFormatter(minse
He there,
I'm new to matplotlib but have really been appreciating the thorough
documentation and examples online. I've never worked with matlab either so
I'm stumbling my way around a bit, but have managed to get some basic plots
working with my wxPython program.
I'm plotting some simple time/t
Wow, it is really striking how much better the matplotlib version of
this plot is compared to R. Very nice!
Brian
On Thu, Apr 2, 2009 at 7:21 PM, John Hunter wrote:
> On Thu, Apr 2, 2009 at 3:11 PM, totallyunimodular wrote:
>>
>> I am interested in making spie charts in
Referenced from:
/Users/bgranger/Library/Python/2.5/site-packages/matplotlib/ft2font.so
Expected in: /usr/local/lib/libfreetype.6.dylib
I am using the system freetype lib. Does anyone have any hints on
hunting this one down?
Than
Chicago Python User Group
=
For the first time ever (not really) ChiPy will return to the same
venue two months in a row! Sully's on the North Side, Near North and
Clybourn.
Heading off the ChiPy efforts will be another sequel from last month.
James Snyder will focu
de the for loop.
Is this the desired behavior?
I can do:
vec1=arange(0,100,1)
vec2=arange(0,100,5)
vec3=nan*ones(tVec1.shape)
for i in vec2:
vec3[where(vec1==i)]=i
thanks,
Brian
--
Brian E. McLaughlin
Oceanographic Research Specialist
Department of Oceanography
School of Ocean and Earth Scien
er plot (a sine wave). For some reason, when you try to subplot with 2 rows and 2 columns (and probably more) the line doesn't appear on the plot. what it should look like, and does with .91.2, is attached. bb-- Brian Blais[EMAIL PROTECTED]http
On Apr 23, 2008, at Apr 23:6:56 PM, Brian Blais wrote:
On Apr 23, 2008, at Apr 23:4:33 PM, Brian Blais wrote:
I just upgraded a number of things on my Mac OS X (Tiger) machine,
including to the latest version of wx and matplotlib. I found
that there is a bug in the display of dynamic
On Apr 23, 2008, at Apr 23:4:33 PM, Brian Blais wrote:
I just upgraded a number of things on my Mac OS X (Tiger) machine,
including to the latest version of wx and matplotlib. I found that
there is a bug in the display of dynamic plots with subplots. If I
change the subplot line in the
= self.fig.add_subplot(221)
instead of
a = self.fig.add_subplot(111)
the plot never shows. It works for 111, and for 121, but not 221.
Not sure why! It works in interactive mode, in ipython, but not in
dynamic plot.
Any ideas?
thanks,
Brian
Hello,
Is there an easy way to turn the box of an axis off, but only the top
and right lines, keeping the bottom and left lines of the axis
visible? I'd like to make a plot that has an x and y axis, but not a
complete box around the data.
thanks,
Brian Blais
--
for the help.
Regards,
Brian
On Dec 5, 2007, at 4:01 PM, Michael Droettboom wrote:
> Sorry for the wild goose chase. Now that my memory has been jogged
> -- This is actually a known problem with the Cairo backend. Cairo
> only allows access to fonts installed in the normal OS
5/site-packages/matplotlib/mpl-data'
Deleting the ~/.matplotlib/fontManager.cache did not change the
behavior. Thanks for all the help. I really like using matplotlib on
my Mac but it doesn't have the power that my Ubuntu box has.
Regards,
Brian
On Dec 5, 2007, at 2:52 PM, Michael D
behavior nor why that would be the only
side effect.
Regards,
Brian
On Dec 5, 2007, at 1:36 PM, Michael Droettboom wrote:
> It works for me on Linux with matplotlib 0.91.1, and Cairo 1.4.0.
>
> What version of matplotlib and Cairo are you using? It sounds like
> it may be pullin
w()
savefig('test.pdf')
The output looks fine in GTKAgg but then I get an error on glib.
Anyone have any ideas on how to get it working?
Regards,
Brian
-
SF.Net email is sponsored by: The Future of Linux Business W
ImportError: cannot import name rcParams
I'm using the latest versions of matplotlib and numpy, ActivePython 2.5 (all
for Windows XP). Any help would be appreciated.
Regards,
Brian.
-
SF.Net email is sponsored by: The Futur
On Jul 26, 2007, at Jul 26:4:49 PM, Jouni K. Seppänen wrote:
Brian Blais <[EMAIL PROTECTED]> writes:
and it works with pylab. But, if I use matplotlib.Figure directly in
an app, and then call:
myfig.savefig('blah.pdf') it saves it as 'blah.pdf.jpg', a jpeg
f
:
myfig.savefig('blah.pdf') it saves it as 'blah.pdf.jpg', a jpeg file.
any ideas? I can try to throw together some example, in case someone
needs to repeat it.
thanks,
Brian Blais
--
Brian Blais
[EMAIL PROTECTED]
http://we
On Wed, Jun 27, 2007 at 11:40:39AM -0500, John Hunter wrote:
> On 6/27/07, Brian T.N. Gunney <[EMAIL PROTECTED]> wrote:
>
> ># Process key presses.
> >def on_key(event):
> >if event.key=='w':
> ># Close current window.
>
On Wed, Jun 27, 2007 at 09:16:09AM -0500, John Hunter wrote:
> On 6/26/07, Brian T.N. Gunney <[EMAIL PROTECTED]> wrote:
> >I have a matplotlib script that generates several figures.
> >When a figure receives an event, how do I know which figure
> >it did it? For ex
es have been closed.
I'd appreciate any help or pointers.
Brian
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just d
It sounds to me that you want to have a contour plot which takes as input
the r,theta, and T. I would suggest just
On 6/26/07, Lorenzo Isella <[EMAIL PROTECTED]> wrote:
Hello,
Thanks for your suggestion, but I still have a problem.
Maybe I did not make myself clear (or most likely I have a pro
vt(width)
: 'module' object has no attribute
'decoding_map'
[/traceback]
Any help would be great!
-Brian
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2
atest pytz installed, and there is no pytz.zoneinfo module!
There
is a directory under pytz called zoneinfo, but there is no __init__.py. Is
there
something I am missing? Have others managed to get py2app work with an app
that uses
matplotlib?
thanks,
B
Hello,
I poked around a bit, and couldn't find the answer to this. Is there a way to
specify the default order of line colors and styles, for plot commands given in
sequence, like:
plot(x1,y1)
plot(x2,y2)
plot(x3,y3)
thanks,
Brian
Out[11]:'0.87.2'
running linux, python 2.4.
thanks,
Brian Blais
--
-
[EMAIL PROTECTED]
http://web.bryant.edu/~bblais
-
Muchas Muchas Gracias!
bpw
On 7/14/06, Stefan van der Walt <[EMAIL PROTECTED]> wrote:
> On Thu, Jul 13, 2006 at 08:21:14PM -0400, Darren Dale wrote:
> > On Thursday 13 July 2006 8:08 pm, Brian Wilfley wrote:
> > > I'm afraid I mixed and matched inappropriately withe
s below.
I'm afraid I mixed and matched inappropriately withe the enthought 2.4
beta 3 and matplotlibe 0.87.4 py2.4 pairing.
Any thoughts?
Thanks for your help.
Brian
ipython shell output--
**
,
Brian Blais
#!/usr/bin/env python
from wxPython.wx import *
import pylab
class MyFrame(wxFrame):
def __init__(self, parent, id, title):
wxFrame.__init__(self, parent, -1, title)
self.CenterOnScreen()
menuBar = wxMenuBar()
# 1st menu from
There is a package called PyQwt3D/Qwt3D that can be used.
Brian
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jonathan Taylor
Sent: Thursday, June 01, 2006 1:38 PM
To: matplotlib-users
Subject: [Matplotlib-users] 3d bar plots
Hi,
Was wondering if
71 matches
Mail list logo