[Matplotlib-users] Building matplotlib 0.99.1.1: cannot find -ltk8.5

2009-09-28 Thread Chris
ions would be greatly appreciated - thanks! Chris $ cd matplotlib-0.99.1.1 $ env PREFIX=/a/b/ LD_LIBRARY_PATH=/a/b/lib /a/b/bin/python setup.py build BUILDING MATPLOTLIB matplotlib: 0.99.1.1

[Matplotlib-users] rationale for contour() argument dimensions?

2008-06-21 Thread Chris
I may be a bit thick, but I am having a heck of a time figuring out how to use contour() properly. Specifically, I do not see why the z dimension should be a 2d array. It should only take a set of x,y,z coordinates to produce a surface -- what is the extra dimension for? More importantly, how

[Matplotlib-users] Can't seem to plot 2 horizontal lines on same plot

2008-10-07 Thread chris
01) f1 = [0 for e in x1] f2 = [1 for e in x2] pylab.show(pylab.plot(x1, f1, x2, f2)) Chris - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Mo

Re: [Matplotlib-users] Can't seem to plot 2 horizontal lines on same plot

2008-10-07 Thread chris
On Tue, Oct 07, 2008 at 12:54:49PM +0200, Johann Rohwer wrote: > The autoscaling feature sets the y limits to [0,1] which means that > your lines are falling on the bottom and top x-axis which hides them. > Rescaling the y-axis will make the lines visible, e.g. > > pylab.ylim(-1,2) Thank you very

Re: [Matplotlib-users] Can't seem to plot 2 horizontal lines on same plot

2008-10-07 Thread chris
On Tue, Oct 07, 2008 at 08:19:39AM -0400, Michael Droettboom wrote: > Did you not get an exception when you ran your example? > > The following works for me: > > import pylab > x1 = pylab.arange(-10, 10, 0.01) > x2 = pylab.arange( 0, 10, 0.01) > f1 = [0 for e in x1] > f2 = [1 for e in x2] > pylab.

[Matplotlib-users] plot chops off big Latex axis labels

2008-10-11 Thread chris
The plot PDFs that matplotlib makes by default seem to be too tiny to contain my biggest axis labels and my poor Latex stuff is chopped in half. How fix? cs - This SF.Net email is sponsored by the Moblin Your Move Developer'

[Matplotlib-users] zorder seems to cause problems when embed python in latex files

2008-10-12 Thread chris
up the footer of my Beamer/LaTeX slides. (For some reason zorder setting make the footer shrink in size.) Is there any weirdness or side effects about zorder I should be aware of that would explain this? Chris - This SF.Net

Re: [Matplotlib-users] zorder seems to cause problems when embed python in latex files

2008-10-14 Thread chris
On Tue, Oct 14, 2008 at 03:00:05PM -0400, Michael Droettboom wrote: > With the file you sent, I can see the messed up footer in xpdf, but not > in acroread. There are a number of times that I have seen xpdf not > completely support the PDF spec, and this may be one of them. I installed acroread a

Re: [Matplotlib-users] zorder seems to cause problems when embed python in latex files

2008-10-14 Thread chris
On Tue, Oct 14, 2008 at 11:21:58PM +0300, Jouni K. Sepp?nen wrote: > Jouni K. Sepp?nen <[EMAIL PROTECTED]> writes: > > > 2008-03-23 Fix a pdf backend bug which sometimes caused the outermost > > gsave to not be balanced with a grestore. - JKS > > > > Can you upgrade to 0.91.4? > > He

[Matplotlib-users] Saved PDFs default to 4/3 aspect ratio even if do subplots_adjust?

2008-10-25 Thread chris
djust command seem to mess up the default aspect ratio?? ) Chris - 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

[Matplotlib-users] Why is wrapper module called "pylab" ?

2008-10-25 Thread chris
So is matplotlib the name of the low level plotting engine? And, pylab is the user-friendly wrapper? Would it be ok to call the whole system "Pylab" instead of Matplotlib then? Chris - This SF.Net email is sp

Re: [Matplotlib-users] Why is wrapper module called "pylab" ?

2008-10-26 Thread chris
ab right? Where find matplotlib.pyplot examples? Chris - 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 Gran

Re: [Matplotlib-users] Saved PDFs default to 4/3 aspect ratio even if do subplots_adjust?

2008-10-27 Thread chris
st(left=.., bottom=...) seems to have an effect on a single plot too. It lets you add extra room for axis labels. It *must* mess up the aspect ratio of the plot since the axis labels are now "stealing" extra space right? Chris --

