matlab 四个子图用一个图例,图例横着放下面
4个回答
展开全部
% 帮助中的说明及示例
% Add a legend to the center of the graph using the Position property.
% To set the Position property when creating a legend,
% you must define the legend strings as a cell array by using curly braces, {}.
legend({'radius = 1','radius = 2'},'Position',[0.39,0.45,0.25,0.1])
% Add a legend to the center of the graph using the Position property.
% To set the Position property when creating a legend,
% you must define the legend strings as a cell array by using curly braces, {}.
legend({'radius = 1','radius = 2'},'Position',[0.39,0.45,0.25,0.1])
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2019-10-25
展开全部
.fig的话用鼠标拖动即可
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
图例就是legend吧,一般都在图中。也可放在图外。语句是:
legend(H,string1,string2,string3, ,'Location', 'SouthOutside')
legend(H,string1,string2,string3, ,'Location', 'SouthOutside')
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询