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 on

Re: [Matplotlib-users] plotting from within ipython, and then go on in the shell calculations

2009-10-14 Thread Johann Rohwer
On Wednesday 14 October 2009, Ernest Adrogué wrote: > 13/10/09 @ 14:35 (-1000), thus spake Eric Firing: > > Ernest Adrogué wrote: > > No, you have to call ipython with a threading option: > >-gthread, -qthread, -q4thread, -wthread, -pylab > > Ah, I didn't know that. In my Debian machine, it

Re: [Matplotlib-users] Compiling matplotlib (freetype issues)

2009-09-01 Thread Johann Rohwer
On Tuesday 01 September 2009, Pim Schellart wrote: > after I encountered some problems embedding matplotlib in a Tkinter > application I decided to update my matplotlib installation. > I downloaded and installed Python 2.6.2 and the latest svn > checkouts of numpy and scipy. > Then I tried to insta

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 thro

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

2009-08-04 Thread Johann Rohwer
Michael Droettboom wrote: > What distro are you on? It seems that Tcl/Tk moves the header files > around on a regular basis while not providing a standard way to > determine their location. It's like a wild goose chase ;) Perhaps > you're running something new and blazing new territory here ;

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 Rohwer 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 oc

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

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

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

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

[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] 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] > pyla

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 repl

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

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 probl

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'

Re: [Matplotlib-users] 2d plot with two y-axis

2007-05-08 Thread Johann Rohwer
Look at two_scales.py in the "examples" directory of the source distribution. Johann On Tuesday, 8 May 2007 09:59, Schmidt Michael wrote: > Hi, > > I am pretty new to python and matplotlib - > > I am struggeling a bit doing a 2d plot with two graphs in one with > different scaling on the left an