[Matplotlib-users] pyplot.hexbin

2016-01-29 Thread Sebastian
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

[Matplotlib-users] hexbin....matplotlib.collections.PolyCollection

2015-05-13 Thread Sebastian
)) 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

[Matplotlib-users] hexbin question

2015-05-01 Thread Sebastian
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

[Matplotlib-users] Avoid circular references with format_coord and Qt?

2015-03-08 Thread Sebastian Berg
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

[Matplotlib-users] Defaults?

2014-11-07 Thread Sebastian Berg
, 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

Re: [Matplotlib-users] Defaults?

2014-11-07 Thread Sebastian Berg
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

[Matplotlib-users] Plot data from file while is file is constantly updated

2012-11-08 Thread Sebastian Rhode
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

[Matplotlib-users] Problem with set_array function

2012-11-08 Thread Sebastian Rhode
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

Re: [Matplotlib-users] No clipping in svg mode

2012-03-20 Thread Sebastian Ohl
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

[Matplotlib-users] No clipping in svg mode

2012-03-19 Thread Sebastian Ohl
, 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

[Matplotlib-users] Figure save hack

2012-03-15 Thread Sebastian Berg
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

Re: [Matplotlib-users] 1d plot of a discontinuous function

2011-09-30 Thread Sebastian Berg
] = 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

Re: [Matplotlib-users] working with ticklabels text in matplolib

2011-08-26 Thread Sebastian Berg
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

Re: [Matplotlib-users] How to create a square wave plot

2011-08-02 Thread sebastian
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

Re: [Matplotlib-users] Decouple the colorbar form subplot

2011-07-11 Thread Sebastian Berg
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

[Matplotlib-users] Savefig Question

2011-07-08 Thread Sebastian Rhode
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()

[Matplotlib-users] Asymmetrical arrangements of subplots

2011-05-04 Thread Sebastian Krieger
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

Re: [Matplotlib-users] Pixel shape

2011-04-18 Thread Sebastian Berg
! 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

Re: [Matplotlib-users] Date format the x-axis of a barh() plot?

2011-04-18 Thread Sebastian Berg
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

Re: [Matplotlib-users] Pixel shape

2011-04-16 Thread Sebastian Berg
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

Re: [Matplotlib-users] Errorbar stays behind data

2011-04-11 Thread Sebastian Berg
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

[Matplotlib-users] GTKAgg backend problem

2011-04-08 Thread Sebastian Berg
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

Re: [Matplotlib-users] GTKAgg backend problem

2011-04-08 Thread Sebastian Berg
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

Re: [Matplotlib-users] GTKAgg backend problem

2011-04-08 Thread Sebastian Berg
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

[Matplotlib-users] clabel like labels for normal line plots

2011-03-12 Thread Sebastian Berg
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

[Matplotlib-users] make plot() cycle through line style instead of colour

2011-02-15 Thread Sebastian Busch
/ '-', '--', '-.', ...? 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

Re: [Matplotlib-users] Py2exe missing buttons icons on navigation toolbar

2011-02-06 Thread Sebastian Voigt
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

Re: [Matplotlib-users] ellipk

2010-10-09 Thread Sebastian Busch
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

Re: [Matplotlib-users] ellipk

2010-10-08 Thread Sebastian Busch
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

[Matplotlib-users] Missing Toolbar Button inside Wx Application

2010-09-29 Thread Sebastian Rhode
() 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

[Matplotlib-users] Show pixelated image using imshow

2010-02-25 Thread Sebastian Rhode
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

[Matplotlib-users] Display Pixel intensity

2010-02-23 Thread Sebastian Rhode
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

Re: [Matplotlib-users] How do you use ticklabel_format?

2010-02-03 Thread Sebastian Busch
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

Re: [Matplotlib-users] Problem using TeX

2010-01-29 Thread Sebastian Busch
, 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

Re: [Matplotlib-users] vector EPS

2010-01-21 Thread Sebastian Busch
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

Re: [Matplotlib-users] modifying colorbar ticklabels

2010-01-20 Thread Sebastian Busch
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

[Matplotlib-users] Beginner Problem with drawing

2009-12-04 Thread Sebastian Rhode
. 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

Re: [Matplotlib-users] range for log scale

2009-09-20 Thread Sebastian Busch
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

[Matplotlib-users] Documentation

2009-09-11 Thread Sebastian Pająk
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

Re: [Matplotlib-users] grid on log-plots

2009-09-07 Thread Sebastian Busch
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

