|
From: John H. <jdh...@ac...> - 2005-02-18 15:15:51
|
>>>>> "Rich" == Rich Drewes <dr...@in...> writes:
Rich> Thanks for your response. I am familiar with implot however
Rich> I've never been able to get it to plot with distinct pixel
Rich> boundaries. What I want is a figimage-like plot with
Rich> distinct, single-color regions, just larger regions, so that
Rich> the entire screen window is filled. No smoothing or
Rich> interpolation, just big chunky pixels.
Hi Rich,
You'll probably want to use
imshow(X, interpolation='nearest')
to prevent smoothing / interpolation.
Rich> "you can define an Axes with size [0,1,0,1]"
Rich> The order of the points is wrong there, and you set me
Rich> straight.
OK, I'll fix that for the next release, thanks.
See also the matshow command new to 0.72 which created an axes with
the same aspect ration as your array.
JDH
|