SCATTERHIST を SUBPLOT として描く方法はありますか?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
以下のようなコードで SCATTERHIST に SUBPLOT を適用したいと考えています。
subplot(2,1,1);
x = randn(1000,1);
y = exp(.5*randn(1000,1));
scatterhist(x,y)
subplot(2,1,2)
line
しかし、SCATTERHIST は SUBPLOT のサイズでは表示されず、次の SUBPLOT が描かれると消えてしまいます。
Risposta accettata
MathWorks Support Team
il 1 Lug 2013
SCATTERHIST で SUBPLOT を使用する機能は提供されていません。
回避策として、UIPANEL の POSITION オプションを使用して SCATTERPLOT の軸を指定した場所に置いてください。
load carsmall
a = scatterhist(Weight, MPG);
% subplot(2,2,4) の箇所、2x2分割での右下にグラフを表示
u = uipanel('position',[.5 0 .5 .5])
set(a,'parent',u)
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su 離散データ プロット in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!