On 1/26/07, John Hunter <[EMAIL PROTECTED]> wrote:
> >>>>> "Darren" == Darren Dale <[EMAIL PROTECTED]> writes:
>
>     Darren> vmin and vmax dont seem to have any effect on the
>     Darren> resulting image, at least on my machine with the most
>     Darren> recent svn.
>
> I haven't looked at his data or the output if fftshift.  if vmin and
> vmax do nothing, mpl is probably interpreting his image as RGB or
> RGBA, which it would do if the output is MxNx3 or MxNx4 and thus would
> not be applying scaling or color mapping.  When using svn, vmin and
> vmax do behave as expected in my test code:

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

Jay P.

-------------------------------------------------------------------------
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