LaTeX can accept embedded Python code with a python.sty file.
This is handy to dynamically generate plots with Matplotlib for a LaTeX slide
presentation.
I successfully embedded lots of matplotlib plot code into my slides
and then had problems with zorder.
For some reason zorder seems to mess
Hi
Is there a way to display the latitude and longitude of the cursor when
displaying a Basemap?
Mathew
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based
Okay, I've gotten this far. I have a Figure and I think I can change the
formatting of the values displayed in the toolbar by setting taking the
X axis and setting the function
format_xdata
to something of my own (something that computes lat/lon). Similar idea
for the Y axis.
So, given my
Hi Mathew,
2008/10/13 Mathew Yeates [EMAIL PROTECTED]
Okay, I've gotten this far. I have a Figure and I think I can change the
formatting of the values displayed in the toolbar by setting taking the
X axis and setting the function
format_xdata
to something of my own (something that computes
Thanks Angus. I tried this out ... it works once and only once!
BTW, The correct thing to do is
res=fig.gca()
res.fmt_xdata=foo() #instead of format_xdata
res.fmt_ydata=foo()
although, like I said, it only first for the first event. Somehow
res.fmt_xdata is getting set back to None
Mathew
And forwarded to the list... forgot to hit reply to all.
-- Forwarded message --
From: Angus McMorland [EMAIL PROTECTED]
Date: 2008/10/13
Subject: Re: [Matplotlib-users] how do I get my axis
To: Mathew Yeates [EMAIL PROTECTED]
2008/10/13 Mathew Yeates [EMAIL PROTECTED]
Thanks
Angus pointed out that I need to do
res.fmt_xdata=foo
Duh. I was evaluating foo.
But this still doesn't work!
The default formatting operation is still called.
Mathew
Mathew Yeates wrote:
Thanks Angus. I tried this out ... it works once and only once!
BTW, The correct thing to do is
On Mon, Oct 13, 2008 at 2:27 PM, Mathew Yeates [EMAIL PROTECTED] wrote:
Angus pointed out that I need to do
res.fmt_xdata=foo
Duh. I was evaluating foo.
But this still doesn't work!
The default formatting operation is still called.
This is the correct usage -- so if it is not working you
Hi,
I'm trying to plot some data where certain values are marked by a
sentinel, as per the Cookbook example:
http://www.scipy.org/Cookbook/Matplotlib/Plotting_Images_with_Special_Values
However, that code is fairly old, and doesn't work. A version that
worked as of ~18 months ago was posted to
Michael Lerner wrote:
Hi,
I'm trying to plot some data where certain values are marked by a
sentinel, as per the Cookbook example:
http://www.scipy.org/Cookbook/Matplotlib/Plotting_Images_with_Special_Values
However, that code is fairly old, and doesn't work. A version that
worked as
The reason it wasn't working is that my function foo didn't have the
right signature.fmt_xdata takes 1 argument. I have no idea why I didn't
see an exception displayed.
It's working now that I have
def foo(x) pass
Mathew
John Hunter wrote:
On Mon, Oct 13, 2008 at 2:27 PM, Mathew Yeates
El dom, 12-10-2008 a las 13:22 -1000, Eric Firing escribió:
Goyo wrote:
Hi all,
I'm plotting time series and using a custom format for x tick labels
because I want to see both date and time. But calling xlim makes the
default format return -- only dates or only times, it depends on
On Oct 9, 2008, at 12:55 PM, John Hunter wrote:
On Thu, Oct 9, 2008 at 2:40 PM, Zane Selvans [EMAIL PROTECTED]
wrote:
I too often feel like I'm just hacking my way
around in Matplotlib, without understanding how it is actually
supposed to be used (i.e. how it was designed to work). Is
Goyo wrote:
El dom, 12-10-2008 a las 13:22 -1000, Eric Firing escribió:
Goyo wrote:
Hi all,
I'm plotting time series and using a custom format for x tick labels
because I want to see both date and time. But calling xlim makes the
default format return -- only dates or only times, it
Zane Selvans wrote:
On Oct 9, 2008, at 12:55 PM, John Hunter wrote:
On Thu, Oct 9, 2008 at 2:40 PM, Zane Selvans [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
I too often feel like I'm just hacking my way
around in Matplotlib, without understanding how it is actually
supposed to be
15 matches
Mail list logo