Hi
Thank you very much, it worked perfectly :D
Kind regards
Pål
On 27 January 2012 15:29, Tony Yu wrote:
>
>
> On Fri, Jan 27, 2012 at 9:13 AM, Pål Gunnar Ellingsen wrote:
>
>> Hi
>>
>> I have a array, M, which is (4Nx4M), and an array (image), im, which is
>> NxM.
>> I can currently plot the
On Fri, Jan 27, 2012 at 9:13 AM, Pål Gunnar Ellingsen wrote:
> Hi
>
> I have a array, M, which is (4Nx4M), and an array (image), im, which is
> NxM.
> I can currently plot the matrix as a 2d image using imshow using:
>
> import matplotlib.pyplot as plt
> from matplotlib import cm
>
> # some code f
Hi
I have a array, M, which is (4Nx4M), and an array (image), im, which is NxM.
I can currently plot the matrix as a 2d image using imshow using:
import matplotlib.pyplot as plt
from matplotlib import cm
# some code for reading in the matrix
cmap = cm.get_cmap('jet', 256)
imM = plt.imshow(M, cm