Re: [Matplotlib-users] basemap-1.0.4 UTM support

2012-07-14 Thread Stefan Mertl
Regards, Stefan. On Fri, 2012-07-13 at 21:26 -0600, Jeff Whitaker wrote: > On 7/13/12 8:18 AM, Stefan Mertl wrote: > > The UTM support is great. Thanks for that. > > Is there a possibility to display the projected coordinates without the > > reduction of the x/y coordinates t

[Matplotlib-users] basemap-1.0.4 UTM support

2012-07-13 Thread Stefan Mertl
The UTM support is great. Thanks for that. Is there a possibility to display the projected coordinates without the reduction of the x/y coordinates to 0/0 in the left bottom corner? Regards, Stefan. -- Live Security

Re: [Matplotlib-users] basemap UTM conversion discrepancy

2011-12-20 Thread Stefan Mertl
oblem still remains. Don't know what's going wrong. Stefan. Am Montag, den 19.12.2011, 18:33 -0700 schrieb Jeff Whitaker: > On 12/19/11 4:47 PM, Stefan Mertl wrote: > > Hi Jeff, > > > > I'm not an expert in coordinate transformation and the usage of proj,

Re: [Matplotlib-users] basemap UTM conversion discrepancy

2011-12-19 Thread Stefan Mertl
my pyproj installation is not working. Regards, Stefan. Am Montag, den 19.12.2011, 15:51 -0700 schrieb Jeff Whitaker: > On 12/19/11 2:23 PM, Stefan Mertl wrote: > > Hello, > > > > I'm starting to use the mpl_toolkits.basemap.pyproj.Proj class to do > > lon/l

[Matplotlib-users] basemap UTM conversion discrepancy

2011-12-19 Thread Stefan Mertl
-- Can somebody explain me this behavior? Regards, Stefan. signature.asc Description: This is a digitally signed message part -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app d

[Matplotlib-users] colorbar: format labels with mathtext

2011-01-18 Thread Stefan Mauerberger
h mathtext. Regards, Stefan -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and ho

Re: [Matplotlib-users] tick formatter - floating axis

2010-11-11 Thread Stefan Mauerberger
in values] Is there something like this already in Matplotlib? I looked into axisartist but can not find anything similar. Regards Stefan On Thu, 2010-11-11 at 09:38 +0900, Jae-Joon Lee wrote: > How do you want your ticklabels formatted? > > If axisartist does not provide a forma

[Matplotlib-users] tick formatter - floating axis

2010-11-10 Thread Stefan Mauerberger
GridHelperCurveLinear but I do not know what. Could you give me some advice? Regards Stefan Here is the code I use: import matplotlib.pyplot as plt import mpl_toolkits.axisartist.floating_axes as floating_axes from matplotlib.projections import PolarAxes fig = plt.figure() tr = PolarAxes.PolarTransform

Re: [Matplotlib-users] how to make a polar plot just of a section with grid

2010-10-21 Thread Stefan Mauerberger
Hi Frederick, thanks for your answer. The option *faceted* I already knew but this is not exactly what I want. Perhaps it would be possible to draw the grid without labels. My goal is to draw a grid with labels above the data. Similar to the example 'demo curvelinear grid'. Regard

[Matplotlib-users] how to make a polar plot just of a section with grid

2010-10-20 Thread Stefan Mauerberger
to the section. Otherwise transforming the data to cartesian coordinates (e.g. pcolor(r*np.sin(phi),r*np.cos(phi),data) ) the data are plotted into a box. But in this case I do not know how to draw a grid. Could anyone give me some advice how to do this? Regards Stefan

Re: [Matplotlib-users] colormap from blue to transparent to red

2010-10-20 Thread Stefan Mauerberger
Ben, thanks a lot! Your way does exactly what I want. Scott, I do not understand your solution, unfortunately. I have already known the example from the gallery. But up to now, I have not dealt with masked arrays. Anyway ... Thanks a lot again. Stefan

[Matplotlib-users] colormap from blue to transparent to red

