[Matplotlib-users] Automatic selection of different colormaps for anomaly intensity data

2015-07-02 Thread George Nurser
) it may not always be desired; but again 99% of the time it probably is. This would enable people just starting to use matplotlib perhaps to see that it can give 'better' plots than matlab Anyway, just a thought. George Nurser

Re: [Matplotlib-users] [matplotlib-devel] I have a Mac!

2013-08-29 Thread George Nurser
It might be useful to see how macports does it -- their builds have always worked for me. George Nurser. On 23 August 2013 18:53, Chris Barker - NOAA Federal chris.bar...@noaa.govwrote: On Fri, Aug 23, 2013 at 8:14 AM, Matt Terry matt.te...@gmail.com wrote: I'm banging away at installing

Re: [Matplotlib-users] basemap via macports

2012-08-24 Thread George Nurser
Hi, Macports python is currently 2.7.3. I don't think you are running macports python. Try /opt/local/python see if you have the same problem. George Nurser On 24 August 2012 15:46, Carlos Grohmann carlos.grohm...@gmail.com wrote: Hello all, I just did a fresh macports install

[Matplotlib-users] basemap docs not finding sphinx extensions

2011-04-07 Thread George Nurser
Hi, I was just rebuilding basemap and its docs. With v1.07 of Sphinx, latest git versions of matplotlib basemap, I needed to modify basemap/doc/conf.py as follows: 1. Insert before line 20: sys.path.append(os.path.abspath(PATH_TO_MATPLOTLIB_SRC/doc/sphinxext')) (to find matplotlib sphinxext

Re: [Matplotlib-users] Compiling matplotlib against 64 bit python 2.6 on OSX Snow Leopard

2010-05-25 Thread George Nurser
Hi, Installing pkg-config sorted things out for me. http://pkgconfig.freedesktop.org/releases/pkg-config-0.23.tar.gz --George. On 25 May 2010 16:03, Pim Schellart p.schell...@gmail.com wrote: Hi Everyone, I am attempting to compile matplotlib against a 64 bit version of Python 2.6 compiled

Re: [Matplotlib-users] Compiling matplotlib against 64 bit python 2.6 on OSX Snow Leopard

2010-05-25 Thread George Nurser
If what John suggests doesn't work, and you really only need 64 bit, then the nuclear option is to remove all occurrences of -arch i386 from the makefile (assuming you have a framework build) at /Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/config/Makefile This should only

[Matplotlib-users] colorbar with date-time formatting

2010-01-14 Thread George Nurser
='horizontal',shrink=0.7) cax=cb.ax cax.xaxis_date() cax.xaxis.set_major_locator(DayLocator()) cax.xaxis.set_major_formatter(DateFormatter('%b %d')) plt.show() Any ideas on how to do this would be appreciated. George Nurser. The code fails with the trace /Library/Frameworks/Python.framework/Versions

[Matplotlib-users] Adding-custom-axes-within-a-subplot redux

2009-10-25 Thread George Nurser
]) is far more elegant than my original code, but it seems a pity that fig.add_axes can't accept the transform directly. Regards, George Nurser. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA

Re: [Matplotlib-users] making quicktime animations from linux

2009-09-03 Thread George Nurser
quicktime pro. George Nurser. 2009/9/3 Phil Austin paus...@eos.ubc.ca: Andrew Straw wrote: I use::  ffmpeg -r 60 -i frame%05d.png -vcodec wmv2 -b 2000k out.avi That's encouraging, thanks.  I tried this and produced http://clouds.eos.ubc.ca/~phil/video/out.avi Just to confirm: the two OSX

[Matplotlib-users] mac os backend not building

2009-08-19 Thread George Nurser
confusion about whether MAC_OS_X_VERSION_10_5 is defined?? --George Nurser. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment

Re: [Matplotlib-users] xticklabels printed twice when using twinx

2009-02-28 Thread George Nurser
David, This seems to work for me: (here ax2 is the second axis) The only work around I can see is to add for tl in ax2.get_xticklabels(): tl.set_visible(False) To prevent the ticklines being drawn twice I guess we should also do for tline in ax2.get_xticklines(): tline.set_visible(False)

Re: [Matplotlib-users] Two bugs in quiver?

2009-01-20 Thread George Nurser
Downloaded latest svn numpy and matplotlib and it works perfectly now. Thanks for sorting it out so quickly. George. 2009/1/20 Eric Firing efir...@hawaii.edu: George Nurser wrote: I think there may be two bugs in quiver. Actually just 1... 1. Quiver doesn't seem to accept 1D arrays X

[Matplotlib-users] Two bugs in quiver?

2009-01-19 Thread George Nurser
= ma.masked_array(vv,mask=msk) ax.contour(XT,YT,uumsk*XX) # works ax.quiver(XX,YY,uumsk,vvmsk) # gives strange shapes plt.show() fig.savefig('quivtest.png',dpi=100) George Nurser. attachment: quivtest.png-- This SF.net email

[Matplotlib-users] Strange problem with savefig?

2009-01-19 Thread George Nurser
, there is no corruption of the module arrays. WxAgg backend, Intel Mac OS 10.5.6, python 2.5.2, matplotlib svn revision 6739, numpy 1.3.0.dev6297 I have the same problem with GtkAgg python 2.5.1 + matplotlib svn 6757.+ numpy 1.3.0.dev6297 on suse linux 10.1, amd_64. George Nurser

[Matplotlib-users] anomalous speeds on macosx backend

2008-12-12 Thread George Nurser
]: time fig=figure();ax=fig.add_subplot(1,1,1);ax.pcolormesh(a);draw() CPU times: user 0.21 s, sys: 0.03 s, total: 0.25 s Wall time: 0.25 s --George Nurser. import numpy as np import matplotlib.pyplot as plt a= np.random.rand(1000,200) plt.pcolormesh(a) # plt.savefig('test') plt.show() import numpy

[Matplotlib-users] broken savefig('name.pdf') with usetex, Qt4Agg

2008-06-27 Thread George Nurser
Works OK with WXAgg, but with latest svn, r5683, OS X 10.5.3, Qt4Agg backend, dvipnghack: True, text.usetex : True running from ipython -pylab: plot([1,2,3]) savefig('123_2.pdf') gives.. ERROR: An unexpected error occurred while tokenizing input The following traceback may be corrupted

Re: [Matplotlib-users] py4science OSX installation problems

2008-04-23 Thread George Nurser
/Python.framework/Versions/2.5/lib/python2.5/config/ Apologies for perhaps raising an old chestnut here but these issues would not arise if we had separate intel and ppc MacPython binaries. George Nurser. - This SF.net

[Matplotlib-users] change axes/tickmarks/ticklabels color

2007-10-16 Thread George Nurser
. Regards, George Nurser. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy

Re: [Matplotlib-users] default shading for pcolor

2007-07-20 Thread George Nurser
Default flat would be great. The default faceted has always been a pain. George. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.

Re: [Matplotlib-users] using different font families with?LaTeX-generated text

2007-05-17 Thread George Nurser
Published figures will generally be embedded in text that is Times/ Palatino etc. Computer Modern doesn't look right inside such text. If it were possible to allow use of the other font packages, it would be very useful. George Nurser

Re: [Matplotlib-users] font problems with eps on OS X (MPL 0.90.0)

