>>>>> "Jay" == Jay Parlar <[EMAIL PROTECTED]> writes:

    Jay> That's the problem, I believe. 'imread' in mpl always reads
    Jay> images in as MxNx4, while Matlab will check if the image is
    Jay> B&W and just do MxN.  Is there any way to force MxN behaviour
    Jay> in mpl?

No way currently, but one could modify the png reader to do it....
Probably easiest is to use PIL and get a grayscale numpy array out,
then  mpl's colormapping and normalization will work as advertised.

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

Reply via email to