[Matplotlib-users] pcolor - color values argument

2011-11-15 Thread klo uo
Quote: matplotlib.pyplot.pcolor(*args, **kwargs) Create a pseudocolor plot of a 2-D array. C is the array of color values. I tried to see how can I map custom color values to example array, but seems hard to understand. I

Re: [Matplotlib-users] unable to install matplotlib on MacOSX 10.6 using Fink

2011-11-15 Thread Volker Blum
On Nov 14, 2011, at 5:34 PM, Volker Blum wrote: > Thanks for the (two!) fast answers on the list. So there is hope :) I'll take > a look at the fink internals, I guess. > best wishes > Volker having said that ... after trying the one piece of software that I need on another platform, here's w

Re: [Matplotlib-users] Build on VS2008 - warnings

2011-11-15 Thread Michael Droettboom
I'd love to see the compiler logs and try to fix what I can. I don't have a Windows install to test, but maybe I can resolve the more obvious ones. Mike On 11/08/2011 05:49 AM, Mads Ipsen wrote: Hi, Thanks to the help from Christoph, I have been able to build matplotlib-1.1.0 on both Win X

Re: [Matplotlib-users] I get a warning when running code with ipython, but not with python

2011-11-15 Thread Alejandro Weinstein
On Mon, Nov 14, 2011 at 7:11 AM, Michael Droettboom wrote: > This looks like a bug for the IPython folks.  If you make a file > containing only "import gtk" and "%run" that file, one gets the same error. It is a bug of IPython 0.11. The problem is solved in 0.12. See http://mail.scipy.org/piperm

Re: [Matplotlib-users] unable to install matplotlib on MacOSX 10.6 using Fink

2011-11-15 Thread Benjamin Root
On Tue, Nov 15, 2011 at 2:53 AM, Volker Blum wrote: > > On Nov 14, 2011, at 5:34 PM, Volker Blum wrote: > > > Thanks for the (two!) fast answers on the list. So there is hope :) I'll > take a look at the fink internals, I guess. > > best wishes > > Volker > > having said that ... after trying the

Re: [Matplotlib-users] unable to install matplotlib on MacOSX 10.6 using Fink

2011-11-15 Thread Volker Blum
Hi Ben, thanks for the answer, ... umm, but did the person making the change realize that such error messages are exposed to users who do not have any idea what python is. I would plead(*) with anyone that functionality that is not harmful please not be deprecated like this. Scripts based on m

[Matplotlib-users] I have a problem with installation of python(x, y).

2011-11-15 Thread Jun Tanaka
Dear All, I have a problem with installation of python(x,y). When I try, it says "python 2.6.2 msi was not found" If anyone knows how to resolve this issue, please help me. My OS is windows 7 64bit. If this mailing lists does not help pyhton(x,y) issue, please lead me to a right place. Thank yo

Re: [Matplotlib-users] unable to install matplotlib on MacOSX 10.6 using Fink

2011-11-15 Thread Eric Firing
On 11/15/2011 06:23 AM, Volker Blum wrote: > Hi Ben, > > thanks for the answer, ... umm, but did the person making the change > realize that such error messages are exposed to users who do not have > any idea what python is. > > I would plead(*) with anyone that functionality that is not harmful >

Re: [Matplotlib-users] Matplotlib.tests sub-modules missing

2011-11-15 Thread David Welch
Hi Micheal, I didn't see your response, apologies for the frustrated post. I am building a completely fresh VE and when the testing fails I blow it away and start from scratch. I will try your suggestion on my next iteration and see if that fixes the problem. Ideally, I'd like to "pip instal

Re: [Matplotlib-users] Triangulations and Polar Plots

2011-11-15 Thread Ian Thomas
On 15 November 2011 00:18, Daniel Welling wrote: > Greetings. > > I recently found myself in the position of needing to plot polar, > irregularly spaced data. I've done similar using regularly spaced values > with no problem. However, I've found that when the points become greatly > scattered,

[Matplotlib-users] How to switch to v1.1.0 after upgrade

2011-11-15 Thread Y.Wu
Hi, all I have installed v1.1.0 from source code at : /usr/local/lib/python2.6/dist-packages/matplotlib But whenever I am using python test.py, it still refers to the old v0.99. could you please tell me how to update to the new version ? thanks a lot. Regards! Yu -