2007-05-12 Thread George Nurser
Mac .otf or .dfont using Fondu [ http://fondu.sourceforge.net/] -- again included in Wierda's teX installations. HTH. George Nurser. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version

Re: [Matplotlib-users] matlab, idle, interactivity and teaching

2007-03-30 Thread George Nurser
how to do set it up in the ipython manual. George Nurser. [EMAIL PROTECTED] wrote on 30.03.2007 16:48:24: I always thought ipython didn't come with a good editor. Am I mistaken? Mark On 3/30/07, Lou Pecora [EMAIL PROTECTED] wrote: Have you looked at iPython? I think it's a great way

Re: [Matplotlib-users] plotting problem

2007-02-14 Thread George Nurser
') from pylab import * Note that if you are using an IDE like pycrust, ipython -pylab, pythonwin, or IDLE, pylab may have already been loaded, and subsequent calls to use or from pylab import * will have no effect unless you explicitly force a module reload. HTH. George Nurser

Re: [Matplotlib-users] Trying

2007-02-07 Thread George Nurser
On 07/02/07, Michael Lerner [EMAIL PROTECTED] wrote: That works for me. Thanks. I was trying to muck around with _lut directly and make a sentinel version of LinearSegmentedColormap. As I didn't really know what I was doing, I was having some strange results. Also, in case other folks

Re: [Matplotlib-users] wx figure window hangs w/macpython

2007-02-06 Thread George Nurser
/Python.framework/Versions/2.4/bin/ipython . sudo ln -s /Library/Frameworks/Python.framework/Versions/2.4/bin/irunner . sudo ln -s /Library/Frameworks/Python.framework/Versions/2.4/bin/pycolor . rehash HTH. George Nurser. - Using Tomcat

Re: [Matplotlib-users] Trying

2007-02-06 Thread George Nurser
a Colormap.__init__(self). Not sure that's really best, but i just followed the original method. HTH. George Nurser. from matplotlib.colors import Colormap, normalize import matplotlib.numerix as nx from matplotlib.numerix import alltrue,ma from types import IntType, FloatType, ListType class

[Matplotlib-users] svg doesn't seem to honour alpha channel.

2007-01-26 Thread George Nurser
produces a solid image as well. However, if I save the figure as .png, the ellipses are transparent. I had the same problem running a slightly earlier version of matplotlib on a Linux box with GTKAgg Regards, George Nurser. alpha_test.svg Description: image/svg

[Matplotlib-users] colorbar, ax.get_position after figsize changed by ax.set_aspect

2006-10-05 Thread George Nurser
; 'both' to change both which sounds relevant, but these variables don't seem to apply to ax.get_position() --George Nurser. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll

Re: [Matplotlib-users] saving displayed fig as ps fails

2006-09-21 Thread George Nurser
On 20/09/06, John Hunter [EMAIL PROTECTED] wrote: George == George Nurser [EMAIL PROTECTED] writes: George SVN revision 2774, linux 64-bit, TkAgg, NumPy. If I George create a figure on the screen (TkAgg back end), when I try George to save it as .ps, the resulting file displays

[Matplotlib-users] saving displayed fig as ps fails

2006-09-20 Thread George Nurser
SVN revision 2774, linux 64-bit, TkAgg, NumPy. If I create a figure on the screen (TkAgg back end), when I try to save it as .ps, the resulting file displays and prints as blank. However I can save it as .eps (or png) perfectly well. -George Nurser

Re: [Matplotlib-users] Contours + alpha channel?

2006-09-03 Thread George Nurser
On 01/09/06, Eric Firing [EMAIL PROTECTED] wrote: Scott, This is fixed now in svn. (I will probably go back shortly and make another change to improve efficiency.) There was a one-line bug in contour.py, but the fundamental problem was that colors.ColorConverter (which handles color inputs

[Matplotlib-users] downloading users_guide, was Re: Re: Getting started with bar charts

2006-08-21 Thread George Nurser
On 21/08/06, Jouni K Seppanen [EMAIL PROTECTED] wrote: Derek Hohls [EMAIL PROTECTED] writes: It appears the manual (which I assume might be able to help me) is not downloadable. The link : http://matplotlib.sourceforge.net/users_guide_0.87.1.pdf For some reason, downloading this file