I will go to bed early tonight disregard this thread, wrong version
of matplotlib anyway. things are now ok.
Johann
On 03/10/2010 06:45 PM, Johann Cohen-Tanugi wrote:
> Hi there, I am not sure whether I am the only one to experience that but
> on my new FEDORA 12 box GTK+ is s
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
-
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
(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
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,
8
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 Firing wrote:
>>
>>
>>> John Hunter wro
thanks a lot!
Johann
John Hunter wrote:
> On Sat, Jul 11, 2009 at 1:15 PM, Eric Firing wrote:
>
>> John Hunter wrote:
>>
>>> On Thu, Jul 9, 2009 at 9:44 AM, Johann Cohen-Tanugi
>>> wrote:
>>>
>>>> Hello, how can I center
Hello, how can I center axis tick labels, so that the labels ends up at
the center between 2 ticks.
thanks in advance,
Johann
--
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in pri
I am under the impression that the way to go is now the mlab interface
to mayavi2. Here is a nice talk by Gael :
http://gael-varoquaux.info/physics/slides_Scipy2007.pdf
Johann
Eric Firing wrote:
> Lisa Tauxe wrote:
>
>> Are there any plans for incorporating this (what used to be mplot3d)
>>
thanks Eric! Could you provide me with an executive summary as to
pcolorfast vs imshow? Is it essentially a matter of speed?
Also, I tried to add a colorbar but failed. What is the correct invocation?
thanks a gain,
Johann
Eric Firing wrote:
> Johann Cohen-Tanugi wrote:
>> thanks Jo
unter wrote:
> On Fri, Sep 5, 2008 at 10:36 AM, Johann Cohen-Tanugi
> <[EMAIL PROTECTED]> wrote:
>
>> hi, I hope someone can quickly point me to some doc.
>> I can do imshow(histogram2d(x,y)[0]) but then I miss the x and y binning
>> correct labels.
>> If I
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
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
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?
Joh
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:
> ---
learn and survive... :)
thanks Jouni and Christopher!
Johann
Jouni K. Seppänen wrote:
> Johann Cohen-Tanugi
> <[EMAIL PROTECTED]> writes:
>
>
>> I have a function, which I am plotting. I want to add a line positioned
>> at, say, the mean of the function, so
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 :
y0=gca().yaxis.get_majorticklabels()[0].get_position()
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 library
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,
cheers,
Johann
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;1
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
---
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 a
lity of using LaTeX for plot labels, e.g.
>
> Best wishes,
>
> Arthur
>
> -----------
> amg -at- iri -dot- columbia -dot- edu
>
>
> Johann Cohen-Tanugi wrote:
>
>> Sorry for the preceding mis-threaded version. Here it is again :
>&
IES
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 m
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)
/home/cohen/data1/s
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 (0x001
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/ in ()
/usr/lib/python2.5/s
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
--
hi Mike,
no it is WxAgg, the code is here:
-
import wx
import os
import matplotlib
matplotlib.use('WxAgg')
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigCanvas
from matplotlib.figure import Figure
import matplotlib.numerix as numpy
class PlotFrame(wx.Frame):
def __i
I tried your simple example and I have indeed the following crash when I
tried to print preview :
---
NotImplementedError Traceback (most recent call last)
/usr/lib/python2.5/site-packages/matplotlib/bac
he python 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/th
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
: shape mismatch: objects cannot be
broadcast to a single shape
thanks,
Johann
---
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
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
hello,
I would like to know if there is an easy to invert a axis (specifically
the x-axis), id est to have the labels between say 0 an1 automatically
run from right to left. This is particularly welcome in astrophysical
context, where the spherical x coordinate of a 2D image is often reversed.
t
That did it.
thanks!
Eric Firing wrote:
> Johann Cohen-Tanugi wrote:
>> 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 ac
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 c
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 Bruch
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
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
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 !!
Probabl
was having the same problem, but the recent xpdf thread pointed me
> to a/the solution. I was able to successfully run your script by
> outputting as eps instead of ps (which produced truncated output, as
> you were experiencing).
>
> Matt
>
>
> On Thu, 10 May 2007, Johann Co
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&qu
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
;unrecognized symbol "%s, %d"' % (sym,
num) )
751 filename = os.path.join(self.basepath, basename) + '.ttf'
752 if filename not in bakoma_fonts:
ValueError: unrecognized symbol ".notdef, 0"
On 3/7/07, johann cohen-tanugi <[EMAIL PROTECTED]&g
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 seems to be a bug :
If I do r'$A\tilde{B}$' the tilde is actually on the A !! I
46 matches
Mail list logo