how to change the front size and the inclination in a bar graph
    1 次查看(过去 30 天)
  
       显示 更早的评论
    

Hello 
My problem ist that the names under each bar are written with a 45 degree rotation( it comes by itself)
how can I get the name back to a normal horizontal position
2- how can I get the name to be written normally(  those low characters should be on the same level as others)
thanks 
0 个评论
回答(2 个)
  Chunru
      
      
 2021-10-12
        h = gca;
h.XTickLabelRotation = 0;  % not recommended for long string
h.TickLabelInterpreter = 'none';
0 个评论
  Star Strider
      
      
 2021-10-12
        ‘2- how can I get the name to be written normally(  those low characters should be on the same level as others)’   
‘Escape’ them with at \ — 
text(0.4, 0.55,'DC14_v546003_8       Original')
text(0.4, 0.45,'DC14\_v546003\_8    Desired')
If they are created using sprintf, use a double backslant '\\' in the format string, so that the single backslant will print correctly in the output.  
.
0 个评论
另请参阅
类别
				在 Help Center 和 File Exchange 中查找有关 Graph and Network Algorithms 的更多信息
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



