[Matplotlib-users] Set X,Y,and Z data for a pcolormesh

2014-04-02 Thread james
, but I cannot figure out anyway to do it. Any help would be appreciated. James -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Set-X-Y-and-Z-data-for-a-pcolormesh-tp43187.html Sent from the matplotlib - users mailing list archive at Nabble.com

[Matplotlib-users] scikits.timeseries and matplotlib.finance.candlestick()

2010-01-07 Thread James
Has anyone managed to plot a candlestick chart with a scikits.timeseries? Is there an easy way to wrap the matplotlib.finance.candlestick call? James -- This SF.Net email is sponsored by the Verizon Developer Community

[Matplotlib-users] building matplotlib 1.3 on OS X 10.8.4

2013-08-22 Thread James Boyle
I built MPL 1.3 from source, all seem to go OK but I ran into the problem of not finding libfreetype.6.dylib when importing. On the web, I found references to this problem for builds on OS X. The solutions refer to a file README.osx, which is not present in the 1.3 distribution. The documentatio

[Matplotlib-users] building matplotlib from source in Linux

2009-08-10 Thread James Battat
round), and pylab.savefig("test.png") makes an empty image (white background). I've tried rebuilding, but with no success (output also below). Suggestions are greatly appreciated, Thanks, James > uname -a Linux mitbbr00 2.6.9-67.0.20.ELhugemem #1 SMP Wed Jun 25 12:40:18 CDT

[Matplotlib-users] contourf() color mapping

2010-02-02 Thread James Conners
ap to the endpoints of the plotted values. Can this be done? Any help is appreciated. Thanks. - James -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers a

Re: [Matplotlib-users] contourf() color mapping

2010-02-02 Thread James Conners
Great. Just what I needed. I appreciate it. - James On Feb 2, 2010, at 1:56 PM, Eric Firing wrote: > James Conners wrote: >> Hi, >> >> I'm having some trouble producing a filled contour how I want it. >> >> Say I'm plotting data over the

Re: [Matplotlib-users] vector EPS

2010-02-06 Thread James Cloos
original TTF, I suspect the OP's downstream might find the eps more to its liking. Ttftotype42 from <http://www.lcdf.org/type/> can convert TTF to Type42. -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6 ---

Re: [Matplotlib-users] vector EPS

2010-02-08 Thread James Cloos
>>>>> "M" == Michael Droettboom writes: M> Matplotlib will output Type 42 fonts if the rcParam "ps.fonttype" M> is set to 42. I read the reply which stated that after sending mine.... Sorry for the noise. -JimC -- Jam

Re: [Matplotlib-users] figure save problem

2010-03-11 Thread James Boyle
I have the same problem with nearly identical setup: OS X 10.5.8 - intel matplotlib 99.1.1 python 2.6.1 ipython 0.9.1 numpy-1.3.0 --Jim On Mar 11, 2010, at 1:31 PM, Andre Walker-Loud wrote: > Hi All, > > I am having a problem saving figures produced with matplotlib. Right > now, I am running a

[Matplotlib-users] plotyy equivalent example -- png output

2010-04-29 Thread James Jack
2) It's still a botch. 3) I tried using alpha but it didn't seem to work at all? Does anyone have a better implementation of this or better ideas? Many thanks James -- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Re: [Matplotlib-users] plotyy equivalent example -- png output

2010-04-29 Thread James Jack
Thank you Matthias :) I think the problem here is that I never found an example showing 'twin' scales, so I botched it to get the same result! Cheers James -- ___

[Matplotlib-users] OSX 10.5 event.key bug

2008-09-16 Thread James Schombert
in matplotlib under 10.5 Mac OS X, if the event.key is 'g' or 'l' then grid plotting ('g') or log plotting ('l') is turned on is this a known bug? any workarounds? J - This SF.Net email is sponsored by the Moblin Your Move D

[Matplotlib-users] Odd problem when saving to eps/ps

2008-10-30 Thread James Price
Cheers James - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Sou

