On Friday 26 January 2007 11:14, John Hunter wrote:
> >>>>> "Jay" == Jay Parlar <[EMAIL PROTECTED]> writes:
>
>     Jay> One issue might be the use of "minAmp" and "maxAmp" in the
>     Jay> Matlab code, and no equivalent in the Python. I thought maybe
>     Jay> the vmin/vmax arguments to 'imshow' might work, but they
>     Jay> don't make much of a difference.
>
> vmin and vmax do scale the image -- if they do not appear to make a
> difference you are probably choosing improper ranges.

vmin and vmax dont seem to have any effect on the resulting image, at least on 
my machine with the most recent svn.

>     Jay> For all I know, this could be a scipy issue, and not a
>     Jay> matplotlib one, but I thought I'd start at the top and work
>     Jay> my way down.
>
> I suggest you start at the bottom and work your way up, and inspect
> the results of fftshift in matlab and scipy.  imshow doesn't do all
> that much, so if you are seeing big differences it is more likely in
> my opinion that you are feeding in different values.

Aside from the ranges behaving strangely, something seems funny with the image 
itself. He selected the grey colormap, yet there are hints of yellow in the 
image.

Darren

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