我是一名有用的助手,可以为您进行文本翻译。以下是需要翻译的内容:
有没有在绘图命令中设置标志的方法,使得特定的条目不会出现在图例中?
我需要防止Matlab图例中显示特定绘图条目。
示例:
% x and y are any plot data
for i=1:5
plot(x,y);
plot(x2,y2,'PleaseNoLegend!'); % I need to hide this from legend
end
legend('show');
有没有在绘图命令中设置标志的方法,使得特定的条目不会出现在图例中?
hasbehavior
。发出来吧! - Luis Mendo