[Matplotlib-users] GTK+ config on Fedora 12.... change in filesystem structure?

2010-03-10 Thread Johann Cohen-Tanugi
Hi there, I am not sure whether I am the only one to experience that but on my new FEDORA 12 box GTK+ is shipped with the following structure for the headers : /usr/include/gtk-1.2/gtk/gtk.h This does not seem to be expected by matplotlib setup.cfg , or am I missing something? thanks, Johann

Re: [Matplotlib-users] centering axis ticks labels

2009-07-22 Thread Johann Cohen-Tanugi
hello, anyone has an idea about how to get this right? thanks a lot in advance, Johann Johann Cohen-Tanugi wrote: hi there, I stumbled into yet another problem, see script attached. Now there are 10 pixels and 10 label values on each axis, but I get only half the ticks, and as a result half

Re: [Matplotlib-users] centering axis ticks labels

2009-07-16 Thread Johann Cohen-Tanugi
(EMINS),np.array(ROIS),d) and at least the labelling would be correct, but the pixels are now more or less wide depending on the interval between values, which was not intended thanks a lot in advance for your help, Johann Johann Cohen-Tanugi wrote: Hello, how can I center axis tick labels

Re: [Matplotlib-users] centering axis ticks labels

2009-07-13 Thread Johann Cohen-Tanugi
Locator and Formatter instances, but I just have a sequence of numbers Johann Johann Cohen-Tanugi wrote: thanks a lot! Johann John Hunter wrote: On Sat, Jul 11, 2009 at 1:15 PM, Eric Firingefir...@hawaii.edu wrote: John Hunter wrote: On Thu, Jul 9, 2009

Re: [Matplotlib-users] centering axis ticks labels

2009-07-13 Thread Johann Cohen-Tanugi
import numpy as np import matplotlib.pylab as plt ROIS=[1.0,0.9,0.8,0.7,0.6,0.5,0.4,0.3,0.2,0.1] EMINS=[100,125,150,175,200,250,300,500,700,1000] d=np.array([81.820974990633303, 82.905629922471107, 79.590599078715002, 83.8076661158848, 84.340371447361704, 86.470741120340406, 86.325669295272604,

Re: [Matplotlib-users] Plot a Dictionary, time and value

2008-07-31 Thread Johann Cohen-Tanugi
hmm, reading the initial email, this is not what I understood the idea would be. So let me the following : I have a dictionnary with the 7 days of week as keys (strings) and a value attached to it. I would like to plot the days of the week in x and the corresponding values in y. It amounts to

Re: [Matplotlib-users] Installing Matplotlib

2008-07-27 Thread Johann Cohen-Tanugi
are you sure you need to specify -arch i386 -arch ppc and not only -arch ppc ?? It seems that according to the log mentioning i386 here does not please the linker. Maybe try without it? my 2 cents, Johann Ari Ehrmann wrote: Hey all, I've been having a lot of trouble installing matplotlib.

[Matplotlib-users] [Fwd: hists with empty bins and log option]

2008-05-28 Thread Johann Cohen-Tanugi
Reposting as it seems to have fallen through the cracks... sorry in advance if it was not the case, Johann hello, when histogramming a distribution in log scale, I have some empty bins, which drives the y axis to 1e-100 as a lower limit, completely squashing the histogram Bug or feature?

Re: [Matplotlib-users] hist is broken in SVN when using numpy 1.1.0.dev5077

2008-05-19 Thread Johann Cohen-Tanugi
Hi Glenn, I do not reproduce your problem with current revisions of numpy and matplotlib. best, Johann G Jones wrote: Hello, I am using r5186 from the SVN with numpy 1.1.0.dev5077. When I try hist(rand(512),arange(-128,127)) I get:

[Matplotlib-users] getting the min and max values of an axis for plotting

2008-05-12 Thread Johann Cohen-Tanugi
hello, I have a function, which I am plotting. I want to add a line positioned at, say, the mean of the function, so I want to do plot([x,x],[y0,y1]). In order to get y0, and y1, my brute force trial and error browsing of the API lead me to :

Re: [Matplotlib-users] Non-linear Regression to a Histogram

2008-05-11 Thread Johann Cohen-Tanugi
Hi Adrian, if you need low level access there is a python wrapper of the MINUIT and MINUIT2 fitting libraries : http://code.google.com/p/pyminuit/ and http://code.google.com/p/pyminuit2/ It is targeted primarily toward High Energy Physics people, most of whom are familiar with the MINUIT

Re: [Matplotlib-users] Postscript problem

2008-04-30 Thread Johann Cohen-Tanugi
to ping for a fedora packaging issue Anyway, end of story for this part of the thread best, Johann John Hunter wrote: On Tue, Apr 29, 2008 at 2:06 AM, Johann Cohen-Tanugi [EMAIL PROTECTED] wrote: hi John, for the record, I have a fedora 8 box, and the shipped version of pkgconfig

Re: [Matplotlib-users] Postscript problem

2008-04-29 Thread Johann Cohen-Tanugi
hi John, for the record, I have a fedora 8 box, and the shipped version of pkgconfig (pkgconfig-0.22-4.fc8) gives me : [EMAIL PROTECTED] matplotlib]$ /usr/bin/pkg-config --libs freetype2 -lfreetype No -lz here, if I am not wrong in my querying this tool . best, Johann

Re: [Matplotlib-users] Postscript problem

2008-04-28 Thread Johann Cohen-Tanugi
, Arthur --- amg -at- iri -dot- columbia -dot- edu Johann Cohen-Tanugi wrote: Sorry for the preceding mis-threaded version. Here it is again : I dont know if it is related, but I am actually failing an exemple : [EMAIL PROTECTED] matplotlib]$ ipython examples

Re: [Matplotlib-users] Postscript problem

2008-04-28 Thread Johann Cohen-Tanugi
yes it does! -lz now shows up and the pstest runs fine. Any idea what is failing wrt pkgconfig? thanks, Johann John Hunter wrote: On Mon, Apr 28, 2008 at 3:55 PM, Johann Cohen-Tanugi [EMAIL PROTECTED] wrote: Hi Michael, ok, here it is attached. For completion, from the matplotlib

Re: [Matplotlib-users] Postscript problem

2008-04-27 Thread Johann Cohen-Tanugi
hmm, I did not use matplotlib recently, but looking at the library, I would guess that I have the same issue : [EMAIL PROTECTED] ~]$ ldd /usr/lib/python2.5/site-packages/matplotlib/ttconv.so linux-gate.so.1 = (0x0011) libpython2.5.so.1.0 = /usr/lib/libpython2.5.so.1.0

Re: [Matplotlib-users] Matplotlib-users Digest, Vol 23, Issue 38

2008-04-27 Thread Johann Cohen-Tanugi
I dont know if it is related, but I am actually failing an exemple : [EMAIL PROTECTED] matplotlib]$ ipython examples/pstest.py --- ImportError Traceback (most recent call last)

Re: [Matplotlib-users] Postscript problem

2008-04-27 Thread Johann Cohen-Tanugi
dvipng: 1.5 ghostscript: 8.61 latex: 3.141592 EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES configobj: matplotlib will provide enthought.traits: matplotlib will provide best, Johann Johann Cohen-Tanugi wrote: hmm, I did not use

Re: [Matplotlib-users] plotting a series of 3D points and, picker=True and 3D

2008-01-29 Thread Johann Cohen-Tanugi
hello, thanks for answering. I actually fail with the import : In [1]: from matplotlib import axes3d --- ImportError Traceback (most recent call last) /home/cohen/bstw/ipython console in module()

[Matplotlib-users] plotting a series of 3D points

2008-01-25 Thread Johann Cohen-Tanugi
hello, I would like to plot in 3D a dataset organized as 1000 x,y,z points in a numpy array, so it would be smthg like plot3d(data[:,0],data[:,1],data[:,2]). I looked at the plot3D cookbook page, but it all seems to expect some sort of binning on a grid. best, Johann

Re: [Matplotlib-users] power law fitting of data

2007-12-26 Thread Johann Cohen-Tanugi
mpfit module: http://cars9.uchicago.edu/software/python/mpfit.html Cheers, Jessica On Dec 22, 2007, at 8:57 PM, Johann Cohen-Tanugi wrote: hi jessica, This FittingData tutorial is very nice. Could you illustrate how to fix/thaw parameters? I did not find any such attribute and when I try

