From: Alex on 25 May 2010 09:21 Hello. I am trying to plot the following : I have an imaginary 100*100 tiles-squares like the 8*8 tiles of the chess board and I would like to draw the square blue when they have the value 67 or red when they have the value 68. I have tried to emulate that by using contourf(ChessBoard,1); which fills the board only with red and blue colours. Unfortunately I am not that happy with this procedure as contourf is not that good to depict in detail what are the changes in tiles. So I am looking for a function that could be able to draw these squares-tiles. Do you think anything appropriate in mind? Best Regards Alex
From: Steven Lord on 25 May 2010 09:45 "Alex " <alaios(a)yahoo.com> wrote in message news:htgis0$fqj$1(a)fred.mathworks.com... > Hello. I am trying to plot the following : > I have an imaginary 100*100 tiles-squares like the 8*8 tiles of the chess > board and I would like to draw the square blue when they have the value 67 > or red when they have the value 68. > I have tried to emulate that by using contourf(ChessBoard,1); which fills > the board only with red and blue colours. Unfortunately I am not that > happy with this procedure as contourf is not that good to depict in detail > what are the changes in tiles. > > So I am looking for a function that could be able to draw these > squares-tiles. Do you think anything appropriate in mind? Look at PCOLOR or display your tiles as an IMAGE. -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ To contact Technical Support use the Contact Us link on http://www.mathworks.com
From: Alex on 26 May 2010 04:51 Thanks for the update. Pcolor worked fine Best Regards Alex.
|
Pages: 1 Prev: problem while reading .nc files Next: .net builder 32bit / 64bit |