Plotting Images



Hi ALL:

I have only been switched from matlab to python few
months ago. I having trouble of plotting images from a
matrix size of 8x10000 (unfortunately that is the size
of my data.....)

for example,
x = rand(8,10000)
inshow(x)

I have tried to use matplotlib function imshow(), but
all i get is a long thin line (unable to see the color
display and the my matrix information).

i think imshow() has the same problem in matlab, but i
think there is a alternative in matlab, imagesc().

I did search on web about plt.imagesc().....but when i
try to run the example code, python just tell me
cannot find module plt.

from scipy import plt
ImportError: cannot import name plt

I have installed scipy, wxpython2.6....and it still
seem not to work!

is there some alternitive? or what have i done wrong?
Thank you

Pei


____________________________________________________________________________________
想及時通知通訊錄裡的所有親朋好友好消息,就來 Yahoo!奇摩電子信箱發簡訊!
http://tw.mobile.yahoo.com/texts/mail.php
.



Relevant Pages

  • Of money and mouths
    ... He emailed me a Python ... Matlab is a package produced by Mathworks. ... I'm not sure how to interface Lisp with a process ... Now the Scheme ...
    (comp.lang.python)
  • Of money and mouths
    ... He emailed me a Python ... Matlab is a package produced by Mathworks. ... I'm not sure how to interface Lisp with a process ... Now the Scheme ...
    (comp.lang.lisp)
  • Re: About alternatives to Matlab
    ... Python to interface with data acquisition hardware really result in ... I am very familiar with Matlab, Labview, and Python, ... Matlab and Python sucks equally much when it comes to ...
    (comp.lang.python)
  • ANN: matplotlib-0.40 python plots with matlab syntax
    ... matplotlib is a pure python 2D plotting library with a matlab syntax ... in one enhanced function 'errorbar'. ...
    (comp.lang.python)
  • Re: Plotting Images
    ... I have only been switched from matlab to python few ... I having trouble of plotting images from a ... i think imshow() has the same problem in matlab, ...
    (comp.lang.python)