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

2006-12-13 Thread chris
: 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 share your opinions on IT business topics through brief

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

2006-12-16 Thread chris
, 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 available. Chris

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

2006-12-21 Thread chris
growth plot in it. Chris = import matplotlib matplotlib.use(Agg) import pylab BACKGROUND_COLOR = #ff def growth(company): Plots Growth plot. # Generates figure_, plot_ and functions

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

2006-12-22 Thread chris
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 SourceForge.net's Techsay panel and you'll get

[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 the chance to share your

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 results in an import error. This is typically caused

[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

[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
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, Chris

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

2008-01-17 Thread Chris
/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 LFLAGS

[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

[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

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 builds may have to wait for another day, when gcc 4.2

[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] Can't seem to plot 2 horizontal lines on same plot

2008-10-07 Thread chris
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 Moblin SDK win great

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.plot(x1,

[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

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

2008-10-13 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 and

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

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

2008-10-26 Thread chris
? 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 Grand prize is a trip

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

2008-10-27 Thread chris
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 - This SF.Net email

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

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

2009-09-28 Thread Chris
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 python

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

2012-02-03 Thread Chris
to 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
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, -JJ On Sat, Feb 4, 2012 at 2:15 PM, Chris plut...@gmail.com wrote: I noticed

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

2012-02-06 Thread Chris
on 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, Chris On Mon

[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 Hunter jdh2

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 jdh2...@gmail.com 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 tsy...@gmail.com wrote: On Wed, Feb 8, 2012 at 1:20 PM, Chris plut...@gmail.com wrote: New error at `git checkout -b mdboom-pixel_marker v1.1.x': fatal: git checkout

[Matplotlib-users] Missing dll in windows build 0.87.4

2006-07-22 Thread Chris Fonnesbeck
\_transforms.py, line 17, in ? from matplotlib._ns_transforms import *ImportError: DLL load failed: The specified module could not be found.I have tried building matplotlib myself using mingw32, but with no success. Any help is most appreciated. -- Chris Fonnesbeck + Atlanta, GA + http://trichech.us

Re: [Matplotlib-users] Missing dll in windows build 0.87.4

2006-07-24 Thread Chris Fonnesbeck
However, I have Tk installed, as it comes bundled with ActiveState python. -- 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

[Matplotlib-users] plot_date + xdata ydata must be same len

2006-09-15 Thread Brinley, Chris
Hi, I am having trouble getting a variation of the tutorial plot_date() to work. I get the classic: RuntimeError: xdata and ydata must be the same length. The tutorial on the matplotlib site shows how to plot dates using whole days. I am plotting using multiple days showing each minute

Re: [Matplotlib-users] plot_date + xdata ydata must be same len

2006-09-15 Thread Brinley, Chris
Title: Re: [Matplotlib-users] plot_date + xdata ydata must be same len Thanks, I actually got a work around now. Thanks for the follow. Chris Brinley ([EMAIL PROTECTED]) Orbitz - AA.com Operations Phone: 312-894-4787 Cell: 312-479-8193 Pager: 866-292-3508 -Original

[Matplotlib-users] Removing data from graph?

2006-10-09 Thread Chris Niekel
and more. Does anyone know how to change this? Regards, Chris Niekel - 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 business

Re: [Matplotlib-users] Compatible Version of Numpy?

2006-10-23 Thread Chris S
, Chris - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache

[Matplotlib-users] Is it possible to put a combo box on a matplotlib figure?

2006-11-05 Thread Chris Bartley
I have a matplotlib figure (by the way - matplot lib is brilliant) with lots of widgets (buttons, check boxes) on it, and am wondering if it is possible to put a combo box on it? Cheers, Chris Bartley - Using Tomcat

[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
moving this to my /usr/X11R6/lib and resetting the symbolic links to point to this, but no luck. Any advice? Thanks, Chris Pettit - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel

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 installation

[Matplotlib-users] cannot import name rcParams

2007-06-14 Thread Chris Fonnesbeck
I have a strange problem with my builds of matplotlib on OS X 10.4: If I install them from the command line, with setup.py, they install fine and matplotlib can be imported with no problem. However, I need to build distributable OS X packages, which I do using bdist_mpkg; when this package is

[Matplotlib-users] cannot import name rcParams

2007-06-14 Thread Chris Fonnesbeck
School of Forestry and Natural Resources University of Georgia Athens, GA T: 727.235.5570 E: Chris dot Fonnesbeck at MyFWC dot com - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version

[Matplotlib-users] Bus error on multiple hist plots

2007-07-14 Thread Chris Fonnesbeck
I get a repeatable bus error when trying to plot more than one histogram of simulated data. The first plot is generated without error, but invariably a second plot crashes: In [4]: x = random.negative_binomial(2, 0.25, 1000) In [5]: from pylab import * In [6]: hist(x) Out[6]: (array([240, 318,

[Matplotlib-users] pytz, dateutil not getting installed from svn build

2007-07-17 Thread Chris Fonnesbeck
For some reason, builds from SVN dont install either pytz or dateutil (at least not in the right place). Importing pylab from these builds results in an import error. How can I build these so as to convince these modules to install correctly? Thanks.

Re: [Matplotlib-users] hist() hangs on OSX 10.5

2007-12-03 Thread Chris Fonnesbeck
On Dec 2, 2007 10:44 PM, John Hunter [EMAIL PROTECTED] wrote: On Dec 2, 2007 9:23 PM, Chris Fonnesbeck [EMAIL PROTECTED] wrote: Running a recent build from svn on OSX 10.5, the TkAgg interface becomes unresponsive after plotting a histogram and calling show(). Here is a sample from

Re: [Matplotlib-users] hist() hangs on OSX 10.5

2007-12-03 Thread Chris Fonnesbeck
On Dec 3, 2007 11:04 AM, Michael Droettboom [EMAIL PROTECTED] wrote: Possibly related to the _tkagg extension -- that's what defines the PyAggImagePhoto method. If you installed ActiveState's Tcl/Tk after building matplotlib, that could explain this. Try doing a clean build of matplotlib

Re: [Matplotlib-users] hist() hangs on OSX 10.5

2007-12-03 Thread Chris Fonnesbeck
On Dec 3, 2007 10:58 AM, John Hunter [EMAIL PROTECTED] wrote: On Dec 2, 2007 9:23 PM, Chris Fonnesbeck [EMAIL PROTECTED] wrote: Running a recent build from svn on OSX 10.5, the TkAgg interface becomes unresponsive after plotting a histogram and calling show(). Here is a sample from

[Matplotlib-users] TypeError on CocoaAgg backend

2007-12-03 Thread Chris Fonnesbeck
, 9.16364268e+00, 1.06904171e+01, 1.22171915e+01, 1.37439660e+01]), a list of 10 Patch objects) In [10]: show() --- TypeError Traceback (most recent call last) /Users/chris/Projects

Re: [Matplotlib-users] TypeError on CocoaAgg backend

2007-12-03 Thread Chris Fonnesbeck
On Dec 3, 2007 7:34 PM, Barry Wark [EMAIL PROTECTED] wrote: sorry instances of self.plotView.image On Dec 3, 2007 3:38 PM, Chris Fonnesbeck [EMAIL PROTECTED] wrote: I replaced the one instance of this that I found. I now get the following error: In [7]: show

Re: [Matplotlib-users] hist() hangs on OSX 10.5

2007-12-03 Thread Chris Fonnesbeck
easily test now w/ the active tcl install. Chris, if you get some time to explore this further, I'd like to see if we can sort it out. If you could remove the acive tcl and do a clean rebuild of mpl, I'd like to verify the hang still exists, and whether it is hist or all plot commands

Re: [Matplotlib-users] matplotlib ignores CocoAff backend preference

2007-12-04 Thread Chris Fonnesbeck
Of course, I meant CocoaAgg, not -Aff. cf On Dec 4, 2007 1:49 PM, Chris Fonnesbeck [EMAIL PROTECTED] wrote: I have the CocoaAgg backend specified in matplotlibrc in ~/.matplotlib/ as: backend : CocoaAgg However, when I plot, matplotlib uses the TkAgg backend in spite

[Matplotlib-users] matplotlib ignores CocoaAgg backend in matplotlibrc

2007-12-05 Thread Chris Fonnesbeck
I have the CocoaAgg backend specified in matplotlibrc in ~/.matplotlib/ as: backend : CocoaAgg However, when I plot, matplotlib uses the TkAgg backend in spite of this. -- Christopher J. Fonnesbeck + Fish Wildlife Research Institute (FWC) + 727.235.5570

Re: [Matplotlib-users] re sizing behaviour like in Mircrocal Origin

2008-01-14 Thread Chris Sontag
objects. In general, this idea is probably more work than John's DPI suggestions. Chris - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http

Re: [Matplotlib-users] Fail to allocate bitmap, Unable to free colormap, palette is still selected.

2008-02-15 Thread Chris Kennedy
, Mike Chris Kennedy wrote: hi, I get this error when I'm generating numerous .png files using matplotlib 0.9.2 in py2.4 on WinXP - Fail to allocate bitmap This application has requested the Runtime to terminate it in an unusual way. Please contact

[Matplotlib-users] Fail to allocate bitmap, Unable to free colormap, palette is still selected.

2008-02-15 Thread Chris Kennedy
, but then generating SVG files anyway. thanks -- Chris Kennedy http://www.coventor.com Sr. Product ManagerPh: 919-854-7500 x156 Cary, NC

Re: [Matplotlib-users] Fail to allocate bitmap, Unable to free colormap, palette is still selected.

2008-02-15 Thread Chris Kennedy
of your app? If the latter, we'll need to somehow narrow it down to a specific setting or method that causes the problem. Also, what backend are you using when it breaks? Just Agg, or one of the Gui+Agg backends? Cheers, Mike Chris Kennedy wrote: hi, I get this error when I'm generating

Re: [Matplotlib-users] Backend Agg - show plot

2008-02-18 Thread Chris Kennedy
-- Chris Kennedy http://www.coventor.com Sr. Product ManagerPh: 919-854-7500 x156 Cary, NC Fx: 919-854-7501 Mobile: 919-414-6653

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

2008-03-07 Thread Chris Withers
I'd ask here... Hope you can help! cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk - This SF.net email is sponsored by: Microsoft Defy all challenges

[Matplotlib-users] Unable to Plot Date Axis Due To TypeError: a float is required

2008-03-11 Thread Chris Spencer
I'm getting a nonsensical error when attempting to make a simple plot with a date axis. Googling shows this similar errors, but none with a date axis. What could be causing this? import datetime from pylab import figure, show fig = figure() ax = fig.add_subplot(111) dates =

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

2008-03-11 Thread Chris Withers
greatfully received! Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio

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

2008-03-11 Thread Chris Withers
Alan G Isaac wrote: On Tue, 11 Mar 2008, Chris Withers apparently wrote: the first time I call show() http://matplotlib.sourceforge.net/faq.html#SHOW Okay, that tells me that I prettymuch don't want to be using show(), but I don't think I want interactive mode either... What I'm trying

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

2008-03-11 Thread Chris Withers
, line 3, in module import gobject ImportError: No module named gobject What does that mean? Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk - This SF.net email

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

2008-03-11 Thread Chris Withers
Chris Withers wrote: Matthias Michler wrote: plot([x1], [y1], bo, [x2], [y2], r+) This didn't work :-S - the first time I call show(), execution never comes back to my script so the code never gets to plot any further points Okay, thanks to Ryan, I now have this point fixed, however

Re: [Matplotlib-users] Export plot to Word

2008-03-13 Thread Chris Withers
for Matplotlib, right?) If you really insist on trying with Word, your best bet is to interact with Word via the win32com package... cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Matplotlib-users] visualisation for utility usage sought

2008-03-14 Thread Chris Withers
more sense? Any ideas? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R

[Matplotlib-users] plotting with missing data?

2008-03-14 Thread Chris Withers
like the point not to be there, not just down the bottom of the graph...) cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk - This SF.net email

Re: [Matplotlib-users] plotting with missing data?

2008-03-17 Thread Chris Withers
Eric Firing wrote: Chris, Use masked arrays. See masked_demo.py in the mpl examples subdirectory. Hi Eric, I took a look at that, but it uses: import matplotlib.numerix.npyma as ma ...and matplotlib.numerix isn't listed in the API reference. Where are the docs for this? Specifically

[Matplotlib-users] placing legend outside of plot area

2008-03-17 Thread Chris Withers
allow. cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008

Re: [Matplotlib-users] placing legend outside of plot area

2008-03-17 Thread Chris Withers
save the figure to. How can I have the legend as placed above but with the whole of it showing? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk - This SF.net

Re: [Matplotlib-users] how to remove an xlabel?

2008-03-17 Thread Chris Withers
Matthias Michler wrote: you can try xlabel of an empty string: xlabel(' ') Thanks, and yes, a truly empty string xlabel(''), works :-) cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Matplotlib-users] placing legend outside of plot area

2008-03-17 Thread Chris Withers
that? (and thanks to Matthias for all his help! :-) ) cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk - This SF.net email is sponsored by: Microsoft Defy all challenges

Re: [Matplotlib-users] making minor ticks into lines instead of ticks

2008-03-18 Thread Chris Withers
of the method;-) However, this isn't quite what I want... I only want the grid for the y-axis (ie: horizontal lines in the grid, but no vertical), how would I do that? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Matplotlib-users] plotting with missing data?

2008-03-18 Thread Chris Withers
that masked_equal didn't blow up when aa contains datetime objects :-( cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk - This SF.net email is sponsored

[Matplotlib-users] from pylab import nx?

2008-03-18 Thread Chris Withers
Hi All, A few of the units demos include the lines: from pylab import nx ...but this import errors for me. Why is that? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Matplotlib-users] making minor ticks into lines instead of ticks

2008-03-18 Thread Chris Withers
do I get the grid to show up behind the lines? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk - This SF.net email is sponsored by: Microsoft Defy all

[Matplotlib-users] default zorder for plots?

2008-03-18 Thread Chris Withers
Chris Withers wrote: I tried fiddling with the zorder of the plot and the grid but nothing had any effect. What am I doing wrong? How do I get the grid to show up behind the lines? Actually, I did manage to fix this by specifying a zorder of 10 for the plots and a zorder of 1 for the grids

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

2008-03-18 Thread Chris Withers
I go about adding a second set of bars? (ie: from data2)? (Bear in mind that in the real use, there are over 600 days worth of data, so I want to take advantage of the normal tick locators, etc as much as possible...) cheers, Chris -- Simplistix - Content Management, Zope Python Consulting

Re: [Matplotlib-users] placing legend outside of plot area

2008-03-18 Thread Chris Withers
of the parameters or at least ensure that all labels have the same widths. Yeah :-/ This is where I am... If anyone has any magic code or suggestions, I'd love to hear 'em ;-) Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

[Matplotlib-users] Gappy bars when no edge specified?

2008-03-18 Thread Chris Withers
Hi All, Why does the following render small gaps horizontally between the bars? import pylab data = [1,2,1,2,4,2] labels = pylab.arange(len(data1)) pylab.bar(labels,data1,width=1,linewidth=0) pylab.show() How do I make the small gaps go away? cheers, Chris

[Matplotlib-users] gradient fills for bar charts?

2008-03-18 Thread Chris Withers
Hi All, Is there any way in MPL to do gradient filled bars like you can in Excel? (click data series - format data series - patterns - fill effects - gradient - diagonal up) cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Matplotlib-users] Gappy bars when no edge specified?

2008-03-18 Thread Chris Withers
Eric Firing wrote: How do I make the small gaps go away? With svn I don't see any gaps in the example above, either on screen or when saved to a png file. That's cool'n'all, but when is svn going to make it into a Windows binary release? ;-) cheers, Chris - not sure how to compile MPL

Re: [Matplotlib-users] gradient fills for bar charts?

2008-03-19 Thread Chris Withers
Eric Firing wrote: Short of laboriously putting an image in each bar, no. That's a shame :-( So, no gradient filled patches in MPL? Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Matplotlib-users] plotting with missing data?

2008-03-19 Thread Chris Withers
to interpolate them away, however) As it seems you're dealing with series indexed in time, you may want to try scikits.timeseries, a package Matt Knox and myself implemented for that very reason. How would this help me here and where can I find out about it? cheers, Chris -- Simplistix

Re: [Matplotlib-users] plotting filled lines with missing data?

2008-03-20 Thread Chris Withers
have to return multiple polygons, and I don't know how that would work? provide them in mpl. I would be happy to fix this gap in mpl's handling of gappy data, ...heh ;-) but I can't make it a priority use of my time right now. No, I understand :-) cheers, Chris -- Simplistix - Content

Re: [Matplotlib-users] plotting with missing data?

2008-03-20 Thread Chris Withers
Giorgio F. Gilestro wrote: import numpy as np a = ['','','',1.1,2.2] mask_a = [i == '' for i in a] b = np.ma.MaskedArray(a, mask=mask_a) Not very efficient, though, is it? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Matplotlib-users] matplotlib threadsafe?

2008-03-20 Thread Chris Withers
-running C blocks. It's not performance I'm looking for, it's making sure that MPL apps served from multi-threaded wsgi servers don't screw each others charts up ;-) cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Matplotlib-users] matplotlib threadsafe?

2008-03-20 Thread Chris Withers
to take all the global state information and put it in a class instance, so there could be multiple plotting machines. Yes. cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Matplotlib-users] compiling from svn on windows

2008-03-20 Thread Chris Withers
and squashed sooner... ;) Well, tell me how to get the svn trunk and how to compile and I'll give it a go :-) cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Matplotlib-users] Plotting dates on the Y axis?

2008-03-21 Thread Chris Withers
? What problems are you experiencing? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk - This SF.net email is sponsored by: Microsoft Defy all challenges

Re: [Matplotlib-users] plotting filled lines with missing data?

2008-03-21 Thread Chris Withers
... cheers, Chris (who might well be missing something...) -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk - This SF.net email is sponsored by: Microsoft Defy all challenges

Re: [Matplotlib-users] Plotting dates on the Y axis?

2008-03-21 Thread Chris Withers
Kenneth Miller wrote: back in time. When i pass plot_dates timestamps for the y axis, and integers for the x axis it simply displays the y-axis as floats. did you try: plot_dates(x,dates,ydate=True) ? Chris -- Simplistix - Content Management, Zope Python Consulting - http

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

2008-03-21 Thread Chris Withers
the plot window, wish I knew how to make it stop :-S cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk - This SF.net email is sponsored by: Microsoft Defy all

Re: [Matplotlib-users] Runtime Error

2008-03-24 Thread Chris Withers
set MPLCONFIGDIR to a read-only dir, or the .matplotlib in the current dir or .matplotlib in your home directory aren't writeable by the user running your python script. (I'm doing a bit of guesswork here...) What is it that you're trying to do? cheers, Chris -- Simplistix - Content

Re: [Matplotlib-users] I really need help about installing matplotlib.

2008-03-25 Thread Chris Withers
the windows binary for python 2.5 from here: http://downloads.sourceforge.net/matplotlib/matplotlib-0.91.2.win32-py2.5.exe Ignore the Enthought stuff ;-) cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

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

2008-03-26 Thread Chris Withers
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. I've had a similar error when I hit the red cross in the corner of the window with other scripts, although not this one :-S cheers, Chris -- Simplistix

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

2008-03-27 Thread Chris Withers
release of matplotlib on and winxp, but I can't reproduce it on my linux system. *sigh* ;-) Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk - Check out the new

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

2008-03-27 Thread Chris Withers
long in their format. If they were rotated through 90 degress it'd likely be fine. How would I do this? Also, how would I get this kind of updating with bar charts or errorbars? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

  1   2   >