Re: [Matplotlib-users] [newbie] live plots of multiple lines

2008-03-28 Thread Chris Withers
errorbar lots, but I'm guessing that if I add a legend, I'll have one entry for each time I called errorbar :-S) cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

[Matplotlib-users] wxagg back-end bug on windows?

2008-03-28 Thread Chris Barker
module for wxPython2.8. Any ideas? By the way, there are a number of other small bugs cropping up in the pylab window with wxagg too -- but I'll look at those once I solve this. Is no one else using MPL with wxPython2.8? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response

Re: [Matplotlib-users] wxagg back-end bug on windows?

2008-03-28 Thread Chris Barker
Chris Barker wrote: Hi all, I'm having an odd issue with the wxAgg back-end: Update: If I remove: matplotlib/backends/_wxagg.pyd The problem goes away. It looks like that pyd is getting loaded even though I'm running wxPython2.8 However, now I get a non-valid png when I do savefig

[Matplotlib-users] C++ Assertion failure during savefig

2008-04-03 Thread Chris Squibb
Hey, Up until recently I have been using mpl 0.90.1, and my application worked fine. Yesterday I upgraded to 0.91.2 and am now getting the following traceback: File application. py, line 667, in plot radial_plot_figure.savefig(png_file, dpi=self.dpi) File

[Matplotlib-users] plotting from a dictionary

2008-04-03 Thread Chris Withers
, } I'm worried about getting the dates out in order such that I get a straight line plot, rather than the zigzag back-and-forth line I reckon I'd get if I did: dates = [] count = [] for date,count in data.items: dates.append(date) count.append(count) plot(dates,counts) cheers, Chris

Re: [Matplotlib-users] matplotlib threadsafe?

2008-04-09 Thread Chris Withers
no output. Is that to be expected? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference

[Matplotlib-users] location of figure window

2008-04-09 Thread Chris Withers
of the screen. If I can get it to be to-left, then it will all be visisble without me having to move it with a mouse ;-). Any ideas? Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

[Matplotlib-users] MPL, py2exe and fonts

2008-05-06 Thread Chris Barker
really appreciate application bundles on the Mac! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL

Re: [Matplotlib-users] MPL, py2exe and fonts

2008-05-07 Thread Chris Barker
Michael Droettboom wrote: Chris Barker wrote: I'm successfully getting all the MPL data files into spy2exe with: DATA_FILES = matplotlib.get_py2exe_datafiles() The problem is that that dumps a LOT of stuff, and I don't need most of it. The default text font is Vera.ttf. (If you want

Re: [Matplotlib-users] Installation woes: phantom Numpy version?

2008-08-07 Thread Chris Barker
for that version. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED

Re: [Matplotlib-users] OS X (Intel Mac) installation woes

2008-08-18 Thread Chris Fonnesbeck
Nathaniel Virgo [EMAIL PROTECTED] writes: Hi allI'm having trouble installing on OS X.  The short story is it looks like something file is trying to build something for a ppc architecture when I'm on an Intel mac.Here's the long story:First I downloaded the

[Matplotlib-users] multivariate scatter plots?

2008-08-18 Thread Chris Fonnesbeck
I'm trying to track down a function/recipe for generating a multivariate scatter plot. I'm thinking of something similar to what you get in R if you call plot on a multivariate data frame: http://mt11.quickshareit.com/share/rplotb1a70.pdf Is there anything obvious here? It seems like something

[Matplotlib-users] rotating plots

2009-01-13 Thread Chris Fonnesbeck
of elements for each category, so a boxplot is not appropriate. Thanks in advance, -- Chris Fonnesbeck Department of Mathematics and Statistics PO Box 56, University of Otago Dunedin, New Zealand -- This SF.net email

[Matplotlib-users] plot() cuts off long tick labels

2009-01-15 Thread Chris Fonnesbeck
Is there any way of preventing tick label names from being cut off by the plot canvas? Seems to happen every time: http://a3.s3.p.quickshareit.com/files/validationb0e66.png Thanks in advance. -- Chris Fonnesbeck Department of Mathematics and Statistics PO Box 56, University of Otago Dunedin

[Matplotlib-users] plot() cuts off long tick labels

2009-01-15 Thread Chris Fonnesbeck
Is there any way of preventing tick label names from being cut off by the plot canvas? Seems to happen every time: http://a3.s3.p.quickshareit.com/files/validationb0e66.png Thanks in advance. -- Chris Fonnesbeck Department of Mathematics and Statistics PO Box 56, University of Otago Dunedin

[Matplotlib-users] Tutorial on working with Excel files in Python (without COM and cross platform!) at PyConUS 2009

2009-01-22 Thread Chris Withers
, please drop me an email and I'll try and make sure I come prepared! All you need for the tutorial is a working knowledge of Excel and Python, with a laptop as an added benefit, and to be at PyCon this year: http://us.pycon.org I look forward to seeing you all there! Chris -- Simplistix

Re: [Matplotlib-users] Tutorial on working with Excel files in Python(without COM and cross platform!) at PyConUS 2009

2009-01-27 Thread Chris Withers
the conference, I believe they'll make the tutorials available there... cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk -- This SF.net email

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

2009-01-30 Thread Chris Walker
was looking for is A cookbook of Numerical simulations of classic physics/engineering problems. For use by physicists/engineers who don't want to rewrite things from scratch. Good luck. Chris -- This SF.net email

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

2009-02-02 Thread Chris Walker
On Sun, Feb 01, 2009 at 11:59:06PM +0100, Sandro Tosi wrote: Hi Chris, thanks for your reply, helpful as usual :) On Fri, Jan 30, 2009 at 18:59, Chris Walker chr...@chiark.greenend.org.uk wrote: Firstly, good luck with the book. cheers :) The sort of book I'd buy would explain

