John,
Very good--I will work on it this weekend.
Eric
> Eric, how about adding a helper method to matplotlib.transforms call
> "relative_to", something like
>
> trans = relative_to(artist, pointsx, pointsy)
>
> you can get dpi from artist.figure.dpi to construct the right
> points->pixels o
On Monday 24 July 2006 15:12, Jouni K Seppanen wrote:
> Tommy Grav <[EMAIL PROTECTED]> writes:
> > The window resizes horisontally when the pointer is inside the
> > window, although the window behaves erratically as it resizes.
> > Moving the pointer to the right will cause the window to grow then
Hi all, I would like to enable the key pressed event (key '1' '2' 'a' 'g' .. ) of NavigationToolbar2 in my pyGTK app.(These keys shortcut are described here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1432252&group_id=80706&atid=560722)The shorcuts work perfectly using pylab. But
Hi,
i have a problem with matplotlib (i use version 0.85
with python 2.3). In some graphs it is necessary to
have the name of the registered user in the title. I
do this like this:
self.axes = self.figure.add_subplot(111)
[...]
axesTitle = "Registered to %s." %user
self.axes.set_title(axesTi
What version of numpy are you using, and was it installed from source
or package?
On 7/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hello,
> I am trying to install matplotlib-0.87.3 on a Fedora Core 4 box
>
> The system has python-2.4 installed
>
> All of the necessary addons- scipy, nu
> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes:
Eric> Attached is a simple example that illustrates the method.
Eric> What threw me off last night is that the
Eric> copy_bbox_transform() function was not doing what I
Eric> expected. I don't know yet whether this is because
Attached is a simple example that illustrates the method. What threw me
off last night is that the copy_bbox_transform() function was not doing
what I expected. I don't know yet whether this is because of a bug or a
misunderstanding on my part, but in any case, the example provides an
alter
On Thu, 27 Jul 2006, [EMAIL PROTECTED] wrote:
> All of the necessary addons- scipy, numarray, Numeric, gtk, etc have
> been added.
Well, something in the build system thinks something is missing. So let
us know *exactly* what RPMs you installed (with URLs preferably), or where
you got the sou
It looks like Travis committed a numpy 1.0 compatibility fix on July
7th. It includes the header which addresses your error. You will
have to use >=matplotlib-0.87.4 if you want to use the latest numpy.
- Charlie
On 7/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> OK,
> I removed the rpm
> Is it easy to unstall one version of a module before installing
> another one.
It will just overwrite the old files, so normally you don't run into
problems. There is no defacto way to remove the modules though. It
is usually pretty obvious what needs to be removed from the
site-packages folde
OK,
I removed the rpms, and used a direct install of numpy-1.0b1 from the
tar.gz package.
Then, I tried to install matplotlib-0.87 from the tar.gz package.
Apparently, same problem:
python setup.py build >& build.log
[EMAIL PROTECTED] matplotlib-0.87.3]# tail build.log
gcc: src/_ns_cntr.c
src/
I installed numpy-1.0b1 from a src RPM. I built the RPM from the src
RPM.
Given your question, I will try to reinstall using the tar.gz file.
Incidentally, I went back to matplotlib-0.83, and was able to install
that after disabling the TKAGG module.
I'll report back on the tar.gz thing.
Incide
Glen,
Funny, I ran into exactly the same problem earlier that week. My guess is that
you use numpy, right ? 0.9.8 ? On a 64b machine ?
If that's the case, you should have the same problem with divmod and numpy
each time you use float64 as dtype: each element is a float64scalar that
divmod doesn
> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes:
Eric> I think that what you want to do requires something like the
Eric> mechanism in QuiverKey: a derived artist with a draw method
Eric> that figures out at draw time where to put the text; I don't
Eric> think there is any o
On Thu, Jul 27, 2006 at 08:57:47PM -0400, PGM wrote:
> > Is this normal? If so, how do I get around the problem? I also
> > noticed that, even without extents, the image gets scaled after
> > plotting.
>
> Try to set the "_autoscale" parameter of your current 'axes' to False. That
> way, you sho
Hi Eric
On Thu, Jul 27, 2006 at 02:57:31PM -1000, Eric Firing wrote:
> That certainly looks to me like a bug, but it is not obvious to me after
> a quick look where the bug is (although I suspect it is very simple),
> and I can't look at it more right now. If someone else doesn't chime in
> wi
Michael,
I'm probably not the right person to be answering, but in the absence of
other responses I will try.
Michael Schwager wrote:
> Hi, I’m trying to do some CAD type things with Matplotlib. I’m using
> python 2.4 with both PS and GTK backends in WinXP. Specifically, I’m
> trying to find
Bill Baxter wrote:
> Great. Thanks. I'll take a look at that file. Is "transFigure" the
> one that I was calling "screen space"?
All of the transforms go from some particular coordinate system to what
one might call "screen coordinates": position in dots (pixels), with
(0,0) in the lower left
Great. Thanks. I'll take a look at that file. Is "transFigure" the
one that I was calling "screen space"?
--bb
On 7/28/06, Eric Firing <[EMAIL PROTECTED]> wrote:
> Bill,
>
> You can see an example of how to do something similar by looking at the
> QuiverKey class in quiver.py. It is all a mat
Hello,
I am trying to install matplotlib-0.87.3 on a Fedora Core 4 box
The system has python-2.4 installed
All of the necessary addons- scipy, numarray, Numeric, gtk, etc have
been added.
I am including the output of running
$ python setup.py install
Any help is appreciated.
-Thanks,
-sen1
Stefan,
> Is this normal? If so, how do I get around the problem? I also
> noticed that, even without extents, the image gets scaled after
> plotting.
Try to set the "_autoscale" parameter of your current 'axes' to False. That
way, you should avoid any inopportune rescaling. For the image, try
Stefan,
That certainly looks to me like a bug, but it is not obvious to me after
a quick look where the bug is (although I suspect it is very simple),
and I can't look at it more right now. If someone else doesn't chime in
with a fix, you might want to file a bug report on sourceforge to make
Bill,
You can see an example of how to do something similar by looking at the
QuiverKey class in quiver.py. It is all a matter of using the
transforms module.
Eric
Bill Baxter wrote:
> I want to draw some labels with plot.text() and have them appear a
> given number of pixels (or mm, or point
Howdy PGM,
Thanks for the reply.
On 7/28/06, PGM <[EMAIL PROTECTED]> wrote:
> Bill,
> Could you post an example of the problem ? I must admit I'm slower than usual
> to react today, and I'm not sure I understand what you mean.
> I tried that:
>
> plot([3,],[3,],'o')
> gca().text(3,3,'TEXT')
I'm p
"Michael Schwager" <[EMAIL PROTECTED]> writes:
> In fact, I'd like to control its x and y offset because it's a
> really large image and I only have letter or 11x17 size paper, so
> I'd like to print it out in panels.
Perhaps this is better done by postprocessing the ps file with a
suitable utili
"Bill Baxter" <[EMAIL PROTECTED]> writes:
> I want to draw some labels with plot.text() and have them appear a
> given number of pixels (or mm, or points) to above and to the right of
> the data points they are describing. Is there some way to specify a
> screen offset from a point in graph coor
Hello,
Using 0.87.4, I'm getting this traceback with a date plot:
/usr/local/stow/matplotlib-0.87.4/lib/python2.4/site-packages/matplotlib/dates.py
in _from_ordinalf(x, tz)
154 dt = datetime.datetime.fromordinal(ix)
155 remainder = x - ix
--> 156 hour, remainder = divmod(24*
27 matches
Mail list logo