【发布时间】:2018-02-03 01:25:35
【问题描述】:
如何创建具有多行的图例或在绘图区域内放置图例。以下是我的代码和输出图
figure;
col = jet(numel(node_id_without_duplicates));
%legend('Node ');
for i=1:numel(node_id_without_duplicates)
specific_node = node_id_without_duplicates(i);
legendInfo{i} = ['Node ', num2str(specific_node)];
MTBF_Specific_Node; //This is the call of an another tool created by me and not included in this example.
end
legend(legendInfo);
【问题讨论】:
-
我会对你说实话。问题不在于传说。问题是你的阴谋。太可怕了!您正在绘制 waaaaaaaay 太多行。这是一个完全没用的情节。它没有传达任何人都可以推断出的真实信息。您需要重新考虑要展示哪些信息以及如何最好地展示它。