Re: [Matplotlib-users] Testing - my posts aren't showing up on the list

2008-11-04 Thread James Turner
Hello, I have found that messages sometimes don't show up on these lists if your options are set not to receive mailings (eg. if you just want to look for replies in the archive). James. Michael Droettboom wrote: > I don't know if there's any way of knowing from the outsi

Re: [Matplotlib-users] OSX 10.5 event.key bug

2008-12-14 Thread James Schombert
Using matplotlib 0.98.5 on OSX 10.5, the following error occurs for many key_press events using the standard connect class - letter such as c,v,s etc (and most important, backspace) Exception in Tkinter callback Traceback (most recent call last): File "/System/Library/Frameworks/Python.framewor

Re: [Matplotlib-users] OSX 10.5 event.key bug

2008-12-15 Thread James Schombert
Using matplotlib 0.98.5 on OSX 10.5, the following error occurs for many key_press events using the standard connect class - letter such as c,v,s etc (and most important, backspace) Exception in Tkinter callback Traceback (most recent call last): File "/System/Library/Frameworks/Python.framewor

[Matplotlib-users] bad keys in event.key

2008-12-17 Thread James Schombert
Using matplotlib 0.98.5 on OSX 10.5, the following error occurs for many key_press events using the standard connect class - letter such as c,v,s etc (and most important, backspace) Exception in Tkinter callback Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/

Re: [Matplotlib-users] bad keys in event.key

2008-12-17 Thread James Schombert
33, then build matplotlib-0.98.5 J note: i backed down to 0.98.3, it works fine John Hunter wrote: > On Wed, Dec 17, 2008 at 1:24 PM, James Schombert wrote: >> Using matplotlib 0.98.5 on OSX 10.5, the following error >> occurs for many key_press events using the standard >>

[Matplotlib-users] possible kludge for masked value colors in contourf?

2008-12-31 Thread James Boyle
As far as I can tell, you cannot specify the color that contourf uses for masked values. The examples enclosed with matplotlib ( 0.98.3) specifically comment that this is the case. It appears that contourf just does not plot anything where the masked values occur and the background ( usually

[Matplotlib-users] 2nd Tk window from matplotlib

2009-01-04 Thread James Schombert
can anyone recommend the best method in which to open a 2nd Tk window from matplotlib? One where you might enter some data to be read by the main script in an interactive way. Current attempting an Tk commands will just reajust the plot window. J

[Matplotlib-users] Code attached for autoscaled text around graph

2009-03-20 Thread James Phillips
All, Attached, and below, is public domain code for making variable-sized plots with autoscaled text that exactly fits the available visual plot space, useful for web sites where users choose output files with different sizes. Examples are at the bottom of the file. James R

[Matplotlib-users] capsize on errorbars

2011-11-08 Thread Blake, James
king previously with 1.0.1, but can't remember for definite. Matplotlib: 1.1.0 Python version: 2.7.2 IPython: 0.11 Windows XP 32 bit Many thanks for any pointers, and apologies if I have missed an obvious setting. James === begin example code === import matplotlib.pyplot as plt import num

Re: [Matplotlib-users] capsize on errorbars

2011-11-08 Thread Blake, James
, but with zero width). With mew>0, if I change capsize, the width of the cap now adjusts accordingly. Many thanks. James From: ben.v.r...@gmail.com [mailto:ben.v.r...@gmail.com] On Behalf Of Benjamin Root Sent: 08 November 2011 16:41 To: Blake, Ja

[Matplotlib-users] SyntaxError: matplotlib python3 install problem

2012-09-06 Thread James Morrison
Hi, I downloaded a zip from the master on the github matplotlib repository, when I run: python3 setup.py install I get several 'SyntaxError: invalid syntax' errors which appear to highlight quotes ... byte-compiling /usr/local/lib/python3.2/site-packages/matplotlib/sphinxext/plot_directive.py to

[Matplotlib-users] masked array problem

2010-06-07 Thread James Evans
an actual bug? Thanks, --James Evans masked_array-fail.py Description: Binary data masked_array-good.py Description: Binary data -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father&