[Matplotlib-users] question about figsize keyword of figure(..)

2008-10-27 Thread chris
I'm confused about what matplotlib.pyplot.figure(figsize = (a,b)) *means* It appears that the figure gets *bigger* as I make a and b *smaller* !??! Chris - This SF.Net email is sponsored by the Moblin Your

[Matplotlib-users] Why pixel marker size is 4 pixels?

2012-02-03 Thread Chris
change it to a single pixel? Thanks, Chris -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5

Re: [Matplotlib-users] Why pixel marker size is 4 pixels?

2012-02-05 Thread Chris
; If you use *scatter*, the third argument controls the marker size. > > But you may actually complaining about other issues, e.g., > antialiasing, etc. So, if above are not your answer, please post a > complete example and describe your problem in more detail. > > Regards, > >

Re: [Matplotlib-users] Why pixel marker size is 4 pixels?

2012-02-06 Thread Chris
git. Meanwhile, is there any easy workaround? Jonathan, Tom Robitaille's module does help reducing file size of postscript, but by rasterize a scalable plot. It doesn't really help my problem since the markers are still drawn with the same method as other plotting methods. Bests, Chri

[Matplotlib-users] use the github version on a linux box

2012-02-08 Thread Chris
I was trying to test the patch mike put in to fix the single pixel plotting issue, but just realized that this was a Mac version. Can I use it on a linux box? How? Thanks, Chris -- Keep Your Developer Skills Current

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread Chris
Thanks John. Since I already have a running copy of mpl, I skipped to the git clone step, but get this error: Permission denied (publickey). fatal: The remote end hung up unexpectedly I'm a complete noob on git, so please bear with me. - Chris On Wed, Feb 8, 2012 at 9:31 AM, John H

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread Chris
This time the error is: fatal: Not a git repository (or any of the parent directories): .git I guess that I have not be able to establish a local git tree since the command git clone g...@github.com:matplotlib/matplotlib.git matplotlib.git did not go through. - Chris On Wed, Feb 8, 2012 at 9

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread Chris
New error at `git checkout -b mdboom-pixel_marker v1.1.x': fatal: git checkout: updating paths is incompatible with switching branches. Did you intend to checkout 'v1.1.x' which can not be resolved as commit? - Chris On Wed, Feb 8, 2012 at 10:13 AM, John Hunter wrote: > >

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread Chris
Thanks Tony and JDH, problem resolved and now I can try to compile. - Chris On Wed, Feb 8, 2012 at 10:41 AM, Tony Yu wrote: > > > On Wed, Feb 8, 2012 at 1:20 PM, Chris wrote: >> >> New error at `git checkout -b mdboom-pixel_marker v1.1.x': >> >>

[Matplotlib-users] problems doing MULTIPLE plots -> old plots appear on new plots!?!