2010-10-12 Thread Stefan Mauerberger
transparent and the greatest value should be drawn red. I have tried a lot but without any success. As far as I can see, the keyarg alpha does not fit my needs at all. Do you have any suggestions for me? Regards Stefan

[Matplotlib-users] Evaluation of animated oscilloscope in gtk app and weird X error

2010-05-11 Thread Stefan Otte
ta_x)) self.line.set_ydata(np.array(self.raw_data_y)) # redraw the canvas self._limit_plot(x, y) self.fig.canvas.draw() Best, Stefan -- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Re: [Matplotlib-users] Plotting line with sharp peaks

2009-12-15 Thread Stefan Schietinger
Thank you. O.k. a little bit more: I just installed 0.99.1.1. Without path.simplify to False the problem is still there. So the "bug" might be still there. Thanks a lot again. Stefan P.S.: just in case someone wants to confirm an example: from scipy.special import sph_jn,sph

[Matplotlib-users] Plotting line with sharp peaks

2009-12-15 Thread stefan
#x27;, the peaks are there, but the line does not fully join the individual markers at the peak. Is the '-' style doing some averaging before plotting or is it a rendering problem? And any suggestions how to get rid

Re: [Matplotlib-users] cross-tabulation and plot in matplotlib

2008-10-15 Thread Stefan Schwarzburg
change here ax.set_xlabel(cals['x units']) ax.set_ylabel('y units') ax.plot(data[::,0],data2[::,1]) # this plots col 0 against col 1, uses all the rows ax.autoscale_view() ax.grid(True) pylab.show() Cheers, Stefan 2008/10/15 He Jibo <[EMAIL PROTECTED]> > Dear All, >

[Matplotlib-users] CXX type errors help

2007-06-04 Thread Stefan Kueppers
Hi all, I am a matplotlib novice and am having problems with imported floats generated by a Perl script using the Maxmind Geo::IP library. I keep getting CXX TypeErrors which I can not seem to eliminate. Any pointers for this novice please? I write files that return longitude and latitude and th

Re: [Matplotlib-users] problem with ghostscript

2006-10-23 Thread Stefan van der Walt
On Mon, Oct 23, 2006 at 01:28:36PM -0400, Darren Dale wrote: > Hi Stefan, > > On Monday 23 October 2006 11:17, Stefan van der Walt wrote: > > I am trying to generate graphs using > > > > text.usetex : True > > ps.usedistiller : xpdf [...] > > I can't

[Matplotlib-users] problem with ghostscript

2006-10-23 Thread Stefan van der Walt
Hi, I am trying to generate graphs using text.usetex : True ps.usedistiller : xpdf Unfortunately, when running import pylab as P P.plot([10],[10]) P.savefig('test.eps') I get an error message: File "/home/stefan//lib/python2.4/site-packages/matplotlib/backends/backend_ps.py&q

Re: [Matplotlib-users] windrose 0.5

2006-10-18 Thread Stefan van der Walt
On Wed, Oct 18, 2006 at 05:57:55PM +0200, Lionel Roubeyrie wrote: > Hi Derek, > happy to see you use it, here is windrose0.5 with some improvments :-) I'd like to see what the latest version does -- can you post a segment of code that demonstrates? Cheers Stéfan -

Re: [Matplotlib-users] problem with axes size

2006-10-15 Thread Stefan van der Walt
On Sun, Oct 15, 2006 at 09:31:32PM -0200, Flavio Coelho wrote: > Hi, > > I am having a strange behavior with the size of axes in imshow. the attached > code worked fine with an older version of Pylab, but with the latest SVN, the > plots are appearing very narrow (vertically)in the middle of the w

Re: [Matplotlib-users] subplot(1,1,[...]) and pprint_getters

2006-10-12 Thread Stefan van der Walt
On Thu, Oct 12, 2006 at 07:00:05PM -0500, John Hunter wrote: > >>>>> "Stefan" == Stefan van der Walt <[EMAIL PROTECTED]> writes: > Stefan> if hasattr(val, 'size') and val.size > 6: > > This looks like a numpy vs nume

[Matplotlib-users] subplot(1,1,[...]) and pprint_getters

2006-10-12 Thread Stefan van der Walt
Hi all First, a small bug: In [4]: s = subplot(121) In [5]: getp(s.get_frame()) --- exceptions.TypeError Traceback (most recent call last) /home/stefan/work/scipy/debug/ /home/stefan/lib

[Matplotlib-users] markercolor broken

2006-10-08 Thread Stefan van der Walt
Hi all The marker behaviour changed in r2790 | nnemec | 2006-09-29 11:46:57 +0200 (Fri, 29 Sep 2006) | 1 line reworked linestyle and markercolor handling For example, try the following: N.plot(N.random.random(1000),'r.')

Re: [Matplotlib-users] How to transpose a matrix

2006-10-05 Thread Stefan van der Walt
On Thu, Oct 05, 2006 at 03:50:42PM -0400, [EMAIL PROTECTED] wrote: > Is there any easy fucntion to do that? Thanks You mean like x.transpose() or x.T? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net

Re: [Matplotlib-users] line styles with hollow circles?

2006-09-28 Thread Stefan van der Walt
On Thu, Sep 28, 2006 at 08:24:44PM +0200, Christian Meesters wrote: > I'd like to plot experimental data points with fitted data through it. This > time best would be to plot hollow circles for the experimental data. Pretty > much like literal 'o's (except, of course, that passing 'o' results in

Re: [Matplotlib-users] Legend outside plot

2006-08-18 Thread Stefan van der Walt
On Thu, Aug 17, 2006 at 09:48:58PM -0700, Brendan Barnwell wrote: > [I accidentally sent this message privately to the sender before. . . why > doesn't this list set the Reply-To header to the list?] I don't think mailing lists should change the reply-to: http://www.unicom.com/pw/reply-to-harmfu

Re: [Matplotlib-users] Problems upgrading to mpl 0.87.4

2006-08-14 Thread Stefan van der Walt
On Mon, Aug 14, 2006 at 11:12:29AM -0700, Christopher Barker wrote: > Another (or additional) option is for both MPL and wx to support the new > array interface protocol in numpy. There's a lot of other reasons to do > that, and, again, Robin has expressed his support for this. If we could > get

Re: [Matplotlib-users] plot swaps axes specified with extent

2006-07-28 Thread Stefan van der Walt
On Thu, Jul 27, 2006 at 08:57:47PM -0400, PGM wrote: > > Is this normal? If so, how do I get around the problem? I also > > noticed that, even without extents, the image gets scaled after > > plotting. > > Try to set the "_autoscale" parameter of your current 'axes' to False. That > way, you sho

Re: [Matplotlib-users] plot swaps axes specified with extent

2006-07-28 Thread Stefan van der Walt
Hi Eric On Thu, Jul 27, 2006 at 02:57:31PM -1000, Eric Firing wrote: > That certainly looks to me like a bug, but it is not obvious to me after > a quick look where the bug is (although I suspect it is very simple), > and I can't look at it more right now. If someone else doesn't chime in > wi

[Matplotlib-users] plot swaps axes specified with extent

2006-07-27 Thread Stefan van der Walt
Hi all, I have a script that reads in mouse-click coordinates from an image. I noticed that, with image extents specified, the axes flip whenever I plot to them. This snippet demonstrates the behaviour I see: # -- START -- import pylab as P import numpy as N # Generate test pattern x = N.arang

Re: [Matplotlib-users] Compiled against version 90709 of C-API... numpy is 90907

2006-07-14 Thread Stefan van der Walt
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 the enthought 2.4 > > beta 3 and matplotlibe 0.87.4 py2.4 pairing. > > > > Any thoughts? > > > > > RuntimeError: module com

Re: [Matplotlib-users] ANN: matplotlib-0.87.4 (bugfix release for enthon)

2006-07-13 Thread Stefan van der Walt
On Thu, Jul 13, 2006 at 07:45:37AM -0500, John Hunter wrote: > > "Eric" == Eric Firing <[EMAIL PROTECTED]> writes: > Eric> To reply more directly to your proposal now that I have > Eric> thought about it more: although I see the logic in it, I > Eric> don't see much gain from your N

Re: [Matplotlib-users] plot command: more flexible argument handling

2006-07-13 Thread Stefan van der Walt
On Wed, Jul 12, 2006 at 01:19:41PM -1000, Eric Firing wrote: > To summarize, the options seem to be: > > 1) Leave plot argument parsing alone. > 2) Accept an Nx2 array in place of a pair of arguments containing x and y. > > 3) Implement the Matlab model. > 4) Implement the Matlab model, but takin

