Prev: How do I extract a gain at a specific frequency from a bode plot???
Next: Disable displaying with minreal?
From: forkandwait w on 4 Mar 2010 18:17 Hi all, I would like to plot a matrix as a bunch of colors representing the z values, but I want the plot to give a well defined square, rather than the contours that are the reason countourf has its name. Example here: http://hansgilde.files.wordpress.com/2009/10/stock_heat.png Can anyone give me a hint on how to do this matlab, preferably with a standard function? Tx!
From: Andrew Stevens on 4 Mar 2010 18:43 "forkandwait w" <forkandwait(a)gmail.com> wrote in message <hmpf21$mk0$1(a)fred.mathworks.com>... > Hi all, > > I would like to plot a matrix as a bunch of colors representing the z values, but I want the plot to give a well defined square, rather than the contours that are the reason countourf has its name. > > Example here: http://hansgilde.files.wordpress.com/2009/10/stock_heat.png > > Can anyone give me a hint on how to do this matlab, preferably with a standard function? > > Tx! help: surf pcolor imagesc should get you started. -Andrew
From: forkandwait w on 4 Mar 2010 19:16
> pcolor This looks like it will work, once I figure out how to rejigger the axis labels and such. Thanks! W |