フィルターのクリア

Why is there a large empty graph in the background of my screen?

3 ビュー (過去 30 日間)
Hannah
Hannah 2013 年 6 月 4 日
Im trying to position a bar graph in my GUI. BUT because bar doesnt have a position property, I'm using axes() to position it correctly. But for some reason, when i do graph it, a large empty graph appears behind it, even though, the perfectly formatted graph is in its rightful place.
Code: AX = axes('Position', [.4 .4 .55 .47] );
H1 = bar(x,Pool14_30_Storage);
set(get(AX,'Ylabel'),'String','Storage (AF)');
And so on... Someone please help, matlab is being ridiculous right now. i even use cla to, it still doesnt work.

採用された回答

Hannah
Hannah 2013 年 6 月 4 日
Ok nevermind, I put a set (gca, 'visible', 'off') before setting AX to its position, that will take care of it!

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by