Re: [Matplotlib-users] passing 1D or 2D arrays to contour, pcolor, image, plot

2006-07-13 Thread Stefan van der Walt
On Thu, Jul 13, 2006 at 10:34:11AM +0200, Mark Bakker wrote: > To be honest, I think the native array storage order matters a lot. > When you have a large dataset, transposing the matrix is not a cheap > command. If you use numpy, transposing is cheap. You see it when you try import numpy as N z

Re: [Matplotlib-users] ANN: matplotlib-0.87.4 (bugfix release for enthon)

2006-07-13 Thread Stefan van der Walt
On Wed, Jul 12, 2006 at 05:59:16PM -1000, Eric Firing wrote: > To reply more directly to your proposal now that I have thought about it > more: although I see the logic in it, I don't see much gain from your > Nx2 idea; it not very hard to simply write P.plot(z[:,0], z[:,1]). > Furthermore, impl

Re: [Matplotlib-users] ANN: matplotlib-0.87.4 (bugfix release for enthon)

2006-07-13 Thread Stefan van der Walt
Hi Eric On Wed, Jul 12, 2006 at 05:59:16PM -1000, Eric Firing wrote: > To reply more directly to your proposal now that I have thought about it > more: although I see the logic in it, I don't see much gain from your > Nx2 idea; it not very hard to simply write P.plot(z[:,0], z[:,1]). > Furtherm

Re: [Matplotlib-users] ANN: matplotlib-0.87.4 (bugfix release for enthon)

2006-07-12 Thread Stefan van der Walt
On Tue, Jul 11, 2006 at 10:53:59PM -0400, Charlie Moad wrote: > 2006-06-22 Added support for numerix 2-D arrays as alternatives to >a sequence of (x,y) tuples for specifying paths in >collections, quiver, contour, pcolor, transforms. >Fixed contour bug involving

Re: [Matplotlib-users] showing an image on log axes?

2006-06-15 Thread Stefan van der Walt
On Thu, Jun 15, 2006 at 11:02:47AM -0600, Fernando Perez wrote: > On 6/15/06, Stefan van der Walt <[EMAIL PROTECTED]> wrote: > > I often want to plot matrices, with the axes labeled according to the > > matrix index. I.e. the top-lefthand element should be (0,0) and the

Re: [Matplotlib-users] showing an image on log axes?

2006-06-15 Thread Stefan van der Walt
On Tue, Jun 13, 2006 at 06:21:22AM -0500, John Hunter wrote: > setting the xscale and yscale to 'log' should work fine, as long as > you make sure the xaxis and yaxis do not contain nonpositive limits. > For an MxN image, the default limits are 0..N-1 and 0..M-1 and the 0 > will break the log trans

Re: [Matplotlib-users] TextWithDash broken

2006-06-06 Thread Stefan van der Walt
On Tue, Jun 06, 2006 at 12:32:00PM +0200, Stefan van der Walt wrote: > In current SVN, line 1164 of text.py (__init__ of TextWithDash) refers > to "renderer" which is not defined. This breaks almost any > operation. Eek! Local changes in my repository. Please disregard t

[Matplotlib-users] TextWithDash broken

2006-06-06 Thread Stefan van der Walt
Hi, In current SVN, line 1164 of text.py (__init__ of TextWithDash) refers to "renderer" which is not defined. This breaks almost any operation. Regards Stéfan ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sou