Re: [Matplotlib-users] How to switch to v1.1.0 after upgrade

2011-11-15 Thread Alejandro Weinstein
On Tue, Nov 15, 2011 at 2:45 PM, Y.Wu wrote: > Hi, all > I have installed v1.1.0 from source code at : > /usr/local/lib/python2.6/dist-packages/matplotlib > But whenever I am using python test.py, it still refers to the old v0.99. > could you please tell me how to update to the new version ? Here

[Matplotlib-users] Separate formatting for tick labels

2011-11-15 Thread magurling
Is there a way to format tick labels separately? For example: LabelsList = ['Prospero', 'Miranda', 'Caliban', 'Ariel'] xlabels = ax.set_xticklabels( LabelsList, rotation=35, horizontalalignment='right', fontstyle='italic', fontsize='10') will give me italicized x tick labels; however, what if I

[Matplotlib-users] newline characters in tick labels

2011-11-15 Thread magurling
Can a tick label be on two separate lines? For example: LabelsList = ['Howard', 'Vince', 'Bob', 'Naboo the Enigma'] xlabels = ax.set_xticklabels( LabelsList, rotation=35, horizontalalignment='right', fontstyle='italic', fontsize='10') How can I put "Naboo the Enigma" on two lines? I've tried to

[Matplotlib-users] AttributeError: 'AxesSubplot' object has no attribute 'set_ylable'

2011-11-15 Thread Y.Wu
Hi, All I am trying to add ylable to: ax1 = plt.subplot2grid((1,3), (0,0), colspan=2) But got the following error: no 'set_ylable'; Here is my code: import matplotlib.pyplot as plt import numpy as np ax1 = plt.subplot2grid((1,3), (0,0), colspan=2) ax2 = plt.subplot2grid((1,3), (0,2), colspan=

Re: [Matplotlib-users] newline characters in tick labels

2011-11-15 Thread Benjamin Root
On Tuesday, November 15, 2011, magurling wrote: > > Can a tick label be on two separate lines? For example: > > LabelsList = ['Howard', 'Vince', 'Bob', 'Naboo the Enigma'] > > xlabels = ax.set_xticklabels( LabelsList, rotation=35, > horizontalalignment='right', fontstyle='italic', fontsize='10') >

Re: [Matplotlib-users] AttributeError: 'AxesSubplot' object has no attribute 'set_ylable'

2011-11-15 Thread Benjamin Root
On Tuesday, November 15, 2011, Y.Wu wrote: > Hi, All > I am trying to add ylable to: > ax1 = plt.subplot2grid((1,3), (0,0), colspan=2) > But got the following error: no 'set_ylable'; > Here is my code: > import matplotlib.pyplot as plt > import numpy as np > ax1 = plt.subplot2grid((1,3), (0,0), co

[Matplotlib-users] Visualizing data for scientists and engineers

2011-11-15 Thread Ben Root
I just came across this paper in my twitter feed. Thought it might be relevant to this community. https://www.research.ibm.com/people/l/lloydt/color/color.HTM Cheers! Ben Root -- RSA(R) Conference 2012 Save $700 by Nov

Re: [Matplotlib-users] AttributeError: 'AxesSubplot' object has no attribute 'set_ylable'

2011-11-15 Thread Y.Wu
Much appreciated! It works! Regards! Yu On Tue, Nov 15, 2011 at 10:13 PM, Benjamin Root wrote: > > > On Tuesday, November 15, 2011, Y.Wu wrote: > > Hi, All > > I am trying to add ylable to: > > ax1 = plt.subplot2grid((1,3), (0,0), colspan=2) > > But got the following error: no 'set_ylable';

Re: [Matplotlib-users] Visualizing data for scientists and engineers

2011-11-15 Thread klo uo
It's same problem for which I asked assistance here: http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg22520.html There, Johann provided nifty script with slider, with which help user can shift colormap and get more "meaningful" image Also speaking about great Basemap package,

Re: [Matplotlib-users] newline characters in tick labels

2011-11-15 Thread magurling
Benjamin Root-2 wrote: > > Actually, that's how I do it, if I remember correctly. What is your > platform and mpl version? > I have Ubuntu 11.04, Python 2.7.1+, mpl 1.1.0. I've seen examples in the mpl gallery of two-liner labels, but none that are rotated. Perhaps I didn't look closely enough