2006-12-21 Thread chris
he one that has growth plot in it. Chris = import matplotlib matplotlib.use("Agg") import pylab BACKGROUND_COLOR = "#ff" def growth(company): """ Plots Growth plot.

Re: [Matplotlib-users] problems doing MULTIPLE plots -> old plots appear on new plots!?!

2006-12-22 Thread chris
eate a DIFFERENT figure rather than mixing them all together. Chris - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT

Re: [Matplotlib-users] problems doing MULTIPLE plots -> old plots appear on new plots!?!

2006-12-22 Thread chris
figure()? > Thanks for email. Yes 1st message in this thread has code to create each plot. Each one does a 'figure_ = pylab.figure()' already. chris - Take Surveys. Earn Cash. Influence the Future of IT Join

[Matplotlib-users] family="sans-serif" not taking effect? why?

2007-01-05 Thread chris
In my code I did family="sans-serif" but it didn't seem to have any effect. Any ideas? Chris - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get

Re: [Matplotlib-users] family="sans-serif" not taking effect? why?

2007-01-05 Thread chris
ve > to set [xy]tick.labelsize and axes.labelsize explicitly. What worked for me was adding fontsize=FONT_SIZE keyword setting in EVERY command that involved text. Chris - Take Surveys. Earn Cash. Influence the Future of IT Joi

Re: [Matplotlib-users] family="sans-serif" not taking effect? why?

2007-01-05 Thread chris
On Fri, Jan 05, 2007 at 04:23:53PM -0600, Glen W. Mabey wrote: > Contrary to the comments in the default matplotlibrc, it seems that > font.size does not set the fontsize for axis labels and ticks; you have > to set [xy]tick.labelsize and axes.labelsize explicitly. But I haven't > had a chance to

Re: [Matplotlib-users] pytz, dateutil not getting insta lled from svn build

2007-10-04 Thread Chris
John Hunter <[EMAIL PROTECTED]> writes: > > On 7/17/07, Chris Fonnesbeck <[EMAIL PROTECTED]> wrote: > > For some reason, builds from SVN dont install either pytz > > or dateutil (at least not in the right place). Importing pylab > > from these builds resul

[Matplotlib-users] matplotlib.use() error

2007-10-09 Thread Chris
Updating matplotlib with a new SVN build a couple days ago induced the following error: RuntimeError: matplotlib.use() must be called *before* pylab or matplotlib.backends is imported for the first time. This has not occurred before. Am I to understand that once pylab is imported, you cannot cha

[Matplotlib-users] Problems creating independent plots

2007-10-28 Thread Chris
In recent builds of matplotlib from SVN, when I create several plots in a row, each new figure ends up containing each of the previous plots, including the current one. Thus, the 1st plot would contain 1 series, the second 2 series, etc. This did not happen previously. I am calling figure() before

[Matplotlib-users] Static linking problem on matplotlib eggs

2008-01-12 Thread Chris
y not loaded: /usr/local/lib/libpng12.0.dylib Referenced from: /Library/Python/2.5/site-packages/ matplotlib-0.98pre-py2.5-macosx-10.5-i386.egg/matplotlib/_path.so Reason: image not found Anyone have a clue what I am not doing properly? Thanks,

Re: [Matplotlib-users] Static linking problem on matplotlib eggs

2008-01-17 Thread Chris
etype/config/ftheader.h: No such file or directory Even though there is nothing that points there in my env: MANPATH=/usr/share/man:/usr/local/share/man:/usr/X11/man TERM=xterm-color SHELL=/bin/bash SSH_CLIENT=fe80::211:24ff:fe8d:9019%en1 57594 22 OLDPWD=/Users/chris/Development/freetype-2.3.5 L

[Matplotlib-users] How do you static link to freetype when building eggs?

2008-04-23 Thread Chris
I've had an ongoing problem building eggs of matplotlib that are statically linked to freetype. I thought I had it nailed, but evidently I do not. Here is my script: export CFLAGS="-arch i386 -I/Developer/src/libpng -I/Developer/src/freetype/include" export LDFLAGS="-arch i386 -L/Developer/src/

[Matplotlib-users] OSX build under universal python fails

2008-04-24 Thread Chris
I'm trying to get a built of Matplotlib built under Python.org Python 2.5.2, but get the following build error, which did not occur under Leopard's python: src/_image.cpp: In member function ‘Py::Object _image_module:: from_images (const Py::Tuple&)’: src/_image.cpp:848: error: insn does not sat

Re: [Matplotlib-users] OSX build under universal python fails

2008-04-24 Thread Chris
Eric Firing <[EMAIL PROTECTED]> writes: > > Chris, > > Based on recent emails, this looks like a problem attributed to the gcc > version, not the python version. Suggested solutions are compile with > the -Os flag or use gcc 4.2. > Hmm. The problem with using gcc

Re: [Matplotlib-users] OSX build under universal python fails

2008-04-24 Thread Chris
Chris <[EMAIL PROTECTED]> writes: > > > > Based on recent emails, this looks like a problem attributed to the gcc > > version, not the python version. Suggested solutions are compile with > > the -Os flag or use gcc 4.2. > > > I think universal bui

[Matplotlib-users] Adding labels to plots does not work

2008-05-19 Thread Chris
In a recent SVN build of matplotlib on OSX 10.5, I have created a boxplot then tried to add labels to the axes afterwards. However, though the "xlabel" and "ylabel" commands run without error, no labels are added to the plots. In [45]: boxplot(transpose(transpose(relative_risk.trace())[:-2])) In

[Matplotlib-users] matplotlib *EGG* installation works on Fedora but not Debian Etch..

2006-12-12 Thread chris
p') in > ignored Exception exceptions.OSError: (2, 'No such file or directory', 'src/_ns_transfor ms.cpp') in > ignored Any help greatly appreciated. Chris ---

[Matplotlib-users] *EGG* now freezes at this same place always....

2006-12-13 Thread chris
: /usr/include/features.h:131:1: warning: this is the location of the previous definition Chris - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to s

[Matplotlib-users] Matplotlib *egg* gives error about trying to modify system files...

2006-12-16 Thread chris
area, and has been aborted. This package cannot be safely installed by EasyInstall, and may not support alternate installation locations even if you run its setup script by hand. Please inform the package's author and the EasyInstall maintainers to find out if a fix or workaround is availabl

[Matplotlib-users] Intersecting polygons

2013-08-22 Thread Chris Beaumont
this semi-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.

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 requ

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

Re: [Matplotlib-users] plotting large images

2013-08-27 Thread Chris Beaumont
own on the footprint. cheers, chris On Tue, Aug 27, 2013 at 6:49 AM, Štěpán Turek wrote: > > 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

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

2014-06-20 Thread Chris Beaumont
ake 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 develo

Re: [Matplotlib-users] third-party mpl widgets/tools?

2014-10-05 Thread Chris Beaumont
atest/custom_viewer.html). chris On Sat, Oct 4, 2014 at 8:53 AM, Benjamin Root wrote: > I working on compiling a list of third-party tools that provide > interactive features to matplotlib. I am looking for tools such as Joe's > mpldatacursor. If you know of a tool that should be included

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

2014-10-14 Thread Chris Beaumont
made 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,

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 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, matplot

Re: [Matplotlib-users] Qt4 Designer Example

2015-04-14 Thread Chris O'Halloran
Can I recommend this book. It was very helpful to me in figuring much of this out. https://www.packtpub.com/application-development/matplotlib-python-developers On 14 April 2015 at 18:14, Christian Ambros wrote: > Hi Ryan, > > wow! This tutorial is one of the best I ever encountered. Nothing i

Re: [Matplotlib-users] Qt4 Designer Example

2015-04-15 Thread Chris O'Halloran
;A little learning never caused anyone's head to explode!" > > > "Ein wenig Lernen hat noch niemandens Kopf zum Explodieren gebracht!" > > > > On Wednesday, April 15, 2015 3:44 AM, Chris O'Halloran > wrote: > > > Can I recommend this book. It

Re: [Matplotlib-users] Qt4 Designer Example

2015-04-15 Thread Chris O'Halloran
On 16 April 2015 at 09:51, Benjamin Root 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 experience with

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

2009-06-18 Thread Chris Withers
be at EuroPython this year: http://www.europython.eu/ I look forward to seeing you all there! Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk -- Crystal Repo

[Matplotlib-users] Stopping Legend From Overlapping the Graph

2009-06-25 Thread Chris Spencer
f my data. I want to see *all* of my graph, as well as the legend. Is there any way to do this with pylab? Any help is appreciated. Chris -- ___ Matplotlib-users mail

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

2009-06-27 Thread Chris Spencer
adjust the suplot parameter (or axes location) to make > enough room for the legend. > > -JJ > > > > On Thu, Jun 25, 2009 at 9:22 PM, Chris Spencer wrote: >> How do you show the legend below the graph, so it doesn't overlap at >> all with the graph? The docs fo

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 Lee 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 a sepa

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

2009-08-23 Thread Chris Barker
ht help you get started: http://www.codecogs.com/reference/maths/analytical_geometry/the_coordinate_geometry_of_a_circle.php HTH, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fa

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 Firing > 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?

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

2010-03-09 Thread Chris Barker
Cookbook/Matplotlib/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/OR&R(206) 526-6959 voice 7600 S

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

2010-03-09 Thread Chris Barker
ngulation? Does it do constrained delauney? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317

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

2010-03-11 Thread Chris Barker
hough 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 -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600

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

2010-03-11 Thread Chris Barker
suspect you have looked for license compatible delaunay code and the stuff in the scikits package is as good as it gets? Thanks, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206

Re: [Matplotlib-users] matplotlib figure serialization

2010-03-24 Thread Chris Barker
, or JSON, (or, for that matter, a python data 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? -C

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

2008-08-07 Thread Chris Barker
uild of 2.5.2, and go from there -- the binaries on the numpy site are built for that version. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax

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-0.99.3-py2.5-macosx

[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 t

[Matplotlib-users] rotating plots

2009-01-13 Thread Chris Fonnesbeck
xplot per se -- there are only a small number 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 --

[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
n in this part of the tutorial, 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 yo

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
e PyConUS website after the conference, I believe they'll make the tutorials available there... cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk -

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

2009-01-30 Thread Chris Walker
eally appreciated :) And wish me good luck! I don't think it is the thrust of your book, but another book I 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

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 > wrote: > > Firstly, good luck with the book. > > cheers :) > > > The sort of book

Re: [Matplotlib-users] help installing matplotlib

2009-04-21 Thread Chris Barker
John Seales wrote: > I have an intel mac running os 10.4.11. I use python 2.6 > > I am trying to install matplotlib and I can't figure it out. Can anyone > help me? It's going to be a challenge -- numpy only recently supports 2.6 -- I"d go back to 2.5 if you can

[Matplotlib-users] Focus in OSX

2012-04-10 Thread Chris Laumann
known bug? It's quite annoying 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

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 > ma

Re: [Matplotlib-users] Focus in OSX

2012-04-12 Thread Chris Laumann
Actually I don't know about the apple supplied python, but I believe enthoughts python is installed as a framework. C On Apr 12, 2012, at 8:53 PM, Michiel de Hoon wrote: > --- On Wed, 4/11/12, Zachary Pincus wrote: >> Hopefully someone who knows more about the OS X backend can >> comment h

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

2012-06-13 Thread Chris Withers
23234, 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.si

[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
e Googling 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 wrote: > On Mon, Sep 20, 2010 at 3:36

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

2010-10-15 Thread Chris Barker
g wx, you could probably use wx.CallAfter() (or wx.CallLater(), call one of those in your callback,a nd tehn have the function called close the figure. -Chris -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new

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]: [] > > 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 does not seem to work in general for

[Matplotlib-users] sensible tick labels for log scale (rephrased)

2011-01-13 Thread Chris Fonnesbeck
Sorry for the lack of clarity in my last shot at this problem. What I want to be able to do is change a plot's axis to the log scale, then have some reasonable (i.e. evenly-spaced) tick labels generated automatically. I have tried to do this manually, but end up with the following: http://cl.ly

[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 outpu

[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 y

[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 I

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

2011-05-05 Thread Chris Rodgers
th "Wx" and "Tk" backends and the results are the same I've tried `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 <>

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
th "Wx" and "Tk" backends and the results are the same I've tried `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 <>

[Matplotlib-users] animations in macosx/wxagg

2011-06-30 Thread Chris Higgins
although I'm still using 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.

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

2011-08-20 Thread Chris Withers
g on matplotlib-users. Thanks, that was a good start. One question: How can I 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

[Matplotlib-users] using matplotlib in web servers

2011-08-21 Thread Chris Withers
ously generating many plots for different users using different data) cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk -- Get a FREE DOWN

[Matplotlib-users] Can't get pylab to import with Python 2.4 on Mac OS X 10.4.8 on PPC

2006-12-28 Thread Chris Pettit
etype2 from souce and ended up with libfreetype6.3.10 in my /usr/local/lib. I tried moving this to my /usr/X11R6/lib and resetting the symbolic links to point to this, but no luck. Any advice? Thanks, Chris Pettit - Tak

[Matplotlib-users] subplot does not work in svn

2007-01-06 Thread Chris Fonnesbeck
appreciate any assistance. Thanks, Chris -- Chris Fonnesbeck + Atlanta, GA + http://trichech.us - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to sh

Re: [Matplotlib-users] subplot does not work in svn

2007-01-31 Thread Chris Fonnesbeck
On 1/6/07, Eric Firing <[EMAIL PROTECTED]> wrote: Chris, I suspect it is a problem with your matplotlibrc file; you could try stripping it down to bare minimum, as in the svn root directory. Another possibility is that your update is somehow incomplete or scrambled with an earlier instal

Re: [Matplotlib-users] subplot does not work in svn

2007-01-31 Thread Chris Fonnesbeck
On 1/31/07, John Hunter <[EMAIL PROTECTED]> wrote: >>>>> "Chris" == Chris Fonnesbeck <[EMAIL PROTECTED]> writes: Chris> The thing is, I deleted my entire ~/.matplotlib directory, Chris> hoping to start clean. Where does matplotlib get its

[Matplotlib-users] __init__.py not installed in svn build package

2007-01-31 Thread Chris Fonnesbeck
to be that __init__.py is not included in the package; when I do a standard install using setup.py, the file is copied over as it should be. -- Chris Fonnesbeck + Atlanta, GA + http://trichech.us - Using Tomcat but need to do

Re: [Matplotlib-users] __init__.py not installed in svn build package

2007-01-31 Thread Chris Fonnesbeck
On 1/31/07, Christopher Barker <[EMAIL PROTECTED]> wrote: Chris Fonnesbeck wrote: > I have built a > matplotlib installer for OS X, Sorry I can't help with your problem, but: Which Python are you building against? Which num* are you including Which wxPython? Whic

  1   2   >