error in plotting histogram
1 回表示 (過去 30 日間)
古いコメントを表示
I have to plot histogram
i have months (jan-dec) in x axis and 12 values in y axis
if i plot hist(x,y)
i get error
Error using ==> hist at 45 Input arguments must be numeric.
Error in ==> gra at 22 hist(GD, month)
please help
0 件のコメント
回答 (1 件)
Walter Roberson
2011 年 11 月 9 日
Sorry, my earlier answer was wrong. In order to solve this matter, we need to know exactly what data type GD and month are, and what it is that you want plotted on which axes, and how you want the axes labeled.
You should also consider whether hist() is really appropriate for this task or if you should be using histc() instead.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Histograms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!