Re: Plotting Images



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)


Read the docstrings, they explain how to use the function:

imshow(x,aspect=300)

gives a reasonable size to look at such a thin matrix, after you widen the
window a fair bit.

Cheers,

f

.



Relevant Pages

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