Re: Plotting Images
- From: Stef Mientki <S.Mientki-nospam@xxxxxxxxxxxxxx>
- Date: Tue, 31 Jul 2007 16:11:39 +0200
Pei-Yu CHAO wrote:
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.
ImportError: cannot import name pltfrom scipy import 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
you might try wxPyPlot,
this seems to be a very light weight and yet powerfull graph unit.
cheers,
Stef Mientki
.
- References:
- Plotting Images
- From: Pei-Yu CHAO
- Plotting Images
- Prev by Date: Re: Directory
- Next by Date: get directory and file names
- Previous by thread: Re: Plotting Images
- Next by thread: Re: Plotting Images
- Index(es):
Relevant Pages
|