Head over to https://www.euroscipy.org/2015/ for more information.
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs a
Thank you for your quick answer. I understand the performance issue you
mentioned. For now it is only a proof of concept.
I just figured out how to do it in theory by using
figure.subplot.left|right|bottom|top plus a few other settings.
I'll certainly look at the webagg backend. Are there any exa
The observant reader will also notice the strange rotation keyword given to
RegularPolyCollection. This keyword is ignored in the macosx backend, and I
have been unable to find out why.
Thank you for all tips and pointers
--Tom Gryd
On 06/05/2012 10:14 AM, Kevin Hunter wrote:
> At 10:47pm -0400 Sun, 03 Jun 2012, Tom Dimiduk wrote:
>> Very few people outside my group use it at the moment, but that looks
>> to be changing at least a bit. I will hopefully get a paper out about
>> the code by the end of the
x27;, etc so
that I can make a plot figure with a black background using the same
script as one for the normal white background.
A spent a little while googling and didn't find anything apart from
specifically setting different colors for every single plot element.
This would be tiresome.
()
returns the last subplot which is not what I want.
The question is if there is any way to tell gca() which Axes is the current
Axes.
Thanks,
Tom
--
All the data continuously generated in your IT infrastructure
contains a
Ben's changes.
Thanks a bunch!
Tom
On 08/17/2011 03:30 PM, Benjamin Root wrote:
> Two issues with your code that should significantly speed things up.
>
> First, by calling imshow() each time for the draw, there is significant
> overhead caused by this. Instead -- (and this
Here is how am solving this problem. It isn't terribly fast either, but
it works for me. I wrote something with pygame that was faster, but it
had its own set of problems.
Tom
---
import numpy as np
import pylab
class plotter:
def __init__(self, im, i=0):
self.im
uld I go about doing that?
Tom
--- backend_qt4.py 2011-04-11 11:37:21.200228001 -0400
+++ /home/tdimiduk/download/matplotlib/lib/matplotlib/backends/backend_qt4.py
2011-04-11 11:44:46.77000 -0400
@@ -126,11 +126,7 @@
keyvald = { QtCore.Qt.Key_Control :
use
im[im.shape[1]-y, x] to get the pixel a user clicked on. Is that correct?
Thanks agaian,
Tom
On 03/15/2011 05:35 PM, Eric Firing wrote:
> On 03/15/2011 10:23 AM, Tom Dimiduk wrote:
>> It appears to me that when imshow tells you that the mouse cursor is at
>> x=50, y=100
>>
It appears to me that when imshow tells you that the mouse cursor is at
x=50, y=100
That corresponds to array element
im[100, 50]
Is there a reason imshow does not have x be the first coordinate of the
array as I would think of as conventional usage?
Tom
ion for each
streamline because I didn't see how to set different properties (colour and
width) for different portions of the line in the compound path. LineCollection
performs well enough for this plot so I'm happy with this solution.
Tom
-
...).
Tom
On 02/09/2011 07:30 PM, Robert Abiad wrote:
> Tom,
>
> I just went through this, though with version 1.01 of mpl, so it may be
> different. You can read the
> very long thread at:
>
> http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg20031.html
>
s2.png) I use a plot
command for each line segment which is very slow and nasty. Is there a better
way I'm missing?
Tom
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory
behaviour is with
a = ones((,))
imshow(a)
optionally
close()
and then
imshow(a)
again. I am using ipython .10.1 and matplotlib 0.99.3. Is there
something I should be doing differently to avoid this problem? Is it
fixed in a later version?
Thanks,
Tom
Dear Sebastian,
Your solution is simple, well described and it works with minimal effort
Thank you so much!
I hope the Matplotlib devellopers will take some action.
Tom
Op 6-2-2011 13:16, Sebastian Voigt schreef:
> Hello Tom,
>
> I encountered the same problem recently. The toolbar ic
imize' : 2,
'bundle_files' : 2,
'includes' : INCLUDES,
'excludes' : EXCLUDES,
'dll_excludes' :
lf, 'ind_offset'):
Is modifying lines.py the only way to fix this, or should I do something
else in the fourier demo?
Best regards, Happy New Year to all, etc,
- Tom K.
--
View this message in context:
http://old.nabble.com/caveats-found-installing-matplotlib-from-svn-source-on-pyt
Jeremy Conlin writes:
>
> I recently installed MPL on two Macs, one running 10.6 and another
> running 10.5. When I try to plot, I get the following error:
>
> TclError: couldn't open
>
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
site-packages/matplotlib/mpl-data/images/h
Google Group that covers
Grima as well as some other bits of free software also released today.
A list of these are up at http://github.com/cdsi.
Thank you,
-Tom
PS - A special thanks to the matplotlib community, and to
http://unpythonic.blogspot.com/2007/08/using-threads-in-pygtk.html for
all of the
uot;normal" user? Is this a bug and
will be fixed in a newer version of matplotlib or what do I have to do
to get "less levels"?
Thank you for your help.
Tom
Am 01.08.2010 20:12 schrieb Eric Firing:
> On 08/01/2010 07:35 AM, Benjamin Root wrote:
>> On Sun, Aug 1, 2010 a
igure()
ax = axes3d.Axes3D(fig)
X, Y, Z = axes3d.get_test_data(0.05)
cset = ax.contourf(X, Y, Z, 0) # doesn't work with contour
ax.clabel(cset, fontsize=9, inline=1)
plt.show()
Many greetings,
Tom
--
The Pa
6. This same problem was also evident using
GtkAgg and MacOSX backends so I don't think the details of my build
are relevant (but I can supply if needed).
Thanks, Tom
import numpy
import matplotlib.pyplot as plt
y = numpy.array([
4., 2., 2., 3., 3., 2., 2., 6., 6., 5., 5., 4., 4.,
7., 7.,
It looks like you are storing your source data in a python list. Matplotlib
runs much faster if you store your data using a numpy array instead.
I'm no expert, but it certianly sped up my graph drawing.
-Tom
Message: 5
Date: Wed, 11 Nov 2009 08:53:58 -0600
From: Mike Anderson
Su
color_list[column % len(color_list)][1]
axes.fill_between(np_table[0], base, np_table[column + 1], facecolor
= color)
return fig
I pass fig in so it is easy to pass a figure from the ipython console,
since ipython makes special figures that are interactive.
-Tom
PS: Dan - I replied to your e
ist[column % len(color_list)][1]
axes.fill_between(np_table[0], base, np_table[column + 1], facecolor
= color)
return fig
I pass fig in so it is easy to pass a figure from the ipython console,
since ipython makes special figures that are interactive.
-Tom
PS: Dan - I replied to your em
inally you can follow my progress as I take this product to market on
twitter:
http://www.twitter.com/gridspy/
It has been a fantastic system to work with, and it was easy to generate
beautiful and meaningful graphs. Thanks to everyone who has made this
possible!
What is everyone else working
Great. That worked. Thanks!
-Tom
On Thu, Jul 16, 2009 at 11:23, Jae-Joon Lee wrote:
> One work around is to call
>
> self.figure.subplots_adjust()
>
> after geometry changed. After this call, the twinx-ed axes will have
> the same axes position as the original one.
>
>
Sebastian Haase-3 wrote:
>
> Thanks for the info -- very informative -- maybe this post could be
> somehow added or linked to from http://www.scipy.org/PyLab
>
> -- Sebastian Haase
>
Sebastian - I've done as you suggest... I added a link to this post on
nabble - do you think there is a better
On Tue, Jun 2, 2009 at 07:33, John Hunter wrote:
> On Tue, Jun 2, 2009 at 9:03 AM, Tom Vaughan wrote:
>> Is it possible to add subplots to a figure if I don't know in advance
>> how many subplots I need to add?
>>
>> What I do now is I call add_subplot like add_
On Tue, Jun 2, 2009 at 11:59, John Hunter wrote:
> On Tue, Jun 2, 2009 at 1:51 PM, Tom Vaughan wrote:
>> On Tue, Jun 2, 2009 at 07:33, John Hunter wrote:
>>> On Tue, Jun 2, 2009 at 9:03 AM, Tom Vaughan wrote:
>>>> Is it possible to add subplots to a figure if I
On Tue, Jun 2, 2009 at 07:33, John Hunter wrote:
> On Tue, Jun 2, 2009 at 9:03 AM, Tom Vaughan wrote:
>> Is it possible to add subplots to a figure if I don't know in advance
>> how many subplots I need to add?
>>
>> What I do now is I call add_subplot like add_
On Tue, Jun 2, 2009 at 08:40, John Hunter wrote:
> On Tue, Jun 2, 2009 at 10:18 AM, Tom Vaughan wrote:
>
>> Interestingly, if I were to 'print dir(self.figure.axes[i])' I can see
>> the change_geometry attribute, but when I attempt to call it, I am
>> told &qu
On Tue, Jun 2, 2009 at 07:33, John Hunter wrote:
> On Tue, Jun 2, 2009 at 9:03 AM, Tom Vaughan wrote:
>> Is it possible to add subplots to a figure if I don't know in advance
>> how many subplots I need to add?
>>
>> What I do now is I call add_subplot like add_
igure, the second
plot is placed on top of the bottom half of the first plot, etc. Is
there a way to "resize" the plots when a subplot is added? Or how
would I "re-plot" the previous subplots?
Thanks.
-Tom
-
LKeene wrote:
>
>
> - I have a numpy.ndarray of data with 350 rows and 500 columns. How do
> I display it in the upper-left hand corner of the frame client with no
> tick marks/labels, etc...just the colormap at screen
> coords(0,0)->(349,499) (rows,columns)? Could someone post a few lines
>
. RecipesMatplotlib) in the Recipes section? I added it
in the RecipesOther but there are so many recipes there that it seems
kind of buried.
Best,
Tom K.
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge
if you see anything that
could be handled with a better pattern / class / etc, I am very open to
such suggestions!
Sincerely,
Tom K.
http://www.nabble.com/file/p21407452/sigdemo.py sigdemo.py
--
View this message in context:
http://www.nabble.com/fourier-demo-tp21407452p21407452.html
Sent
I've had the same problem. You can write a pause function using the
python input() function but it hangs the GIL and as a result your
window becomes unresponsive. If anyone knows a GIL friendly way to
pause i would also be very interested.
On Fri, Nov 14, 2008 at 1:12 PM, Benjamin J. Racine
<[E
I can find to "radar" plots are the "radar" green colour in the examples
file.
Just wondering whether it was worth pursuing this technique or using a
different method (if anyone knows of a python library that can do this I
would appreciate
es
I can find to "radar" plots are the "radar" green colour in the examples
file.
Just wondering whether it was worth pursuing this technique or using a
different method (if anyone knows of a python library that can do this I
would appreciate
I have functions which plot multiple items to an axis. Often, I have
the function explicitly turn interactive mode off and then I turn it
back on to what it was before my function was called. At the end of
my function, I call draw_if_interactive().
Suppose the user had interactive mode on prior
I was looking at rc_params() and saw
if not os.path.exists(fname):
message = 'could not find rc file; returning defaults'
ret = dict([ (key, tup[0]) for key, tup in defaultParams.items()])
warnings.warn(message)
return ret
Is this correct? It seems that it re
Hi all,
I wasn't sure if this should be sent to matplotlib or ipython. I'm
got a number of questions, and any help would be greatly appreciated.
The docstring for draw_if_interactive says:
"""This should be overriden in a windowing environment if drawing
should be done in interactive python mode
On Dec 14, 2007 11:28 AM, Jeff Whitaker <[EMAIL PROTECTED]> wrote:
> Mike: Postscript doesn't support alpha transparency. It might work
> with PDF though.
pstricks (tex) provides transparency...
http://tug.org/PSTricks/main.cgi?file=Examples/Colors/colors#transparency
http://tug.org/PSTricks/ma
I am plotting multiple scatter plots to the same axis. For each
scatter plot, all points have the same shape and color. I would like
the legend to display the shape and color of the data points in each
collection (rather than displaying a rectangle for the color). The
result should be similar to
Is it possible to have nested subplots?
I would like to have 2 rowswith the top row having two columns and
the bottom row having one column.
For the bottom plot, I'd like to be able to choose between the following:
1) The size of the bottom plot expands to fill the entire horizontal space.
Doh! Sorry, I adjusted the wrong space.
On Nov 27, 2007 11:56 AM, Tom Johnson <[EMAIL PROTECTED]> wrote:
> On Nov 27, 2007 11:48 AM, John Hunter <[EMAIL PROTECTED]> wrote:
> > Use the subplots_adjust paramters, eg
> >
> > fig.subplots_adjust(hspace=0)
&
On Nov 27, 2007 11:48 AM, John Hunter <[EMAIL PROTECTED]> wrote:
> Use the subplots_adjust paramters, eg
>
> fig.subplots_adjust(hspace=0)
>
This wasn't working for me...
from pylab import *
f = gcf()
f.subplots_adjust(hspace=0)
f.add_subplot(121)
f.add_subplot(122)
show()
Adjusting the space af
I'd like to make the separation distance between two subplots to be
much smaller. How can I achieve this?
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.co
I would like to plot a set of lines where the color of each line is
parametrized. Then I want to add a colorbar to the plot.
For example, suppose I plot y=x+b for various values of b. For each
line, I would like to set the color to a particular value of b. When
plotting, all b values are normal
>histogram of f(x) is plotted horizontally (on the right) sharing
> the y-axis of axis 1
Typo:
histogram of f(x) is plotted horizontally (on the LEFT) sharing the
y-axis of axis 1
-
This SF.net email is sponsored by:
Is it possible to have a figure with two-plots such that
f(x) is plotted against x onaxis 1 (on the right)
histogram of f(x) is plotted horizontally (on the right) sharing
the y-axis of axis 1
(sorry, this is proportional font, ascii art)
f(x)
On 9/27/07, Tom Johnson <[EMAIL PROTECTED]> wrote:
> However, it will be a little while before I can provide a status
> updateI have a presentation very soon and do not have the time to
> regenerate all my images so that the background matches my
> presentation background.
On 9/27/07, Darren Dale <[EMAIL PROTECTED]> wrote:
> On Thursday 27 September 2007 01:28:46 am Tom Johnson wrote:
> > On 9/26/07, Darren Dale <[EMAIL PROTECTED]> wrote:
> > > I used your script to create the eps file, and created the attached
> > > postscri
How can I keep a 1:1 aspect ratio after adding a colorbar?
ratio='exact' seems to include the colorbar in the calculations. For
example, if I have a circle and color itI want it to still look like a
circle (rather than an ellipse) after adding the colorbar.
~t
---
Any comments on this? The behavior is, at best, inconsistent. At worst,
the current behavior is incorrect, as it is not possible to have a white
facecolor when using usetex/xpdf.
On 9/23/07, Tom Johnson <[EMAIL PROTECTED]> wrote:
>
> On 9/23/07, Tom Johnson <[EMAIL PR
On 9/23/07, Tom Johnson <[EMAIL PROTECTED]> wrote:
>
>
> Also, it seems like there needs to be an extra keyword or option. Suppose
> someone wanted a white facecolor in the (usetex=True) EPS file. It doesn't
> seem like this is currently possible. It would
Hello,
When using usetex=True and
savefig(file, facecolor='w', edgecolor='w')
The behavior of the generated EPS file is more like:
facecolor=None
edgecolor='w'
That is, the image's facecolor is tranparent...taking on the background
color of the latex document---while the edgecolor is
utes')
canvas.draw()
fig.savefig(OUTPUTFILE)
Seems to give me a default size of 1200x900 (which I assume is somehow
related to my screen size) - I've tried altering the fig = line as
follows:
fig = Figure(figsize=(8,6), dpi=100)
but can't seem to change the output size of the ima
On 8/23/07, Fabrice Silva <[EMAIL PROTECTED]> wrote:
> Le Wed, 22 Aug 2007 18:21:40 -0700, Tom Vaughan a écrit:
>
> > Why on the YellowDog 3 system would the x-axis show up as 0 - 2.5, and
> > on the Ubuntu Feisty system would the x-axis show up as 2.2 - 2.4? I am
>
On 8/22/07, John Hunter <[EMAIL PROTECTED]> wrote:
> On 8/22/07, Tom Vaughan <[EMAIL PROTECTED]> wrote:
>
> > Why on the YellowDog 3 system would the x-axis show up as 0 - 2.5, and
> > on the Ubuntu Feisty system would the x-axis show up as 2.2 - 2.4? I
> > a
ystem would the x-axis show up as 0 - 2.5, and
on the Ubuntu Feisty system would the x-axis show up as 2.2 - 2.4? I
am attempting to resolve an autoscale problem elsewhere, and I must of
screwed something up when I built matplotlib. But what?
Thanks.
hould have the same shape (or at
least I assume from the simple3d.py example). But in what's above, x
and y have a shape of (100,), and z has a shape of (100,100). What
should I do instead?
I'm more than happy to share all the sourc
You might take a look at tvtk.mlab and mavayi.
http://www.scipy.org/Cookbook/MayaVi
On 8/14/07, Eric Firing <[EMAIL PROTECTED]> wrote:
> Kaushik Ghose wrote:
> > Hi Everyone,
> >
> > I vaguely remember a comment from a poster a short while back that
> > suggested that 3D support in matplotlib w
Hmm, looks like I was just missing a third argument '-' from the
plot_date function.
Thanks, Tom
Forwarded Message ----
From: Tom Haddon <[EMAIL PROTECTED]>
To: John Hunter <[EMAIL PROTECTED]>
Cc: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-
On Wed, 2007-07-18 at 20:02 -0500, John Hunter wrote:
> On 7/18/07, Tom Haddon <[EMAIL PROTECTED]> wrote:
> > I think you mean it makes no assumption about the intervals between my
> > dates? If so, I must be missing something. How am I supposed to pass the
> > data to t
On Wed, 2007-07-18 at 18:37 -0500, John Hunter wrote:
> On 7/18/07, Tom Haddon <[EMAIL PROTECTED]> wrote:
> \> What I mean by this is that I'm not collecting the data at regular time
> > intervals. So I'd like to plot this, and have found that the plot_date
> &
7;)
ax.set_ylabel('Duration in Minutes')
canvas.draw()
imdata=StringIO()
fig.savefig(imdata,format='png')
return HttpResponse(imdata.getvalue(), mimetype='image/png')
Any help appreciated.
Thanks, Tom
--
Oops that was the TKAgg profile results. These are the WxAgg results
attached. Sorry about that.
On 7/5/07, Tom Denniston <[EMAIL PROTECTED]> wrote:
I've been trying to profile and speed up an app that uses matplotlib.
I tried to write an example using simple pylab commands to re
pylab interface.
as for your original question, i'm afraid i've never seen the behavior
before and don't have a good answer.
--Tom
On 1/19/07, Jonathon Anderson <[EMAIL PROTECTED]> wrote:
> It's definitely not the behavior I'm seeing here. In my matploblibr
I just found Section 3.14 Event Handling in the User's Guide, so
never mind! Thanks anyway and sorry for the newbie spam - I broke
the rule about reading the manual first before asking! I will try
some examples.
- Tom
On Jan 8, 2007, at 3:58 PM, Tom Krauss wrote:
> I am wond
ess the current mouse location, and the
figure's 'windowbuttonmotionfcn' (and up and down respectively) for
responding to mouse click events?
Thanks in advance,
Tom Krauss
-
Take Surveys. Earn Cash.
and *also*
install freetype2 in /usr/local/. If no problems are anticipated, perhaps
the change can be incorporated into mpl.
Thanks for any feedback on this.
-Tom
-
This mail sent through IMP: http://horde.org/imp/
---
need to rebuild my matplotlib against svn and test your fix
now to see if that solves the problem.
Thanks for your help.
--Tom
On 12/5/06, John Hunter <[EMAIL PROTECTED]> wrote:
> >>>>> "Christopher" == Christopher Barker <[EMAIL PROTECTED]> writes:
&
I've been profiling some of my code which builds many somewhat complex
graphs. I've noticed that it spends almost all it's time in the
__init__ of the artist class. The time there is almost entirely spent
on calling identity_transform which builds a SeperableTransform that
does no transforming--f
Thanks, Eric. I will try it.
On 11/14/06, Eric Firing <[EMAIL PROTECTED]> wrote:
Tom,I have made several changes in svn to improve the ability of colorbar totrack changes in colormap and alpha. It works with imshow, pcolor, and
contourf. The implementation could be improved--maybe later.
Thanks Eric.
On 11/9/06, Eric Firing <[EMAIL PROTECTED]> wrote:
Tom,This is a bug. It looks like I completely forgot about handling alphawhen I rewrote the colorbar code. I will try to get it fixed in the
next few days. Thanks for the report.EricTom Denniston wrote:> When I use contour
When I use contourf with an alpha argument and the "hot" color scheme. The alpha causes the colors to come out lighter but the colorbar does not adjust accordingly. Is this a bug or do I simply need to adjust the colorbar in some manner?
Below is an adaptation of pcolor.py from the screens
Thanks John and Darren. I think i'll use the nan trick for now but
the masked array looks incredibly powerful. I'll take a look at the
masked array demo. Thanks once again for your help and some really
awesome plotting software!
--Tom
On 6/27/06, Darren Dale <[EMAIL PROTECTED]
good way to get similar behavior in matplotlib?
I tried to attach a bmp that had an example but the mail server
rejected it on the grounds it was too large.
--Tom
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to
Thank you John. I will try as you suggest. I really appreciate your help.
--Tom
On 6/10/06, John Hunter <[EMAIL PROTECTED]> wrote:
> >>>>> "Tom" == Tom Denniston <[EMAIL PROTECTED]> writes:
>
>Tom> FigureCanvasAgg seems to make fonts appear
dding
or the FigureCanvasWxAgg for png generation because the former will
not accept a parent window and the latter requires one.
If anyone has any ideas I would greatly appreciate suggestions.
--Tom
___
Matplotlib-users mailing list
Matplotlib-
83 matches
Mail list logo