Community Profile

photo

Kato Yusuke


Last seen: 2 months ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 2

View badges

Feeds

View by

Question


legend内のplotの長さを長くして,さらに文章がboxからはみ出ないようにする.
太い線でplotしてlegendを表示すると,legend内に表示される線が短く,破線などが見分けにくい問題があります. それを解決するため以下のようにコードを変更しましたが, x = 1:0.1:10; y = sin(x); plot(x, y...

4 months ago | 1 answer | 0

1

answer

Question


subplot内のfigureにinsetを入れる方法について
通常のfigureにinsetを入れる場合は,例えば close all; x1 = 0:0.01:pi; x2 = 0:0.01:pi/6; y1 = sin(x1); y2 = sin(x2); plot(x1,y1); axe...

8 months ago | 1 answer | 0

1

answer

Question


ヒートマップの配列の並び替え
heatmap関数を用いて,2変数関数z = x^2 + y^2のヒートマップを2次元平面上に構成したいのですが, [X,Y] = meshgrid(1:1:100); Z =X.^2 +...

2 years ago | 2 answers | 0

2

answers