Re: [Matplotlib-users] Sigmoid Curve Fitting

2010-09-21 Thread James Phillips
source code for http://zunzun.com is freely available under a BSD-style license on Google's source code repository at http://code.google.com/p/pythonequations/downloads/list and comes with many examples - so you *can* run it locally. James Phillips zun...@zunzun.c

[Matplotlib-users] Installing matplotlib from source on Snow Leopard

2010-10-20 Thread James Battat
lding from source because I was not able to install from the DMG installer (matplotlib-1.0.0-python.org-py2.6-macosx10.4.dmg). When I tried the .dmg installer, I got the following message: matplotlib 1.0.0-r0 can't be installed on this disk. matplotlib requires System Python 2.6 to i

Re: [Matplotlib-users] Axes labels crooked using mplot3d in WX

2010-11-11 Thread James Davidheiser
just try changing between Wx and WxAgg for the backends, and the positions of the labels definitely move around in weird ways between the two, so I think I'm now even more confused than I was before. James --

Re: [Matplotlib-users] Axes labels crooked using mplot3d in WX

2010-11-11 Thread James Davidheiser
From: ben.v.r...@gmail.com [mailto:ben.v.r...@gmail.com] On Behalf Of Benjamin Root Sent: Thursday, November 11, 2010 12:20 PM To: James Davidheiser; Matplotlib Users Subject: Re: [Matplotlib-users] Axes labels crooked using mplot3d in WX On Thu, Nov 11, 2010 at 12:20 PM, Benjamin Root

[Matplotlib-users] Line2D: drawstyle + pick_event

2011-02-21 Thread James Kitchen
'pick_event' fires when I pick on either the marker or the line segment of a Line2D object. But if I change the drawstyle to use steps (steps-pre, steps-post, steps-mid), picking on the line segment is broken. It still seems to think the line is linear. This leads to very strange behavior whe

[Matplotlib-users] Colorbar labels never appear vertically

2011-08-19 Thread James McMurray
nal. I am creating the colorbars with code like: cbar1.set_label("Lifetime [$\mu$s]", rotation='vertical') And yet the specified rotation has no effect. Any help would be much appreciated, James -

Re: [Matplotlib-users] Colorbar labels never appear vertically

2011-08-19 Thread James McMurray
Figure and the GTK canvas in my application. I am using matplotlib 1.0.1 On 19 August 2011 10:28, Eric Firing wrote: > On 08/18/2011 09:53 PM, James McMurray wrote: > > Hi, > > > > I am having a problem where the colorbar labels will never appear > > vertically, even when

Re: [Matplotlib-users] Colorbar labels never appear vertically

2011-08-19 Thread James McMurray
LaTeX. On 19 August 2011 10:57, James McMurray wrote: > I made this standalone script here: http://pastebin.com/AnKeCwiU and this > does not suffer from the issue. For comparison here is the plotting function > in my program: http://pastebin.com/7xxtPQYb > > The only major differenc

[Matplotlib-users] Highlight values outside colorbar limits

2011-08-29 Thread James McMurray
legitimate data points (as they can be when they are just more black and white points as default). Thanks, James McMurray -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution

Re: [Matplotlib-users] Highlight values outside colorbar limits

2011-08-29 Thread James McMurray
Okay, so using cm.set_over() and set_under works, but is there any way of adding the set colors to the edges of the colorbar? On 29 August 2011 15:47, James McMurray wrote: > Hi, > > Is it possible to color values outside the colorbar limits in a different > color than the colorba

[Matplotlib-users] discrete non-uniform intervals colorbar

2007-04-17 Thread James Boyle
I wish to make a color filled plot with the colors defined for discrete, non-uniform intervals. Something like: 0.0 -0.001 0.001-0.05 0.05-0.2 0.2-0.4 0.4-0.8 0.8-1.0 red blue green magenta yellowcyan with the colorbar labeled app

