Make no space between axes of a figure with boundaries of that figure windows

3 ビュー (過去 30 日間)
mohammad
mohammad 2012 年 8 月 1 日
When plotting, I use
h1=figure; set(h1,'Position',[1 1 1680 1050])
but this command only make the figure windows, full screen. It is necessary, the own figure itself also be in maximum size and in full size. And be no space between axes with boundaries of figure windows. How this space can be zero?

採用された回答

Conrad
Conrad 2012 年 8 月 2 日
You could do the following:
h1=figure;
plot(rand(10));
set(gca,'Position',[0 0 1 1]);
  1 件のコメント
mohammad
mohammad 2012 年 8 月 2 日
thanks dear. Another command that does this, is:
set(gca,'LooseInset',get(gca,'TightInset'))

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by