0
如何在绘图区域内创建具有多行的图例或适合图例。以下是我的代码和输出情节在Matlab中有多行的图例
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);
我将对你完全诚实。问题不在于传说。问题是你的情节。这很可怕!你正在绘制* waaaaaaay *太多的线。这是一个完全无用的阴谋。它没有传达任何人可以推断的真实信息。您需要重新考虑您要展示的信息以及如何最好地展示它。 – gnovice