Re: [matplotlib-devel] use of the SciPy Array Interface

2006-11-21 Thread John Hunter
> "Joachim" == Joachim Dahl <[EMAIL PROTECTED]> writes:

Joachim> this doesn't: matshow(matrix([[1.0,2.0],[3.0,4.0]]) but
Joachim> this does
Joachim> matshow(pylab.array(matrix([[1.0,2.0],[3.0,4.0]])

These should be considered bugs -- we should do an asarray anywhere we
are expecting an array input.  I fixed matshow in svn -- let us know
if you find others, or send a patch.  They are easy to fix.

JDH

-
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-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] Some queries regarding basemap.

2006-11-21 Thread Aalok kapoor
Hi all,

I have tried to use basemap to plot world map and successfully plotted points 
on it by giving lists of latitudes and longitudes. One problem i have is i want 
to give different colors for different countries, i.e. regarding population. 
For ex. for range 2-20 -- green. 20-100 -- red.. etc.. 
How can i give colors to different countries according to data I pass to it? 
please help me in knowing whether it is possible or not.

Thanks in advance,
-Aalok


-
 Find out what India is talking about on  - Yahoo! Answers India 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it 
NOW-
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-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel