MATLAB: Is it possible to change label names in Matlab
axisfigurefprintfgraphprint
I want to have different names in my Y axis rather than numbering like the following photo:
Best Answer
Here I'll do abarh(A) whereA is not sorted, and I'll label the different groups based on the longest bar. Then sort according to the size of the first column inA while preserving the group label association. I adjusted the values in yourA a little bit to make it more clear:
Best Answer