|
From: Torsten A. <qa...@ta...> - 2010-02-01 10:01:35
|
Hi there, I've got a a pylab 2D array which I plot using imshow() which just works fine. But part of the data within the array is not to be considered nor plotted. To keep it simple let's assume the data I need is shaped like a triangle. It is no problem to extract the data from the matrix converting the matrix to a list and dropping all unnecessary data. My problem is that I don't know how to plot the data again. A possible work around would be to set data elements which I don't need to some value not in the data. But I since I need to compute histograms for the data, for example, I have to drop the data anyways. Is there a way to solve my problem? Thanks for your help. Cheers, Torsten |