Is there a simple way of having one x-axis label and title at the bottom center and top center of subplot, respectively?
    5 ビュー (過去 30 日間)
  
       古いコメントを表示
    
Hello,
Lets say I have a 3x2 subplot and want to have only one x-axis label at the bottom center of the subplot/figure, and a title at the top center of the subplot/figure to represent all six plots. Is there a simple and easy to understand way of doing this?? I am currently using,
 xlabel('Date')
and the label attaches to only the last plot of the Figure. If I try using the same code for a 3x2 subplot, it will only label the bottom right plot of the subplot, not the bottom center of the entire figure. Or will I have to define an axes Ax = axes(), then a position a text() at bottom and top center of figure?
I am using 2015a btw, any help or advice would be appreciated.
1 件のコメント
  dpb
      
      
 2015 年 8 月 4 日
				I've gotta' run, so can't spend the time at the moment but I'm sure there's a FEX submittal for "super" titles; not sure if somebody's done something similar for labels or not.
There is, of course, always text to place where you wish; with an odd number of subplot columns you can simply use the middle column and get centered that way.
Not sure with later versions but I was thinking that the 'Outside' options with legend would automagically scale the axes...I generally use a smaller font size than the default to cause them to not take as much space is another "trick"...
回答 (0 件)
参考
カテゴリ
				Help Center および File Exchange で Axis Labels についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