Re: [Matplotlib-users] [discrete non-uniform intervals colorbar

2007-04-18 Thread James Boyle
(). However, I have not been able to figure out how to do this for non-uniform intervals. This is a long winded way of saying that getting pcolor and matshow to work may or may not solve my specific problem. Thanks again, --Jim On Apr 18, 2007, at 1:52 AM, Eric Firing wrote: > James Bo

[Matplotlib-users] color bar label?

2007-04-26 Thread James Boyle
What is the easiest way to put a label on the color bar. I am thinking of putting units either below or next to the bar. I do not see this in the examples or wiki. My first guess is to get hold of the axis for the colorbar and put a label using this - but this seems a bit roundabout. --Jim

[Matplotlib-users] Basemap - coastlines overlay question

2007-05-29 Thread James Boyle
The code at the end of this message is a toy example which shows the problem I am encountering. OS X 10.4.9 basemap 0.9.5 (Numeric 24.2 and Numpy 1.0) python 2.5 I define a map projection using Basemap, and then plot a number of markers at various geographical locations. I would like the map

[Matplotlib-users] 2nd y axis, same data

2007-05-30 Thread James Battat
Hello, (for a 2-d plot) Any example code of how to label the 2nd y-axis using a different scale than the first y-axis for the same dataset? For example, how do you make a plot of distances with the left y-axis in kilometers and the right y-axis in miles? Thanks in advance for your help, James

Re: [Matplotlib-users] Text line spacing control

2007-07-10 Thread James Boyle
As a coincidence, just today I was trying to figure out how to increase the spacing between the lines in the title of my plot. I too, would like some means to control this. --Jim On Jul 10, 2007, at 10:48 AM, Jianfu Pan wrote: > John, > > Thanks for your prompt response. I think the option ca

[Matplotlib-users] eliminating end labels on axes

2007-08-15 Thread James Boyle
I wish to produce a plot very much like that in the examples - ganged_plots.py. In these type of plots the tick labels on the end points of the y - axis tend to run into each other if nothing is done. In the example -ganged_plots.py, this issue is addressed by judicious use of ylim and defin

[Matplotlib-users] multiple (>2) y-axes

2007-10-05 Thread James Boyle
I wish to plot 3 lines on a single graph - each line requires a separate y scaling but shares a common x. The case for 2 such lines is handled by twinx as in the two_scales.py example. I have not found an example of 3 lines ( or greater). In the case of more than 2 scales the y axis scale wo

[Matplotlib-users] Stacked bar chart with dates on x axis

2007-10-12 Thread James Jackson
Hi, I have some time series data of server CPU usage (user, system, WIO, free, etc) and would like to plot this as a stacked bar chart, with dates / times on the x axis (as per plot_date for x, y series data). Is this possible? Cheers, James

[Matplotlib-users] Error bars on plot created with axes.plot(...)

2007-11-08 Thread James Jackson
like to do is add custom error bars to each of the bin centroids. Clearly some form of ScatterError(x, y, yerr_up, yerr_down) where the scatter point itself is set to be non-visible would be ideal. Is there anything like this I could use? Regards, James

[Matplotlib-users] colorbar label every level

2008-01-17 Thread James Boyle
I am using the colorbar with a discrete set of intervals, the progression through the levels is not linear. Presently, the colorbar call labels every other level, this looks very nice, but unfortunately in my case one cannot infer the value of the unlabeled levels due to the non-linear scale

[Matplotlib-users] missing slice of pie()

2008-01-21 Thread James Battat
e is missing). By contrast, the following works as expected: >>> pylab.pie([97,3]) It seems that the problem occurs for small slices, apparently the threshold is around 2-3%. Any ideas? Thanks in advance, James ---

[Matplotlib-users] specifying colors in 'extend' option of contourf

2008-05-07 Thread James Boyle
I cannot get the contourf extended color map ranges to show up in the plot. the extend option of contourf states: extend = 'neither', 'both', 'min', 'max' Unless this is 'neither' (default), contour levels are automatically added to one or both ends of the range so that all da