Re: [Matplotlib-users] best format for MS word?

2009-09-02 Thread Sebastian Pająk
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

[Matplotlib-users] Delete Line legend from graph using matplotlib wxPython

2009-09-02 Thread Sebastian Rhode
, 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

[Matplotlib-users] After update to 0.99.0 - mpl doesn't work

2009-08-29 Thread Sebastian Pająk
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

Re: [Matplotlib-users] how to generate one plot per key press?

2009-08-23 Thread Sebastian Busch
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

[Matplotlib-users] import pylab changes locale settings

2009-08-16 Thread Sebastian
', '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

Re: [Matplotlib-users] EPS with TeX

2009-08-12 Thread Sebastian Busch
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

Re: [Matplotlib-users] EPS with TeX

2009-08-12 Thread Sebastian Busch
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

Re: [Matplotlib-users] EPS with TeX

2009-08-12 Thread Sebastian Busch
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

Re: [Matplotlib-users] pylab

2009-08-11 Thread Sebastian Haase
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

[Matplotlib-users] ImportError: No module named _backend_gdk

2009-07-30 Thread Sebastian Pająk
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

Re: [Matplotlib-users] histograms : xmax

2009-07-09 Thread Sebastian Busch
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

Re: [Matplotlib-users] histograms ...

2009-07-05 Thread Sebastian Busch
): 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

Re: [Matplotlib-users] histograms ...

2009-07-05 Thread Sebastian Busch
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

Re: [Matplotlib-users] histograms ...

2009-07-05 Thread Sebastian Busch
') 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

Re: [Matplotlib-users] dynamic image update

2009-06-16 Thread Sebastian Haase
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

Re: [Matplotlib-users] dynamic image update

2009-06-16 Thread Sebastian Haase
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

[Matplotlib-users] xlabels / ylabels as (non-math) text for pstoedit

2009-06-14 Thread Sebastian Busch
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

[Matplotlib-users] more on cleanup pylab namespace

2009-06-12 Thread Sebastian Haase
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

Re: [Matplotlib-users] more on cleanup pylab namespace

2009-06-12 Thread Sebastian Haase
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

Re: [Matplotlib-users] matplotlibrc customizing

2009-06-09 Thread Sebastian Busch
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

Re: [Matplotlib-users] Beginning Python Visualization??

2009-06-08 Thread Sebastian Busch
, 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

Re: [Matplotlib-users] one data set, two y axis scales

2009-06-06 Thread Sebastian Busch
') 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

[Matplotlib-users] speed of simple plots (using wx)

2009-06-03 Thread Sebastian Haase
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

Re: [Matplotlib-users] EMF export doesn't work

2009-05-22 Thread Sebastian Busch
-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

Re: [Matplotlib-users] contour overlapping

2009-05-14 Thread Sebastian Busch
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

Re: [Matplotlib-users] contour overlapping

2009-05-13 Thread Sebastian Busch
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

Re: [Matplotlib-users] problem with usetex \color

2009-05-12 Thread Sebastian Busch
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

Re: [Matplotlib-users] problem with usetex \color

2009-05-12 Thread Sebastian Busch
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

[Matplotlib-users] logarithmic scale of colorbar with ticks and custom labels

2009-05-07 Thread Sebastian Pająk
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

Re: [Matplotlib-users] logarithmic scale of colorbar with ticks and custom labels

2009-05-07 Thread Sebastian Pająk
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

[Matplotlib-users] logarithmic scale of colorbar with ticks and custom labels

2009-05-06 Thread Sebastian Pająk
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

Re: [Matplotlib-users] Common ylabel for subplots

2009-03-12 Thread Sebastian Krieger
) 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

Re: [Matplotlib-users] Common ylabel for subplots

2009-03-11 Thread Sebastian Krieger
(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

[Matplotlib-users] no plot figures on Solaris with TkAgg

2008-07-02 Thread Sebastian Hauer
/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

[Matplotlib-users] Horizontal aligned legend

2008-07-01 Thread Sebastian Krieger
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

[Matplotlib-users] Robinson projection imshow out of bounds and different latitude limits

2008-05-30 Thread Sebastian Krieger
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

[Matplotlib-users] Hovmoller plots

2007-08-22 Thread Sebastian Krieger
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

Re: [Matplotlib-users] [Numpy-discussion] rant against from numpy import * / from pylab import *

2007-08-02 Thread Sebastian Haase
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

[Matplotlib-users] caxis in matplotlib / basemap

2007-05-09 Thread Sebastian Krieger
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