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
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
=[(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'
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
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,
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
Blais
--
Brian Blais
[EMAIL PROTECTED]
http://web.bryant.edu/~bblais
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100
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
--
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
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
-
,
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
19 matches
Mail list logo