Hi,
I am working with collection of lines, and when trying to set the color of each
individual lines I found that you can either use a 'color' or colors' (note the
's') argument to LineCollection() to accomplish the same, but that there's only
a set_color() method you can call. Is this intended?
Le vendredi 04 juin 2010 à 15:25 +0200, Thøger Emil Juul Thorsen a
écrit :
Hello list;
I'm new to python/matplotlib, migrating from IDL. I need to do some
interactive point selection with mouse, and the pyplot.ginput() routine
seemed to be just the right thing here. I do however need to be
The problem is that the LogLocator expects the data to be
non-log-transformed, since it is providing the log transform itself. It
actually is doing the right thing since the data passed to plot ranges
from 1 to 4.
As a workaround, you can manually set the ticks with set_xticks,
John,
I just tried all backends I have on my Win7 system (Qt4Agg, WXAgg, TkAgg) and
found none of them could allow the animation in the line_editor.py. Please let
me know whether I have to use GTK or GTKAgg to get the animation. Thanks.
--
Jinsuo
-Original Message-
From: John Hunter
Todd,
I am glad that worked for you.
I am assuming that you are coming from a Matlab-like experience where every
plot command did produced a graphical result when called? If so, I can see
how this behavior can be a little confusing. I will admit I was a little
confused at first when I started
Hello,
I'm trying to use the matplotlib Sphinx plot extension to add some
diagrams to Sphinx documentation. However, I've come across a couple of
issues.
First, my Sphinx documentation uses the separate directories for source
and build option. It seems that matplotlib doesn't work well with this
I am a new user and I need to make a GUI with QT4 in which you can plot, just
like using Matlab's GUIDE. Someone can send me a littel example (or tutorial)
for doing this.
Thanks
--
ThinkGeek and WIRED's GeekDad team up
Hi
How do I set the range of the y-axis on a bar chart , e.g, from 0 to 100?
Thanks
Ted
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental
I tried to reproduce your attached plots using the functions you gave.
While I was able to reproduce your first graph (values from -1.08e-20 to
-1.386e-20) I could not reproduce your second graph. My y2 has values from
1.397e27 to 1.7936e27. Your second graph shows values ranging from 1.7e-27
to
Waléria Antunes David wrote:
Hello!!!
My name is Waleria. I work at INPE in Sao Jose dos Campos, Brazil. And
I'd like to make a question. I'm in trouble to generate a two
functions graph.
I have a problem to generate a graph of the two functions. I have this
functions, is bellow:
*y1 =
On 6/8/2010 11:19 AM, Waléria Antunes David wrote:
the first function isdecrescent an the second is crescent
Decreasing and increasing over the specified range, you mean.
You won't see that when you plot them together
because they have very different scales,
so the one with the small scale
On Tue, Jun 8, 2010 at 10:19 AM, Waléria Antunes David
waleriantu...@gmail.com wrote:
Hello!!!
My name is Waleria. I work at INPE in Sao Jose dos Campos, Brazil. And I'd
like to make a question. I'm in trouble to generate a two functions graph.
I have a problem to generate a graph of the
On 6/8/2010 11:19 AM, Waléria Antunes David wrote:
the first function isdecrescent an the second is crescent
Decreasing and increasing over the specified range, you mean.
You won't see that when you plot them together
because they have very different scales,
so the one with the small scale
On Tue, Jun 8, 2010 at 9:52 AM, David Goldsmith d.l.goldsm...@gmail.comwrote:
- Forwarded message --
From: SourceForge.net nore...@sourceforge.net
Date: Mon, Jun 7, 2010 at 6:06 AM
Subject: [ matplotlib-Bugs-2949906 ] finance.quotes_historical_yahoo raises
ZeroDivisionError
- Forwarded message --
From: SourceForge.net nore...@sourceforge.net
Date: Mon, Jun 7, 2010 at 6:06 AM
Subject: [ matplotlib-Bugs-2949906 ] finance.quotes_historical_yahoo raises
ZeroDivisionError
To: nore...@sourceforge.net
Bugs item #2949906, was opened at 2010-02-11 13:44
On Tue, Jun 8, 2010 at 11:53 AM, David Goldsmith
d.l.goldsm...@gmail.com wrote:
On Tue, Jun 8, 2010 at 9:52 AM, David Goldsmith d.l.goldsm...@gmail.com
wrote:
- Forwarded message --
From: SourceForge.net nore...@sourceforge.net
Date: Mon, Jun 7, 2010 at 6:06 AM
Subject: [
On 06/08/2010 04:31 AM, Benjamin Root wrote:
Todd,
I am glad that worked for you.
[...]
Anyway, you can always call plt.ion() to turn interactive mode on, and
plt.ioff() to turn it off, or you can use ipython with the -pylab
argument (although I don't know if this is the same as turning
Ted,
You can call ylim([0, 100]) after you create your plot. If you have the
axes object (from gca()), you can directly manipulate the limits using
set_ylim([0, 100]).
Ben Root
On Tue, Jun 8, 2010 at 10:50 AM, Ted Kord teddy.k...@googlemail.com wrote:
Hi
How do I set the range of the
Then I haven't a clue. Maybe someone else has some insight?
Ben Root
On Mon, Jun 7, 2010 at 4:10 PM, Dharhas Pothina
dharhas.poth...@twdb.state.tx.us wrote:
Ben,
The matplotlib on the other working machine is using python 2.6.4. On this
machine I am using python 2.6.5.
The default
Thanks Ben. worked brilliantly.
Ted
On 8 June 2010 18:48, Benjamin Root ben.r...@ou.edu wrote:
Ted,
You can call ylim([0, 100]) after you create your plot. If you have the
axes object (from gca()), you can directly manipulate the limits using
set_ylim([0, 100]).
Ben Root
On Tue,
On 6/8/2010 10:39 AM, John Hunter wrote:
On Tue, Jun 8, 2010 at 11:53 AM, David Goldsmith
d.l.goldsm...@gmail.com wrote:
On Tue, Jun 8, 2010 at 9:52 AM, David Goldsmithd.l.goldsm...@gmail.com
wrote:
- Forwarded message --
From: SourceForge.netnore...@sourceforge.net
Hello,
I am pleased to announce that EPD (Enthought Python Distribution)
version 6.2 has been released. This release includes an update to
Python 2.6.5, SciPy 0.8.0beta1, as well updates to many other
packages and bug fixes. You can find a complete list of updates in
the change log:
On Tue, Jun 8, 2010 at 1:34 PM, Gökhan Sever gokhanse...@gmail.com
wrote:
You might need to check your y2. You are mixing integers and floats
which possible have resulted with some rounding errors. I get e+30
when I assert the terms as floats in y2.
On 6/8/2010 1:47 PM, Waléria Antunes
On Tue, Jun 8, 2010 at 2:05 PM, Waléria Antunes David
waleriantu...@gmail.com wrote:
no, I think, did not understand my functions.seei made a change my
second function in the attached.
You can further simplify your function. Try grouping 10 powers under one
term. You can then
Waléria,
I repeat, you need to add parentheses for the denominator of that quantity
in order to match what you wrote out on paper. You are missing a set of
parentheses that is causing (3e14**2) to be *multiplied* rather than
divided. This explains the huge values you are getting.
Ben Root
On
Hello,
I updated to svn r8396 today, and the MacOSX backend is broken. The following
code
import matplotlib
matplotlib.use('MacOSX')
import matplotlib.pyplot as mpl
fig = mpl.figure()
ax = fig.add_subplot(1,1,1)
fig.canvas.draw()
produces the following error:
File
Hi,
I have a 1d array Z that unfortunately contains information about a two
dimensional surface. The mapping is nontrivial (i.e. Z is not just a
sequence of column or row information that I could reshape) but
homogenous (i.e. there is a rectangular grid and Z contains data for
each vertex). The x
On 06/08/2010 11:16 AM, Thomas Robitaille wrote:
Hello,
I updated to svn r8396 today, and the MacOSX backend is broken. The following
code
import matplotlib
matplotlib.use('MacOSX')
import matplotlib.pyplot as mpl
fig = mpl.figure()
ax = fig.add_subplot(1,1,1)
fig.canvas.draw()
On 06/08/2010 12:25 PM, Eric Firing wrote:
On 06/08/2010 11:16 AM, Thomas Robitaille wrote:
Hello,
I updated to svn r8396 today, and the MacOSX backend is broken. The
following code
import matplotlib
matplotlib.use('MacOSX')
import matplotlib.pyplot as mpl
fig = mpl.figure()
ax =
On 06/08/2010 12:33 PM, Eric Firing wrote:
On 06/08/2010 12:25 PM, Eric Firing wrote:
On 06/08/2010 11:16 AM, Thomas Robitaille wrote:
Hello,
I have submitted a bug report with full error transcript here:
https://sourceforge.net/tracker/?func=detailaid=3013440group_id=80706atid=560720
Z = numpy.zeros((y_shape, x_shape))
x = your_flat_indices_in_x
y = your_flat_indices_in_y
z = your_flat_z_data
If you have only coordinates, then try to figure out the indices in
some way. Then do:
Z[zip(y, x)] = z
and figure out the coordinates that correspond to the mesh meant by Z.
It's
Hi,
when I make plots with the Basemap package I seem to be getting a large
amount of white space at the top and bottom of the plot, even if I use the
option bbox_inches='tight'. Does anyone know how I can stop this happening?
Example image...
Note - in case it isn't clear that white space between where I mention the
example and the image is what I am referring to and below it again.
mdekauwe wrote:
Hi,
when I make plots with the Basemap package I seem to be getting a large
amount of white space at the top and bottom of the
Thanks guys for your advice.
My mail server has been weird since yesterday so I only just saw your
messages now. In the meantime, I managed to hack and extend the
LineBuilder class code snippet at http://goo.gl/RLGS to actually meet my
needs better than ginput - but, obviously, much less portable
34 matches
Mail list logo