On Sun, 2007-04-08 at 19:25 +0200, David Fokkema wrote:
On Fri, 2007-04-06 at 18:32 +0300, Jouni K. Seppänen wrote:
David Fokkema [EMAIL PROTECTED] writes:
If I choose center, the result is that my histogram is calculated
for edge values but the bars are placed at center values which
John Hunter schrieb:
On 4/4/07, Simon Kammerer [EMAIL PROTECTED] wrote:
Hi list,
I guess it's not limited to the basemap toolkit, but it fits to explain
my problem:
I'd like to produce time series with basemap. As drawing coastlines,
countrys etc. is expensive, but stays the same for every
I think this is a trivial question..
If there are a set of data points being plotted in a
subplot, say 0 to 1000 points; the subplot displays
the ticks as 0 to 1000 points and it is desired to
translate those points to 0 t0 250 points on the
subplot display - with point 0 mapping to point 0,
Not sure if I understand, but I think this is what you want to do:
y = rand(1000) # your 1000 random points
x = linspace(0, 250, y.size)
plot(x,y)
/A
Iyer wrote:
I think this is a trivial question..
If there are a set of data points being plotted in a
subplot, say 0 to 1000 points; the
David Fokkema [EMAIL PROTECTED] writes:
I fixed the bug, I think. At least it's working on my system and I think
it is not invasive. Comments please? I'll send it upstream otherwise...
Does this handle the case where the user has specified bins of
different widths? It looks like you are only
Thanx for the response..
I'd like to avoid the pylab interface...
linspace is good.
assume you have 1000 points of data and you'd like the
ticks to display from 0 to 4, since the 1000 points of
data were sampled at 250 Hz.
any non-pylab ideas ? Indexlocator?
-iyer
--- Antonio Gonzalez
On Tue, 2007-04-10 at 16:13 +0300, Jouni K. Seppänen wrote:
David Fokkema [EMAIL PROTECTED] writes:
I fixed the bug, I think. At least it's working on my system and I think
it is not invasive. Comments please? I'll send it upstream otherwise...
Does this handle the case where the user
I apologize if I haven't been sufficiently clear.
While your suggestion picks out the samples from the
sample set, and discards other samples - what I was
looking at --
when I plot a sample set, of say - 1000 points, the
xticks shows up as 0 to 1000 points on the plot.
I was wondering if there
On 4/10/07, Iyer [EMAIL PROTECTED] wrote:
I apologize if I haven't been sufficiently clear.
While your suggestion picks out the samples from the
sample set, and discards other samples - what I was
looking at --
when I plot a sample set, of say - 1000 points, the
xticks shows up as 0 to
Wouldn't it make sense to simply change the xticks to
reflect the time instead of the number of data points
?
Like, if we needed to display 0 t0 1000 points over a
period of time, wouldn't it be nice to translate the
xticks to reflect the period of time ?
Would you suggest using IndexLocator in
Hello Simon-
I have experimented with every conceivable python/numpy/mpl
permutation on mac os and I will second Chris Barker's recommendation.
Use the pythonmac.org packages with the wx backend. Choose whichever
version of wx and python that is best supported my the mpl version.
I use mpl v
Stephen Uhlhorn wrote:
I have experimented with every conceivable python/numpy/mpl
permutation on mac os and I will second Chris Barker's recommendation.
Use the pythonmac.org packages with the wx backend. Choose whichever
version of wx and python that is best supported my the mpl version.
On 4/10/07, John Hunter [EMAIL PROTECTED] wrote:
On 4/10/07, Iyer [EMAIL PROTECTED] wrote:
I apologize if I haven't been sufficiently clear.
While your suggestion picks out the samples from the
sample set, and discards other samples - what I was
looking at --
My suggestion does not
David Fokkema [EMAIL PROTECTED] writes:
I can't think of an application where you have bins of different
widths and you want to center the values...
Actually, now that I think about it, there is not enough information
in the bin centers to know the widths of the bins if they may vary.
For
There seems to be a huge misunderstanding here, and I am not sure what
it is, but what you need to do is run examples and experiment with
variations until you have some inkling of what mpl is actually doing.
Start with http://matplotlib.sourceforge.net/tutorial.html.
Please note that the
Ted Drain wrote:
John,
One of the problems we've had is trying to design an auto-scaling
algorithm that works well with any type date format since the date
strings can be so large horizontally. I believe that having the draw
time elements be able to query the renderer for things would
On 4/10/07, Eric Firing [EMAIL PROTECTED] wrote:
Ideas and strategy sketches tend to get lost in the email stack; would
it help to have a wiki page for discussion of major design questions
like this? Or is this overkill?
My preference is for (possibly structured) text documents in the svn
Hi,
a problem that I have since some time now using mpl: everytime I start
plotting, I get something like:
(python:6374): GnomePrintCupsPlugin-WARNING **: iconv does not support
ppd character encoding: ISOLatin1, trying CSISOLatin1
I know this is not really a mpl problem, but if anybody has a
On 4/10/07, Iyer [EMAIL PROTECTED] wrote:
If only someone could guide me, so that I can
understand better how to translate the ticks from
the default number of sample ticks to that of
different ticks - say
new_ticks=original_ticks/(some_constant). Right now
I'm clueless, your input will
Just started using matplotlib (it's great!) interactively (using ipython,
TkAgg backend) and am moving into saving plots to file.
I edited the matplotlibrc to interactive: False and backend: Agg, and it
works great. (produces .png)
I would normally like to muck around interactively to get the
Iyer [EMAIL PROTECTED] writes:
With all respect, I have certainly perused the
tutorials before posting the question.
From your postings it seems that you are misunderstanding some
fundamental concepts, but it is not clear how. Can you write up a
little piece of code showing what you are doing
21 matches
Mail list logo