how to add legend and increase size of graph?

3 ビュー (過去 30 日間)
Ali Asghar
Ali Asghar 2020 年 6 月 2 日
コメント済み: Ali Asghar 2020 年 6 月 3 日
Dear
I need to do two work.
1- insert legend
each dot represent data type.
need legend for each color codes. when i insert legend it show only data 1 which is mention in WL 0 and 90 degree.
2- how i increase size of each graph as most of the space in picture are wasted?
Thnak you
50

回答 (1 件)

Anish Walia
Anish Walia 2020 年 6 月 2 日
編集済み: Anish Walia 2020 年 6 月 2 日
Hi,
1) Refer to the following documentation for information on how to add it.
2) Use the Position in Figure Properties and set the desired width and height for the plots. You can refer to the following documentaion for more information.
  1 件のコメント
Ali Asghar
Ali Asghar 2020 年 6 月 3 日
for MAV 0 degree i use below code
subplot(4,4,1);
% Plot something...
x = featuremeannormalizerow(1,2:6);
y = featuremeannormalizerow(1,8:12);
c = linspace(1,10,length(x)); % giving colors
scatter (x,y,15,c,'fill'),title('MAV 0 Degree') % fill use to fill color in circle
% Find xLimits for this graph.
xl1 = xlim;
y11 = ylim;
i follow the link which you given.... but required result not achieved.
kindly edit the scatter command in above code...

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

カテゴリ

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

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by