Re: Plotting Images
- From: Andr <andre.roberge@xxxxxxxxx>
- Date: Tue, 31 Jul 2007 14:33:35 -0000
On Jul 31, 8:41 am, Pei-Yu CHAO <peiyu_c...@xxxxxxxxxxxx> wrote:
Hi ALL:What is the screen size of your image? If it's scaled down so that
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).
the largest dimension is 1000px, then the smaller dimension will be
reduced to 1px.
Try breaking your image into various "strips".
HTH,
Andr
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
.
- References:
- Plotting Images
- From: Pei-Yu CHAO
- Plotting Images
- Prev by Date: Re: get directory and file names
- Next by Date: Re: how to add a toolbar to a Frame using wxpython
- Previous by thread: Re: Plotting Images
- Next by thread: Re: Plotting Images
- Index(es):
Relevant Pages
|