[Matplotlib-users] suggestion for Example plots

2006-06-07 Thread James Boyle
I have always felt that it would be useful to have available a collection of plots corresponding to the code in the examples file as part of the distribution. (for those examples that generate plots, of course) The plot names would be the same as the example code that generated them. It could b

[Matplotlib-users] 2d Gaussian kernel with pylab?

2006-06-21 Thread James Carroll
Hi, What's a good way to create a 2d gaussian kernel with pylab? I want a 9x9 matrix with 1.0 in the center, and 0.0 in the corners, and a nice gaussian distribution from the center out. Thanks! -Jim All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicia

[Matplotlib-users] 2D Gaussian Kernel with pylab?

2006-06-21 Thread James Carroll
Hi, What's a good way to create a 2d gaussian kernel with pylab? I want a 9x9 matrix with 1.0 in the center, and 0.0 in the corners, and a gaussian distribution from the center out. Thanks, -Jim All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. T

[Matplotlib-users] last version that worked well with py2exe?

2006-06-28 Thread James Carroll
Hi I read on the py2exe wiki that the 0.83 line creates huge distributions because of trouble excluding backends that are not wanted. ( http://starship.python.net/crew/theller/moin.cgi/MatPlotLib ) I do need to have a small distribution on windows. Which version of matplotlib was the last to pl

Re: [Matplotlib-users] last version that worked well with py2exe?

2006-06-28 Thread James Carroll
On 6/28/06, Géza Groma <[EMAIL PROTECTED]> wrote: > Using Matplotlib 0.87.3 (wxAgg backend), NumPy 0.9.8, SciPy 0.4.9, > wxPython unicode.2.6.3.2, python 2.4.3 the following setup.py worked > well with py2exe 0.6.5 on Widows XP: > I followed your example, and had some luck. Thanks. My final dist

Re: [Matplotlib-users] last version that worked well with py2exe?

2006-06-29 Thread James Carroll
of matplotlib, without pulling in numpy and scipy and all the bells and whistles. Of course, the real solution to my problem is to just start using all the bells and whistles (I'm happy to see the mathtext module that will work on systems that don't have TeX!) -Jim On 6/28/06, Alan

[Matplotlib-users] color bar with non-linear spacing

2006-06-29 Thread James Boyle
I am interested in producing a color map and accompanying colorbar with non-linear (arbitrary) spacing. My intent is like the attached color bar in which the increments are monotonic but vary in size. There might be an easy way to do this but it is not apparent to me. --Jim Using Tomcat but

Re: [Matplotlib-users] last version that worked well with py2exe?

2006-06-30 Thread James Carroll
> Understood. But do not overlook that PyInstaller is really > the current life of Gordon McMillan's Python Installer, > so it really is not a new kid on the block. I gave PyInstaller a try, and it seemed to be smart and easy at first, and created a single exe that was just 8MB. The problem is t

Re: [Matplotlib-users] matplotlib, numpy and py2exe

2006-07-06 Thread James Carroll
Hi Werner, I got this problem too, and I actually updated the py2exe wiki on what to do when you see it. The problem is that there are multiple _sort modules (_sort.pyd in numpy and others in the different numer* packages.) Only some of them have dtype. See the last section (seciton 5) of http:

[Matplotlib-users] extend for colorbar

2006-08-21 Thread James Boyle
I am using matplotlib 0.87.3 The documentation of colorbar in color.py seems to indicate that one should be able to create a color bar with pointed ends, the fill color of the ends corresponding to the over and under colors. I have not been able to get this to work. I have set the colormap.se

Re: [Matplotlib-users] extend for colorbar

2006-08-22 Thread James Boyle
t is the only example > with pointed ends, and I think it was present as-is in 0.87.3. > > Eric > > James Boyle wrote: >> I am using matplotlib 0.87.3 >> The documentation of colorbar in color.py seems to indicate that one >> should be able to create a color bar with

[Matplotlib-users] Basemap - quiver scaling

2006-08-31 Thread James Boyle
when I call quiver in the Basemap toolkit, the scale keyword has the effect of eliminating all vectors, no matter what value I assign (except None). I am using matplotlib 0.87.3 - Basemap 0.9 In any case the exact effect of the scale parameter is obscure - how does is scale? units/inch, unit

[Matplotlib-users] Set Z data on pcolor.

2014-04-02 Thread James Andrew Venning
, but I cannot figure out anyway to do it. Any help would be appreciated. James -- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https

Re: [Matplotlib-users] Set X,Y,and Z data for a pcolormesh

2014-04-04 Thread James Andrew Venning
This worked brilliantly! Thank you so much! Secondary question now, is this: I have a contourf and a polygon made with ax.add_collection3d(a3.art3d.Poly3DCollection(verts, facecolors=[.5,.5,.5], linewidths=1,edgecolor='k',zorder=0)) How do I change it so the contourf is on top of the polygon? By

[Matplotlib-users] backend_wx and 0.98.0

2008-06-12 Thread James A. Benson
My app uses the wx backend, so I happened to notice that the backend_wx doesn't seem to work with matplotlib 0.98.0. Running the 0.98 example embedding_in_wx.py shows the problem. Only a bit of the lines get plotted. The pan up/down zoom in/out all show various error messages. When i revert bac

Re: [Matplotlib-users] backend_wx and 0.98.0

2008-06-13 Thread James A. Benson
On Fri, 13 Jun 2008, John Hunter wrote: > On Thu, Jun 12, 2008 at 9:21 PM, James A. Benson > wrote: >> >> My app uses the wx backend, so I happened to notice >> that the backend_wx doesn't seem to work with >> matplotlib 0.98.0. Running the 0.98 example embe

[Matplotlib-users] Autonomous display of image/plot/figure

2008-07-07 Thread James K. Gruetzner
nually kill it with the kill -SIGTERM command. I'd like the process to die when I close the window. I'm really an application programmer, not a system programmer, and usually don't delve this deeply into process management, so I'm probably doing something extremely ignorant.

[Matplotlib-users] Fwd: Re: Autonomous display of image/plot/figure

2008-07-09 Thread James K. Gruetzner
nd matplotlib 0.91.2-1.fc8 from the yum repository. Backend is set to GTKAgg in my matplotlibrc file. James --- On Monday 07 July 2008 17:29:16 you wrote: > Why do you want to "fork" the process? If you just run it in the > background it should have the desired ef

Re: [Matplotlib-users] Fwd: Re: Autonomous display of image/plot/figure

2008-07-11 Thread James K. Gruetzner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 10 July 2008 18:50:12 you wrote: > James K. Gruetzner wrote: > >>> I'm running Fedora 8, python 2.5.1, and matplotlib 0.91.2-1.fc8 from > >>> the yum repository. Backend is set to GTKAgg in my matplotlib

Re: [Matplotlib-users] Fwd: Re: Autonomous display of image/plot/figure

2008-07-15 Thread James K. Gruetzner
? > > Devs, what do you think? > > Ryan > -- > Ryan May > Graduate Research Assistant > School of Meteorology > University of Oklahoma Thanks, Ryan, The requested info is below. Thanks again. James - - SMALL COMPLETE EXAMPLE CODE FOLLOWS - #!/usr/bin/python

Re: [Matplotlib-users] Fwd: Re: Autonomous display of image/plot/figure

2008-07-15 Thread James K. Gruetzner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 15 July 2008 07:48:45 John Hunter wrote: > On Tue, Jul 15, 2008 at 8:39 AM, James K. Gruetzner <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On Monday 14 July 20

Re: [Matplotlib-users] [matplotlib-devel] What would you like to see in a book about Matplotlib?

2009-01-07 Thread James K. Gruetzner
ppets, combined with a chapter of short cookbook examples, would be most useful for the Matplotlib book. Tell the gent who floated you the proposal that I'm looking forward to purchasing the book. Oh, and please hurry up with the publication!:-) James On Monday 05 January 2009