Re: [Matplotlib-users] power law fitting of data

2007-12-22 Thread Johann Cohen-Tanugi
hi jessica, This FittingData tutorial is very nice. Could you illustrate how to fix/thaw parameters? I did not find any such attribute and when I try some kludges they fail with a msg saying type 'exceptions.ValueError': shape mismatch: objects cannot be broadcast to a single shape thanks,

[Matplotlib-users] grayscale

2007-11-12 Thread Johann Cohen-Tanugi
hello, is there a quick way to get a figure in greyscale? thanks, Johann - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files

Re: [Matplotlib-users] inverted x-axis

2007-09-04 Thread Johann Cohen-Tanugi
Jouni, thanks for your reply. I could test that plot([1,2,3],[1,2,3]) setp(gca(), 'xlim', (3.0,1.0)) works, but setp(gca(), 'xlim', reversed(getp(gca(), 'xlim'))) gives me an error : --- TypeError

[Matplotlib-users] erasing the figure border

2007-08-20 Thread Johann Cohen-Tanugi
hello, I am using matplotlib to make a drawing, so though I am using distances on the pad I do not need to display the axes and would rather have no frame and no tick. To achieve this, I tried using : rc('axes', edgecolor='white') rc('xtick', color='white') rc('ytick', color='white') The first

Re: [Matplotlib-users] problem with set in current svn HEAD

2007-08-17 Thread Johann Cohen-Tanugi
hi Matthieu, this will work too, with setp instead of set. Clearly 'set' is now reserved. Someone should update the user's guide. best, Johann -- Message: 1 Date: Thu, 16 Aug 2007 18:27:33 +0200 From: Matthieu Brucher

[Matplotlib-users] problem with set in current svn HEAD

2007-08-16 Thread Johann Cohen-Tanugi
hello, I must be doing something stupid I am trying to test the snippets of code in http://matplotlib.sourceforge.net/users_guide_0.90.0.pdf p.29, and I get : [EMAIL PROTECTED] python]$ python Python 2.5 (r25:51908, Apr 10 2007, 10:29:13) [GCC 4.1.2 20070403 (Red Hat 4.1.2-8)] on linux2 Type

[Matplotlib-users] problem with contour3D

2007-05-28 Thread Johann Cohen-Tanugi
hello, the following script correctly plots the 2D exponential, but when I put my mouse on it, matplotlib sends this exception on the terminal : --- exceptions.RuntimeError Traceback (most recent

Re: [Matplotlib-users] problem with saving eps and ps with GTKAgg backend (and current head of SVN)

2007-05-21 Thread Johann Cohen-Tanugi
I am closing the issue I had with ghostscript : I just built in /usr/local ghostscript 8.56 and now saving in eps file does not truncate the figure anymore. Thanks to Darren for pointing out that the FC5 version of ghostscript is way old And it looks like the FC7 version is as old !!

Re: [Matplotlib-users] problem with saving eps and ps with GTKAgg backend (and current head of SVN)

2007-05-10 Thread Johann Cohen-Tanugi
the graph when displaying it. I just tried to use GTK as a backend, and ipython tells me that there are non implemented errors on my script I attach it here. thanks! Johann Darren Dale wrote: On Wednesday 09 May 2007 12:19:24 pm Johann Cohen-Tanugi wrote: I am creating a big drawing ( figure

[Matplotlib-users] problem with saving eps and ps with GTKAgg backend (and current head of SVN)

2007-05-09 Thread Johann Cohen-Tanugi
hello, I am creating a big drawing ( figure(figsize=(16,20)) ), and when I try to save it in eps/ps form, it mishandle the overall size and only save a portion of the drawing. Saving in png or jpg works fine though. Any idea? Thanks, Johann

Re: [Matplotlib-users] a bug in tex formatting?

2007-03-07 Thread johann cohen-tanugi
: unrecognized symbol .notdef, 0 On 3/7/07, johann cohen-tanugi [EMAIL PROTECTED] wrote: Hello, I am attaching my python script to this email. It makes three figures, and everything is fine (I started with matplotlib a couple of weeks ago and so far I love it!), but for the way \tilde is dealt with, which