[Matplotlib-users] Tutorial on working with Excel files in Python (without COM and cross platform!) at EuroPython 2009

2009-06-18 Thread Chris Withers
://www.europython.eu/ I look forward to seeing you all there! Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk -- Crystal Reports - New Free Runtime and 30 Day Trial

[Matplotlib-users] Stopping Legend From Overlapping the Graph

2009-06-25 Thread Chris Spencer
* of my graph, as well as the legend. Is there any way to do this with pylab? Any help is appreciated. Chris -- ___ Matplotlib-users mailing list Matplotlib-users

Re: [Matplotlib-users] Stopping Legend From Overlapping the Graph

2009-06-27 Thread Chris Spencer
parameter (or axes location) to make enough room for the legend. -JJ On Thu, Jun 25, 2009 at 9:22 PM, Chris Spencerchriss...@gmail.com wrote: How do you show the legend below the graph, so it doesn't overlap at all with the graph? The docs for the legend() loc parameter only seem to specify where

Re: [Matplotlib-users] Stopping Legend From Overlapping the Graph

2009-06-28 Thread Chris Spencer
Awesome, thanks. That works perfectly. Chris On Sun, Jun 28, 2009 at 12:16 AM, Jae-Joon Leelee.j.j...@gmail.com wrote: sorry. As guillaume has mentioned, you need to install mpl from svn. Here is some workaround you can try. I guess it would work with 0.98.5.3. Basically, you create

Re: [Matplotlib-users] help needed in plotting curved elements

2009-08-23 Thread Chris Barker
/the_coordinate_geometry_of_a_circle.php HTH, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] Piecewise Cubic Hermite Interpolating Polynomial in python

2009-08-29 Thread Chris Michalski
Thanks for the inputs... perhaps it will provide the impetus for future postings as well... chris On Aug 29, 2009, at 11:49 AM, John Hunter wrote: On Sat, Aug 29, 2009 at 1:12 PM, Eric Firingefir...@hawaii.edu wrote: This looks interesting. I successfully ran your program by using

[Matplotlib-users] Setting Relative Heights For Figure Rows

2010-01-11 Thread Chris Spencer
do you specify relative heights of each row? For example, I'd like to specify the first row takes 80% of the figure height, while the second takes 20%. I've searched the docs, but I can't find anything. Is this possible? Regards, Chris

Re: [Matplotlib-users] embedding a plot function in existing wxapp GUI, problem replotting

2010-03-09 Thread Chris Barker
/EmbeddingInWx and see the embedding_in_wx examples as well. I personally like wxMPL: http://agni.phys.iit.edu/~kmcivor/wxmpl/ -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax

Re: [Matplotlib-users] Contour Plotting of Varied Data on a Shape

2010-03-09 Thread Chris Barker
? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov

Re: [Matplotlib-users] Contour Plotting of Varied Data on a Shape

2010-03-11 Thread Chris Barker
contouring code is in C++ -- is that important? I don't expect it should be that computationally expensive, though maybe hard to vectorize -- C++ does make portability harder, though there's a bunch in MPL already. If I was starting from scratch, I'd use Cython, if pure Python didn't cut it. -Chris

Re: [Matplotlib-users] Contour Plotting of Varied Data on a Shape

2010-03-11 Thread Chris Barker
in the scikits package is as good as it gets? Thanks, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar

Re: [Matplotlib-users] matplotlib figure serialization

2010-03-24 Thread Chris Barker
structure), but it would be a fair bit of effort to write the code, and I don't think you'd get any real advantage over just using scripts -- you need a python script to create a figure in the first place, why not serialize that? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency

[Matplotlib-users] Sigmoid Curve Fitting

2010-09-20 Thread Chris Spencer
Hi, Does Matplotlib/Numpy/Scipy contain the ability to fit a sigmoid curve to a set of data points? Regards, Chris -- Start uncovering the many advantages of virtual appliances and start using them to simplify

Re: [Matplotlib-users] Sigmoid Curve Fitting

2010-09-20 Thread Chris Spencer
the problem. I'm not sure what to make of it, although it seems to be an online curve-fitting service. Unfortunately, my usage requires the ability to run the process locally. Regards, Chris On Mon, Sep 20, 2010 at 6:35 PM, Gökhan Sever gokhanse...@gmail.com wrote: On Mon, Sep 20, 2010 at 3:36 PM

Re: [Matplotlib-users] closing figure inside a callback seg faults

2010-10-15 Thread Chris Barker
callback,a nd tehn have the function called close the figure. -Chris -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development

Re: [Matplotlib-users] sensible tick labels for log scale?

2011-01-13 Thread Chris Fonnesbeck
On Jan 12, 2011, at 10:33 PM, Paul Ivanov wrote: In [50]: plt.loglog(1,1) Out[50]: [matplotlib.lines.Line2D object at 0x108dde4c] In [51]: ax = plt.gca() In [52]: loc = ax.xaxis.get_major_locator() In [53]: loc.numticks Out[53]: 15 In [54]: loc.numticks = 10 Also, this approach

[Matplotlib-users] Can't produce plots using Matplotlib

2011-02-22 Thread Chris Edwards
Recently I downloaded and installed Python(x,y) Version 2.6.5.6 running under Windows7 and now can't produce the plots that my programs produced under an earlier version of Python(x,y). The programs seem to run correctly and produce the same numerical results but I can't find the graphical

[Matplotlib-users] axis order in matplotlib?

2011-02-22 Thread Chris Paola
Can anyone help me understand this: the code below produces a plot in which the x and y axis labels are reversed relative to the direction in which z varies on the plot, although the gradient arrows are correctly oriented. Is there something I've missed in understanding the sense of the x and

[Matplotlib-users] Access to contents of bins of a matplotlib histogram

2011-03-25 Thread Chris Edwards
Hi, I would like to access values in the bins of a matplotlib histogram. The following example script is an attempt to do this. Clearly pdf contains floating point numbers, but I am unable to access them. Help with this problem would be much appreciated. Chris

[Matplotlib-users] MacOSX backend hangs

2011-04-08 Thread Chris Fonnesbeck
I'm running a recent build from source (last week) on OSX 10.6.6 and the Python 2.6.1 that ships with the OS. When I use the macosx backend, any plot that I generate results in a window that hangs. The Python dock icon bounces for awhile, then when it stops, the spinning beach ball appears and

[Matplotlib-users] Subplot x-tick labels overlap with each other and with titles

2011-05-05 Thread Chris Rodgers
`matplotlib.rcParams['xtick.labelsize'] = 'x-small'`, and this does make the labels smaller, but for sufficiently large numbers the overlap still occurs. Thanks for any help! Chris attachment: output.png-- WhatsUp Gold - Download Free

Re: [Matplotlib-users] Feature request: automatic scaling of subplots, margins, etc

2011-05-06 Thread Chris Rodgers
Since I just posted an almost-identical question, it's no surprise that I agree this would be a useful feature. Reason #1) I create hundreds of quick throwaway figures every day, often in an automated way, and don't have time to fine-tune them. Reason #2) a newbie to matplotlib might be turned off

[Matplotlib-users] Subplot x-tick labels overlap with each other and with titles

2011-05-06 Thread Chris Rodgers
`matplotlib.rcParams['xtick.labelsize'] = 'x-small'`, and this does make the labels smaller, but for sufficiently large numbers the overlap still occurs. Thanks for any help! Chris attachment: output.png-- WhatsUp Gold - Download Free

[Matplotlib-users] animations in macosx/wxagg

2011-06-30 Thread Chris Higgins
0.99.1 as well. thanks for any help, cheers, chris -- Chris Higgins, Omnisense Ltd, 3rd Floor, St. Andrews House, 59 St Andrews Street, Cambridge, CB2 3BZ Office: +44 (0) 1223 651394 Mobile: +44 (0) 780 490 8562 Skype: chiggins99 http://www.omnisense.co.uk Omnisense Ltd is a company

Re: [Matplotlib-users] [SciPy-User] getting started with arrays and matplotlib

2011-08-20 Thread Chris Withers
automatically get a list of colours for each bar? I don't know how many bars I'm going to have so I can't manually pick them... This feels like a common enough problem that I'm guessing there's a solution somewhere in matplotlib? cheers, Chris -- Simplistix - Content Management, Batch Processing

