On 02/04/2010 02:02 AM, Sourav K. Mandal wrote:
> On Wed, 2010-02-03 at 22:04 -0800, Michael Cohen wrote:
>
>>> One of the most persistent problems I have with matplotlib is finding
>>> out which kwargs and args are available for some commands.
>>> For instance, I am looking at manipulating axis ti
I'm pretty sure your problem is not generally related to matplotlib, all the
examples you mentioned and the one you sent me by e-mail worked for me. Maybe
you try a different version or a different operating system for your scripts.
---
In the second case, after x, nothing really happened. The program
resecuted the def it was in.
On 2/7/2010 7:19 PM, Wayne Watson wrote:
> Well, that didn't quite work.
>
> I tried
> ...
> fig=figure()
> ...
> fig.close()
> show()
>
> and
> show()
> fig.close()
>
> In the first case, I got the err
Well, that didn't quite work.
I tried
...
fig=figure()
...
fig.close()
show()
and
show()
fig.close()
In the first case, I got the error msg:
On 2/7/2010 7:15 PM, Wayne Watson wrote: Figure has no attribute close
> Thanks. It seems most example of matplotlib end with show(). In fact,
> all may e
Thanks. It seems most example of matplotlib end with show(). In fact,
all may end that way, at least the short ones.
On 2/7/2010 1:50 PM, Jeff Whitaker wrote:
> > I need to know how to close a figure/chart in matplolib.
>
--
My life in two words. "Interrupted Projects." -- WTW (quote originato
Yes, that did it. Thanks. Some of that code I copied from an example,
the ax1 part. I guess it's related to subplot. The 1 on ax doesn't make
much sense to me. Maybe there was an ax2 in the original, so there were
two subplots. So it looks like to manipulate the subplot, one uses ax1
with calls
try
ax1.axis(v)
-JJ
On Sun, Feb 7, 2010 at 5:16 PM, Wayne Watson
wrote:
> The segment below is supposed to plot two columns of (x,y) data and do
> it in an area 640x480. Apparently, I'm missing how to use v to get this
> done. It dies at col.axis(v) with list object has no attribute 'axis'.
>
Thanks. It seems most example of matplotlib end with show(). In fact,
all may end that way, at least the short ones.
On 2/7/2010 1:50 PM, Jeff Whitaker wrote:
> > I need to know how to close a figure/chart in matplot.
>
--
My life in two words. "Interrupted Projects." -- WTW (quote origina
The segment below is supposed to plot two columns of (x,y) data and do
it in an area 640x480. Apparently, I'm missing how to use v to get this
done. It dies at col.axis(v) with list object has no attribute 'axis'.
From looking at some MPL examples, it's not clear to me how one uses
axis here.
zxc wrote:
> Hi there!
> I need to know how to close a figure/chart in matplot.
>
> Does anyone know how it works and could you please explain on the
> example below?
> The problem is: close(1) doesn't close the figure 1 and when the 2nd
> figure will be plot the program hangs.
> I tried with dr
Note the show() on the last line below. If I run this program from IDLE,
it displays the graph, and sits there. I would like to finish, by
getting to an active shell script. If I close the figure using x in the
upper right, it disappears. Now two windows are seen. The code and
script window.
It's is simple as pie. Put three points on a sheet of paper. Draw a
line with an arrow on it from any point to another. Draw a line from the
last point to the third the same way. The method I described will work
fine. I can do this. No need for you to attach arrows to what
you've done.
Filipe Pires Alvarenga Fernandes wrote:
> Hello list,
>
> I'm trying to create a stick-plot figure using the quiver function from
> matplotlib. However, I'm failing miserably to plot dates in the x-axis.
> Has anyone done this before? Also, is there an effort to create a
> stickplot function?
Hi there!
I need to know how to close a figure/chart in matplot.
Does anyone know how it works and could you please explain on the example below?
The problem is: close(1) doesn't close the figure 1 and when the 2nd figure
will be plot the program hangs.
I tried with draw() but the figure doesn
Wayne Watson wrote:
> The cumsum (summation) buffaloes me.
That is just to create some artificial data,
to illustrate. If you have the coordinates
in a 2 by N array named `locs`, just use the
last 2 lines. If you already have the
coordinates separated into arrays x and y,
just use the last line
As it turns out, this was easy to solve. What drove me to this point is
that the distributor of the software I use mentioned that numpy had to
be installed before MPL. I had only installed MPL when I ran into a
program that failed. I thought it might be because I hadn't installed
numpy first, i
Hello list,
I'm trying to create a stick-plot figure using the quiver function from
matplotlib. However, I'm failing miserably to plot dates in the x-axis. Has
anyone done this before? Also, is there an effort to create a stickplot
function?
Thanks, Filipe
***
(I see I "forgot" to post this solution to the list. I really have
quickly developed a dislike for having to go to extra lengths to make
sure this happens. Perhaps one of my difficulties is that some people
respond directly to me, and my mail filter shuttles the message to my
matplotlib folder
Thanks to all who have replied. {Ipython, Vpython, Spyder, WxPython,
Eclipse} x {Windows XP, Windows 7, Mac OSX, Linux} - looks like we have many
{IDE, platform} combinations to test, and no consensus on any one choice.
Student needs are different than large project developers. I need an IDE
th
Gael Varoquaux a écrit :
> On Sun, Feb 07, 2010 at 09:59:04AM +0100, Pierre Raybaut wrote:
>
>> Two screenshots to prove it :-)
>>
>> Running an example script including "pdb.set_trace()" in the external
>> console:
>> http://spyderlib.googlegroups.com/web/pdb_test.png
>> Executing the same sc
On Sun, Feb 07, 2010 at 09:59:04AM +0100, Pierre Raybaut wrote:
> Two screenshots to prove it :-)
>
> Running an example script including "pdb.set_trace()" in the external
> console:
> http://spyderlib.googlegroups.com/web/pdb_test.png
> Executing the same script from a Python interpreter within
Pierre Raybaut a écrit :
> 2010/2/6 Gael Varoquaux :
>
>> On Sat, Feb 06, 2010 at 11:27:50AM +0100, Pierre Raybaut wrote:
>> When you start having a somewhat complex set of functions that call
>> each other, or when you are getting failures with somebody else's code,
>> this is priceless. This i
22 matches
Mail list logo