Is there a simple way to hexbin using "pyplot.hexbin" and to return the ids
of the set of
points in each hexbin? That is to output an array of n elements
(one for each hexbin), and each element itself an array with the point ids?
The sum
of the number of inner elements would be equal the sum of
)) return asarray(centres)
best regards,
- Sebastian
--
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports
a hexbin map for this using matplotlib.pyplot.hexbin, with colorbar
and colorbar label?
with many thanks happy labour day!
- Sebastian
--
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out
function
to break the circle but it seems silly.
Anyway, I do not expect that anyone can help, and I expect it is some Qt
stuff really, but this is seriously annoying me
- Sebastian
signature.asc
Description: This is a digitally signed message part
, just rambling :), I am not planning to really think about it
much. And maybe some things even exist and I am not aware of it.
Regards,
Sebastian
signature.asc
Description: This is a digitally signed message part
On Fr, 2014-11-07 at 16:15 +0100, Sebastian Berg wrote:
Hey,
just something I was wondering about today. I commonly want to change
certain things about my plots. For example I like a serif/larger fonts,
and everyone knows that jet is an awful default colour map almost
always...
It could
Hi,
I have a textfile where every second a line is written. Usually the look
like this:
1; 124; 455
a second later
1; 124; 455
2; 104; 600
...
Finally such a file is quite easy to plot using matplotlib. But what would
be very useful for me is a script, that is watching the TXT file and
Hi guys,
I have a problem with the set_array function. In a example from the
matplotlib homepage this works fine, but when I tries to adaot to my needs,
the image just stays the same. No Update, but also no error messages:
see On Timer function -- the plot is just created during the start but
using inkscape to render my svg
(not just for editing) and so far it do what i need it to do.
--
Regards
Sebastian Ohl
--
Sebastian Ohl sebast...@ohl.name
Kurzekampstr. 14 Tel +49 531 7998221
D-38104 Braunschweig Mobil +49 172 1837678
, format='svg', transparent=True)
plt.savefig(test.png, format='png', transparent=True)
--
Regards
Sebastian Ohl
--
Sebastian Ohl sebast...@ohl.name
Kurzekampstr. 14 Tel +49 531 7998221
D-38104 Braunschweig Mobil +49 172 1837678
attachment: test.pngattachment
not work inside a 3D Axis, though I think its
likely not difficult to change), I thought I would put it online because
I am not aware of any way to save matplotlib figures:
https://github.com/seberg/haunter-for-matplotlib-figures
Maybe someone finds it useful or interesting :)
Regards,
Sebastian
] = np.nan
y = s * np.cos(x)
plt.plot(x, y)
Regards,
Sebastian
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
of manipulating strings or
setting the ticklabels by hand. IE:
my_formatter = matplotlib.ticker.FormatStrFormatter('a%s')
#etc... see http://matplotlib.sourceforge.net/api/ticker_api.html
a = plt.gca()
a.xaxis.set_major_formatter(my_formatter)
plt.draw()
Regards,
Sebastian
For example, I want to add
a horizontal line. So to get a square wave I
must
insert additional points to the series when the values change.
I wonder if there an easy way of doing this?
You can use the step function, which does exactly this and has
arguments for setting where the step is made, etc.
Regards,
Sebastian
it like this) Define 3 sets of axes
by hand instead of subplot(211) you use plt.axes(...) to create them (I
guess there may be a nicer method, not sure). Then you can pass which
axes to draw into with the colorbar function.
Regards,
Sebastian
Hi,
I use the followng function for my application:
def OnSaveAs(self, event):
dlg = wx.FileDialog(self, 'Choose a Filename', os.getcwd(), '',
'*.png*', wx.SAVE | wx.OVERWRITE_PROMPT)
if dlg.ShowModal() == wx.ID_OK:
savename = dlg.GetPath()
in matplotlib?
Cheers,
Sebastian
--
*Sebastian Krieger, M.Sc.*
Laboratório de Oceanografia por Satélites
Instituto Oceanográfico -- Universidade de São Paulo
Praça do Oceanográfico, 191 -- São Paulo, SP -- 05508-120 -- Brasil
Cel.: +55 (11) 9241-5606 -- Tel.: +55 (11) 3091-6575 -- Skype: regeirk
Www
!
Il 16/04/2011 10:47, Sebastian Berg ha scritto:
Hello,
check the help ;). you can set aspect='auto' or something fixed.
Regards,
Sebastian
On Sat, 2011-04-16 at 10:43 +0200, Paolo Zaffino wrote:
Hi at all,
I have a numpy matrix (an image) and I'd like to show it.
I
Hello,
don't know the foo behind it, but using
ax.xaxis.set_major_formatter(mdates.DateFormatter('%Y-%m-%d %H:%M:%S'))
works.
Regards,
Sebastian
On Sun, 2011-04-17 at 19:52 -0700, jfortiv wrote:
Hello,
I'm trying to create a bar chart that looks something like a gannt chart...
See
Hello,
check the help ;). you can set aspect='auto' or something fixed.
Regards,
Sebastian
On Sat, 2011-04-16 at 10:43 +0200, Paolo Zaffino wrote:
Hi at all,
I have a numpy matrix (an image) and I'd like to show it.
I thought to use show function, but I have a question.
I don't want
Hey,
not sure about which values are good to use (there is an example in the
gallery about it), but do the first plot command for example with
zorder=1 keyword argument, and the errorbar with zorder=2, and voila you
got what you want.
Regards,
Sebastian
On Mon, 2011-04-11 at 14:49 +0200
named _backend_gdk
Is this a problem with the version or my installation and how would I
fix it (or do I need to downgrade again!?).
Regards
Sebastian Berg
--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
Sorry, I mean of course, that the example already fails for me with this
error...
On Fri, 2011-04-08 at 14:49 +0200, Sebastian Berg wrote:
Hey,
I recently installed matplotlib 1.1.0svn upgrading from 0.99.x shipped
with ubuntu. I have the problem that the GTK backend does not work
properly
Hey,
thanks a bunch, that was the problem, build it a while back, really
should have seen that back then though ;).
Regrads,
Sebastian
On Fri, 2011-04-08 at 08:14 -0400, Michael Droettboom wrote:
Can you provide the output of a clean build?
Go to the source directory, remove the build dir
for usual lines too?
Regards,
Sebastian
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
/ '-', '--', '-.', ...?
Thanks in advance,
Sebastian.
signature.asc
Description: OpenPGP digital signature
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before
into
PACKAGEPATH/matplotlib/backends/backend_qt4.py line 399 and below.
Another approach would be to directly rename the files in
NavigationToolbar2QT._init_toolbar() to *.png since matplotlib provides
png and svg files for every icon.
Greetings,
Sebastian
Am 06.02.2011 11:20, schrieb Tom van
ellipk.
good luck :)
sebastian.
signature.asc
Description: OpenPGP digital signature
--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3.
Spend
hey pau,
ellipk is in scipy.special:
#!/usr/bin/env python
from pylab import *
from scipy.special import ellipk
e=1.
a_mpc = 4.0
p = a_mpc * (1 - e**2.)
Phase = 4.*sqrt(p/(p -6. - 2.*e)) * ellipk(-4.*e/(p - 6. -2.*e))
greetings,
sebastian.
signature.asc
Description: OpenPGP digital
()
self.sizer.Add(self.toolbar, 0, wx.LEFT | wx.EXPAND)
self.toolbar.Show()
self.SetSizer(self.sizer)
self.Fit()
...
--
Dr. Sebastian Rhode
Grünwalder Str. 103a
81547 München
Tel: +49 89 4703091
Mobil: +49 15122810945
sebrh...@googlemail.com
Hi,
I would like to show an image using the imshow function. Thsi is quite
trivial, but what I acn not figure out so far, is how to display the image
without any interpolation. For my application it is useful to really see the
individaul pixel and the borders between them. Setting
Hi,
has anyone a good idea how to interactively display the xy coordintes (as
whole numbers) and the pixel intensity using the mouse cursor. Here is the
code snippet:
...
fig = plt.figure()
ax1 = fig.add_subplot(111)
channel_select = 1
p = imread(filename) # normally I use TIFF file
if (p.ndim
ScalarFormatter
ax = gca().xaxis
ax.set_major_formatter(ScalarFormatter())
best,
sebastian.
signature.asc
Description: OpenPGP digital signature
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay
,
sebastian.
signature.asc
Description: OpenPGP digital signature
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
like 10^5 IS a mathtext. i've therefore made
a class MyLogFormatterMathtext which outputs the labels very ugly but
as normal text.
i hope that something along these lines can help you, i was using
pstoedit a lot to see whether the text is recognized as text or not.
good luck,
sebastian
in:
Text(0,0,'')
...
I think you have to pyplot.show() or pyplot.savefig(deleteme.ps) in
order to have the ticklabels populated.
best,
sebastian.
signature.asc
Description: OpenPGP digital signature
--
Throughout its 18
. Sebastian Rhode
Grünwalder Str. 103a
81547 München
Tel: +49 89 4703091
sebrh...@googlemail.com
--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing
Janwillem van Dijk wrote:
Is it possible to have in Matplotlib.pyplot a log (base 10) scale that
does go from xmin to xmax where xmin and xmax are not powers of 10 ...
yes.
best regards,
sebastian.
signature.asc
Description: OpenPGP digital signature
Hi
Where can I download current mpl documentation in HTML format? Because
there is now way to build it under win32
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your
jihi wrote:
... can anybody tell me how to get gridlines in a logarithmic plot? ...
from matplotlib.pyplot import *
plot([1,10,100],[1,10,100])
grid()
yscale('log')
xscale('log')
works here.
best,
sebastian.
signature.asc
Description: OpenPGP digital signature
I had similar problem
try hi-res png images at 300dpi w/o transparency (ms cannot handle
transp. png correctly).
ms word shows png little blury, but after printing (to PDF for
example) images are sharp as knife
2009/9/2 Shixin Zeng zeng.shi...@gmail.com:
OK,
I'm attaching a file that
, but this is not a
very good solution. What I actually would need, is a selection which line
legend the users whats to remove from the graph (perfect would be
interactivly directly from the graph). But so far, I could not figure this
out. Has anyone a good ides how to achieve this?
Cheers,
Sebi
--
Dr. Sebastian
Hi
When I try to import anything from mpl, Python's interpreter exits
without any error.
This happens after the 0.99.0 upgrade. This is example session:
d:\python
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)] on win32
Type help, copyright, credits or license for
here.
good luck,
sebastian.
signature.asc
Description: OpenPGP digital signature
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration
', 'n_sep_by_space': 1, 'mon_grouping':
[3, 3, 0], 'p_cs_precedes': 1, 'positive_sign': '', 'grouping': []}
Is this a bug or a feature?
For me it broke some code in a c-extension which parses a file with
floating point numbers and didn't recognize them anymore:(
Cheers,
Sebastian
The Thanh (pdfTeX).
Kpathsea written by Karl Berry, Olaf Weber, and others.
Compiled with libpng 1.2.27; using libpng 1.2.27
Compiled with zlib 1.2.3.3; using zlib 1.2.3.3
Compiled with libpoppler version 0.10.5
could the OP perhaps post some more information?
sebastian.
signature.asc
Description
a
line break, either...
best,
sebastian.
signature.asc
Description: OpenPGP digital signature
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design
finally...
Sebastian Busch wrote:
...
it does not crash (the version with '\\' does) but does not produce a
line break, either...
text(0.5, 0.5, 'a \n b')
works.
signature.asc
Description: OpenPGP digital signature
Thanks for the info -- very informative -- maybe this post could be
somehow added or linked to from http://www.scipy.org/PyLab
-- Sebastian Haase
On Tue, Aug 11, 2009 at 4:22 AM, Eric Firingefir...@hawaii.edu wrote:
marc desmarais wrote:
Are there still two pylabs? Are the following two web
Hello
I don't know why, but after switching from python2.5 to python2.6 I
cannot even launch matplotlib (matplotlib-0.98.5.3.win32-py2.6.exe).
This is what I get:
Traceback (most recent call last):
File stdin, line 1, in module
File D:\msys\opt\python\lib\site-packages\pylab.py, line 1, in
to hist, it is a bit unfair to expect
it to know the other two ;)
good luck,
sebastian.
signature.asc
Description: OpenPGP digital signature
--
Enter the BlackBerry Developer Challenge
This is your chance to win up
):
x.append(i)
y.append(int(line.split('(')[1].split(')')[0]))
dy.append(sqrt(y[-1]))
bar(x, y, yerr=dy, align='center')
show()
good luck,
sebastian.
signature.asc
Description: OpenPGP digital signature
2009/7/5 Sebastian Busch webmas...@thamnos.de:
Pau wrote:
(2226):**
1: 1.00e-04 - 2.00e-04 ( 482):*
hey there,
what the line should do is to get the number out of the lengthy
')
and / or
xscale('log')
as your data drop pretty fast.
good luck good night,
sebastian.
signature.asc
Description: OpenPGP digital signature
--
___
Matplotlib-users mailing list
sluggish after several iterations:
Use im.set_array rather than making multiple calls to imshow. See the
dynamic_image* examples at
http://matplotlib.sourceforge.net/examples/animation/index.html
Is there a similar function (to im.set_array) for graph plots ?
- Sebastian
On Tue, Jun 16, 2009 at 10:39 PM, John Hunterjdh2...@gmail.com wrote:
On Tue, Jun 16, 2009 at 3:32 PM, Sebastian Haaseseb.ha...@gmail.com
wrote: On Tue, Jun 16, 2009 at 6:54 PM, John
Hunterjdh2...@gmail.com wrote:
Is there a similar function (to im.set_array) for graph plots ?
for lines you
of OldScalarFormatter, but alone the name makes me think
that it might be not the best solution...
Thanks and best regards,
Sebastian.
P.S.: why actually does
ax.yaxis.get_ticklabels()[1].get_text()
return an empty string when called before savefig?
P.P.S.: I expect to be offline several days, so please excuse me
I get:
len(P.__dict__)
395
numpy.__version__
'1.3.0'
So why are there still that many -- more than half ! -- duplications
between pylab and numpy ?
Regards,
Sebastian Haase
--
Crystal Reports - New Free Runtime
On Fri, Jun 12, 2009 at 11:21 AM, Matthias
Michlermatthiasmich...@gmx.net wrote:
Hi Sebastian,
You are right. A large number of numpy functions is part of pylab, but I think
this problem was solved by introducing matplotlib.pyplot, which holds all
plotting functions of matplotlib. The module
the #?
Best,
Sebastian.
signature.asc
Description: OpenPGP digital signature
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution
, the mayavi mlab interface was designed explicitly to be as
simple as pylab.
http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/mlab.html
have fun 3D plotting,
sebastian.
signature.asc
Description: OpenPGP digital signature
')
and the ticks seem to be messed up. I used 'ipython -pylab' with
matplotlib.__version__ '0.98.3'.
Is there something I can do to get the ticks only at the places i would
like them to be?
Thanks,
Sebastian.
signature.asc
Description: OpenPGP digital signature
again very fast --
super ugly, but fast ;-) )
Is there a special way to update plots very fast, i.e. faster than
clr();plot(...) ?
Regards,
Sebastian Haase
--
OpenSolaris 2009.06 is a cutting edge operating system
-corner/latex/ ). and at least when
exporting pdf files, they are in a vector format.
best,
sebastian.
signature.asc
Description: OpenPGP digital signature
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC
Armin Moser wrote:
Sebastian Busch wrote:
...
array([list(a[i,:i])+list(b[i,i:]) for i in range(a.shape[0])])
It seems that I did not understand what you tried to reach.
...
Sorry. I wanted to do the same as Matthias -- taking his example:
=
from scipy import ones, array
matrix1
in range(a.shape[0])])
best,
sebastian.
p.s.: i think it would be a nice feature to put
matplotlib-users@lists.sourceforge.net as reply-to in the mails
distributed via the list -- i keep hitting the 'reply'-button and wonder
why my mails do not show up in the list...
signature.asc
Description
as spaceholder (I do not want to
use a monospaced font). Obviously, this doesn't work any more as soon as
you reach 20...
Thanks again for the help -- I'm happy for the moment, but if you (or
someone else) can show me how to align the legend, it would be great.
Best wishes,
Sebastian.
signature.asc
Hey Matthias!
Thanks for working on that!
Matthias Michler wrote:
... I'm not sure that following problem also occurs for Sebastian, ...
it does.
... PS-backend ... the upper part of the b is somehow hidden ...
f.text(0.5, 0.5, r{\color[rgb]{0,1,0} a } b {\color{blue} $\nu, \mu, \tau
Hello
I have a contour plot with specified number of levels (isolines):
lev = array([2,3,5,7,10,13,17,21,26,32,42,62,80,100,120,140,180])
to have a log z axis I put:
from matplotlib import colors
contourf(x1, y1, z1, lev, norm=colors.LogNorm(lev[0],lev[len(lev)-1]))
now, to get colorbar in
OK works. I didn't notice the ticks arg. Thanks again
Sebastian
2009/5/7 Jae-Joon Lee lee.j.j...@gmail.com:
http://matplotlib.sourceforge.net/api/figure_api.html?highlight=colorbar#matplotlib.figure.Figure.colorbar
cbar = colorbar(ticks=lev, format = l_f)
-JJ
On Wed, May 6, 2009 at 3:28
Hello
I have a contour plot with specified number of levels (isolines):
lev = array([2,3,5,7,10,13,17,21,26,32,42,62,80,100,120,140,180])
to have a log z axis I put:
from matplotlib import colors
contourf(x1, y1, z1, lev, norm=colors.LogNorm(lev[0],lev[len(lev)-1]))
now, to get colorbar in
)
bx.set_ylabel('This is a long label shared among more axes',
fontsize=14)
cx.set_xlabel('And a shared x label', fontsize=14)
Cheers,
Sebastian
Gökhan SEVER wrote:
Hello Sebastian,
Not sure I could create a same-axes ylabels subplots similar to the one
that is shown on the given screenshot with your
(bx.get_xticklabels(), visible=False)
pylab.setp(bx.get_yticklabels(), visible=False)
pylab.setp(dx.get_yticklabels(), visible=False)
You can make the subplots come closer by changing the /wspace/ and
/hspace/ entries in the /adjustprops/ dictionary.
Cheers,
Sebastian
Gökhan SEVER wrote:
I don't know
/fontManager.cache
numerix numpy 1.1.0
backend TkAgg version 8.5
Any help is appreciated,
Sebastian
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source
Hi folks!
I was wondering if it's possible to have legends that are horizontaly
aligned instead of verticaly?
Thanks in advance.
Sebastian
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have
map
boundaries to these limits, or even lower limits if I zoom the
equatorial region. Has anyone ever tried to do this?
Thank's in advance and kind regards,
Sebastian
-
This SF.net email is sponsored by: Microsoft
Defy all
Hi,
Does anyone eventually have a sample on how to make Hovmoller plots
using matplotlib? Specially with good looking time axis like Ferret does?
Thanks
Sebastian
-
This SF.net email is sponsored by: Splunk Inc.
Still
hint how to further reduce the number of names in P ?
My ideal would be that the P module (short for pylab) would only
contain the stuff described in the __doc__ strings of `pylab.py` and
`__init__.py`(in matplotlib) (+ plus some extra, undocumented, yet
pylab specific things)
Thanks
-Sebastian
Hi everybody!
I've just started using Python and matplotlib basemap in order to
continue using Matlab. I want to make some sea surface height anomaly
plots and could find out how to define the color limits equivalent to
caxis in Matlab. Can anyone help me?
Thanks
Sebastian
79 matches
Mail list logo