[Matplotlib-users] Focus in OSX

2012-04-10 Thread Chris Laumann
not to be able to switch focus to a plot window. Best, Chris -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http

Re: [Matplotlib-users] Focus in OSX

2012-04-11 Thread Chris Laumann
I get the exact same behavior from both Enthought supplied python and Apple supplied python. I haven't tried any other pythons, but it isn't limited to the Apple one. C On Apr 11, 2012, at 1:58 PM, Elliot Saba wrote: I'm using homebrew python, which is built from source, and the latest

[Matplotlib-users] linear regression with dates as x axis

2012-06-13 Thread Chris Withers
, 2234235235, ...] ...but polyfit doesn't like the dates. How should I do this? Any example of a nice plot and linear regression using matplotlib? cheers, Chris -- Simplistix - Content Management, Batch Processing Python Consulting - http://www.simplistix.co.uk

[Matplotlib-users] Intersecting polygons

2013-08-22 Thread Chris Beaumont
-transparent figure into a non-semitransparent figure that looks the same? It would consist of more polygons, each of which has a constant RGB value in the transparent figure. I don't want to rasterize the lines, because I like zooming absurdly far into plots, and having them stay crisp. Cheers, Chris

Re: [Matplotlib-users] Intersecting polygons

2013-08-22 Thread Chris Beaumont
? Thanks, chris On Thu, Aug 22, 2013 at 8:04 PM, Jerzy Karczmarczuk jerzy.karczmarc...@unicaen.fr wrote: Chris Beaumont : I have a semitransparent plot that I rather like: ... I'd like to publish something like this in a journal which requires EPS figures. Unfortunately, EPS doesn't

Re: [Matplotlib-users] Intersecting polygons

2013-08-23 Thread Chris Beaumont
Thanks for the tips -- I wish there was a way to do this within MPL, but it sounds like I'll have to live with external hackery. PS. Try to convince the Dark Powers of the journal you send your work, that they modernize their processing and accept PDF. +1 I know, right? chris

Re: [Matplotlib-users] plotting large images

2013-08-27 Thread Chris Beaumont
on the footprint. cheers, chris On Tue, Aug 27, 2013 at 6:49 AM, Štěpán Turek stepan.tu...@seznam.czwrote: You could look at whether or not you actually need 64-bit precision. Often times, 8-bit precision per color channel is justifiable, even in grayscale. My advice is to play with the dtype of your

Re: [Matplotlib-users] 'save file' GUI dialog

2014-06-20 Thread Chris Beaumont
a backend-agnostic interface for choosing a filename. Of course, if you did that, it would also be nice to refactor that into MPL itself... :) chris On Fri, Jun 20, 2014 at 8:22 AM, Thomas Robitaille thomas.robitai...@gmail.com wrote: Hi everyone, I'm developing a simple GUI tool in Matplotlib

Re: [Matplotlib-users] best way to browse images

2014-10-14 Thread Chris Beaumont
ModestImage (https://github.com/ChrisBeaumont/mpl-modest-image) to deal with this -- it dynamically downsamples images to screen resolution. This makes the first draw after updating the data or norm much faster, while slowing down subsequent redraws. Perhaps this could help you out? cheers, chris

Re: [Matplotlib-users] [matplotlib-devel] Matplotlib and Numfocus Fiscal Sponsorship Agreement (FSA)

2015-01-21 Thread Chris Barker
+1 -- sounds great! On Tue, Jan 20, 2015 at 7:48 AM, Michael Droettboom md...@stsci.edu wrote: * Matplotlib is a widely used, well regarded, and powerful visualization library that has dominated the Python visualization stack for over a decade. However, to maintain that position,

Re: [Matplotlib-users] Qt4 Designer Example

2015-04-15 Thread Chris O'Halloran
On 16 April 2015 at 09:51, Benjamin Root ben.r...@ou.edu wrote: A little birdie has told me that someone else is writing a new comprehensive matplotlib book (I think it would replace Sandros' book). Last I heard from the birdie, he was most of the way done with the manuscript. Based on my

Re: [Matplotlib-users] [matplotlib-devel] Calling to those embedding matplotlib in applications

2013-08-12 Thread Chris Barker - NOAA Federal
On Mon, Aug 12, 2013 at 7:01 AM, Michael Droettboom md...@stsci.edu wrote: I propose to fix this by turning on interactive only when running at an interactive console. I embed MPL more than other uses, and this sounds like a fine solution to me/ Thanks, -Chris -- Christopher Barker, Ph.D

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

2013-08-23 Thread Chris Barker - NOAA Federal
the dependencies. I was planning on getting it all further along before announcing the project and looking for help, but since is came up... -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206

<    1   2