Re: [Matplotlib-users] netcdf4-python build

2012-09-19 Thread Johann Rohwer
On 19/09/2012 21:14, Michael Rawlins wrote: Just installed h5utils from package manager. Getting same errors. In package manager I'm searching on hdf5. If there's a package there I'm missing, then it certainly is not obvious. Try libhdf5-serial libhdf5-serial-dev Johann

Re: [Matplotlib-users] Problems seeing a png created with matplotlib in firefox

2010-03-02 Thread Johann Rohwer
On Tuesday 02 March 2010, Alexander Dietz wrote: This is the original image created with the script in the same directory (and which I can't see. I don't neither get a warning nor an error, just a bnalk screen: http://atlas3.atlas.aei.uni-hannover.de/~dietz/Test/test.png while this one I

Re: [Matplotlib-users] build problems with TkAgg backend

2009-08-05 Thread Johann Rohwer
On Tuesday 04 August 2009, John Hunter wrote: Very odd. I suggest opening up setupext.py and finding the function check_for_tk. There are a series of test which ultimately set the gotit variable to determine whether you have tk for building. Insert a lot of debug print statements throughout

[Matplotlib-users] build problems with TkAgg backend

2009-08-04 Thread Johann Rohwer
Using the latest SVN matplotlib, the TkAgg backed does not get built even though all the libraries are installed (Linux 64-bit). The following error message occurs during the build: Tkinter: no * Using default library and include directories for * Tcl and Tk because a Tk

Re: [Matplotlib-users] build problems with TkAgg backend

2009-08-04 Thread Johann Rohwer
On Tuesday 04 August 2009, John Hunter wrote: On Tue, Aug 4, 2009 at 3:52 AM, Johann Rohwerj...@sun.ac.za wrote: Using the latest SVN matplotlib, the TkAgg backed does not get built even though all the libraries are installed (Linux 64-bit). The following error message occurs during the

[Matplotlib-users] Build problems under Linux - swig_runtime.h error

2009-07-17 Thread Johann Rohwer
After upgrading to the latest Mandriva Linux I can no longer compile Matplotlib. The following error occurs: In file included from src/backend_agg.cpp:37: src/swig_runtime.h: In function 'void SWIG_Python_AddErrorMsg(const char*)': src/swig_runtime.h:859: error: format not a

[Matplotlib-users] Adding custom axes within a subplot

2009-02-23 Thread Johann Rohwer
I'm trying to insert a custom set of axes within a subplot, much like the axes_demo.py. Only difference is, now I want an inset graph inside each of a number of subplots. Using ASCII art, much like the following: |---| | | | | |

Re: [Matplotlib-users] Adding custom axes within a subplot

2009-02-23 Thread Johann Rohwer
Johann Rohwer wrote: I'm trying to insert a custom set of axes within a subplot, much like the axes_demo.py. Only difference is, now I want an inset graph inside each of a number of subplots. Using ASCII art, much like the following

[Matplotlib-users] Fontsize of tick labels

2009-02-23 Thread Johann Rohwer
Is there any way of conveniently changing the font size of tick labels using the object-oriented interface? I'm aware of plt.xticks(fontsize=6), which does this globally for a figure, but if I have a number of custom axes of which I only want to change the tick-fontsize of a selected few, I've

Re: [Matplotlib-users] Adding custom axes within a subplot

2009-02-23 Thread Johann Rohwer
Hi JJ On Monday, 23 February 2009, Jae-Joon Lee wrote: Here is my modification. Bbox = matplotlib.transforms.Bbox.from_bounds(.4, .1, .5, .3) trans = ax.transAxes + fig.transFigure.inverted() l, b, w, h = matplotlib.transforms.TransformedBbox(Bbox, trans).bounds axins =

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

2008-10-07 Thread Johann Rohwer
On Tuesday, 7 October 2008, [EMAIL PROTECTED] wrote: Why does this snippet give a *BLANK* plot when I run it? (Either line separately seems to be ok!?!?) 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]

Re: [Matplotlib-users] plot star instead of pentagram

2008-09-03 Thread Johann Rohwer
On Wednesday, 3 September 2008, dmitrey wrote: hi all, matplotlib says it's similar to MATLAB's plot tool, however, using plot(..., 'p') plots pentagram instead of star. It makes my (Python scikits.openopt) graphic output of numerical convergence look uglier than MATLAB version. So is

Re: [Matplotlib-users] Set the right reply adress

2008-05-22 Thread Johann Rohwer
This has been discussed before. See: http://sourceforge.net/mailarchive/message.php?msg_id=4756A726.1080104%40gmx.net Johann Friedrich Hagedorn wrote: Hello List-Admin, could you set the right reply-adress in the mails from the matplotlib mailinglist? Everytime when I what to reply to

[Matplotlib-users] Record array help

2008-05-19 Thread Johann Rohwer
Hi, [I've also asked this on scipy-user, but since 'csv2rec' is a pylab function which is not part of NumPy, I thought maybe someone here can give me some pointers...] Is there any extended documentation/tutorial on record arrays? The NumPy book is pretty cryptic about this and I'm still very

Re: [Matplotlib-users] Matplotlib over the network?

2007-11-09 Thread Johann Rohwer
On Friday, 9 November 2007, Eric Firing wrote: Greg Novak wrote: Much of the data that I would like to plot lives on machines other than my desktop. I'd like to log in to the remote machine, start Python, and then let Matplotlib pop up an Xwindow on my desktop machine. The problem I'm

Re: [Matplotlib-users] question on the use of annotate

2007-07-12 Thread Johann Rohwer
On Thursday, 12 July 2007, Mark Bakker wrote: Hello, I never noticed the 'annotate' option in pylab. I have been trying unsuccesfully to get it to work. I am working in interactive mode and get the following error. Thanks for any help, Mark plot([1,2,3]) annotate( 'Mark', (1,2), (1,2.5)