Plot A Matrix
    3 ビュー (過去 30 日間)
  
       古いコメントを表示
    
Is it possible to plot a matrix? i have a matrix 7x7 with valure around 1 and i want to show (maybe with different colour) how near are to 1 these value as it is a temperature or something like that.
0 件のコメント
採用された回答
  Walter Roberson
      
      
 2011 年 12 月 5 日
        imagesc() would probably be better than surf() for this purpose.
imagesc(magic(7))
その他の回答 (1 件)
  Sean de Wolski
      
      
 2011 年 12 月 5 日
        maybe one of these?
doc mesh
doc surf
doc contour
2 件のコメント
  Sean de Wolski
      
      
 2011 年 12 月 5 日
				>> surf(magic(5))
magic(5) creates a 5x5 magic square, surf plots it as a surface. The more specific you can be with the results you're after, the better we can tune our answers.
参考
カテゴリ
				Help Center および File Exchange で Surface and Mesh Plots についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


