Trouble to construct graph
2 ビュー (過去 30 日間)
古いコメントを表示
Morning everybody.
I've just become very familiar with Matlab, but I'm having trouble building a graph (histogram):
on the X axis I would like to have the name of countries and the Y axis the food products consumption by sector.
I don't know the code to use
thanking you in advance.
Best regards.
attached my file
1 件のコメント
dpb
2019 年 7 月 22 日
The label properties are XTickLabel and YTickLabel
If you would use categorical variables for the X, the labels would show up automagically--see the example at
doc histogram
回答 (1 件)
Mario Chiappelli
2019 年 7 月 22 日
Check out this documentation:
Most of the time if you google "Matlab your issue", official documentation from mathworks will show up and give you everything you need to know.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Data Distribution Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!