Re: [Matplotlib-users] matplotlib/wxmpl/numpy conflict on windows xp: runtime error, C-API ?

2006-07-25 Thread massimo sandal

Charlie Moad ha scritto:

I am guessing you installed numpy1.0b1.  You need to use 0.9.8.


Thanks a lot. I uninstalled 1.01b1 and installed 0.9.8 and everything 
workes perfectly.


Thanks again,
Massimo

--
Massimo Sandal
University of Bologna
Department of Biochemistry "G.Moruzzi"

snail mail:
Via Irnerio 48, 40126 Bologna, Italy

email:
[EMAIL PROTECTED]

tel: +39-051-2094388
fax: +39-051-2094387
begin:vcard
fn:Massimo Sandal
n:Sandal;Massimo
org:University of Bologna;Department of Biochemistry
adr:;;Via Irnerio 48;Bologna;;40126;Italy
email;internet:[EMAIL PROTECTED]
tel;work:+39-051-2094388
tel;fax:+39-051-2094387
x-mozilla-html:FALSE
version:2.1
end:vcard

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] flipping x-y axes?

2006-07-25 Thread massimo sandal

Hi,

What is the method used to flip axes in X and/or Y direction in the 
matplotlib API? that is, to plot something with values from positive to 
negative instead of the contrary?

Maybe it's me being dense :), but I can't find how to do it.

Thanks!
m.

--
Massimo Sandal
University of Bologna
Department of Biochemistry "G.Moruzzi"

snail mail:
Via Irnerio 48, 40126 Bologna, Italy

email:
[EMAIL PROTECTED]

tel: +39-051-2094388
fax: +39-051-2094387
begin:vcard
fn:Massimo Sandal
n:Sandal;Massimo
org:University of Bologna;Department of Biochemistry
adr:;;Via Irnerio 48;Bologna;;40126;Italy
email;internet:[EMAIL PROTECTED]
tel;work:+39-051-2094388
tel;fax:+39-051-2094387
x-mozilla-html:FALSE
version:2.1
end:vcard

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] flipping x-y axes?

2006-07-25 Thread PGM
On Tuesday 25 July 2006 12:30, massimo sandal wrote:
> Hi,
>
> What is the method used to flip axes in X and/or Y direction in the
> matplotlib API? that is, to plot something with values from positive to
> negative instead of the contrary?

just set the limits of your axes with xlim/ylim or set_ylim/set_xlim
For example:

y = N.arange(10)
plot(y)
ylim(y[-1],y[0])


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Help with axes in CAD type operations

2006-07-25 Thread Michael Schwager








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 distances between objects (lines, polygons, circles),
so I’d like to extract all the elements/lines/polygons/arcs/circles in an
axis, but I don’t see how to do that.  

 

Also, I need to draw arcs, but it seems I can only do that by
directly manipulating the renderer.  I’m trying to get everything
done using only the pylab interface.  I tried creating a RendererPS
directly, but it took some funny arguments (eg a StreamIO) which I wasn’t
sure what to do with.

 

 

Any suggestions would be great.

Thanks

Michael






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users