How to remove black frame around the legend?
1 次查看(过去 30 天)
显示 更早的评论
How to remove the blach frame or make as white around the legend?
figure('Name','Legend')
plot(1,1)
plot(FP_plate_thickness(:,1),FP_plate_thickness(:,2),FP_plate_thickness(:,1),FP_plate_thickness(:,3),FP_plate_thickness(:,1),FP_plate_thickness(:,4),...
FP_plate_thickness(:,1),FP_plate_thickness(:,5),FP_plate_thickness(:,1),FP_plate_thickness(:,6),FP_plate_thickness(:,1),FP_plate_thickness(:,7),...
FP_plate_thickness(:,1),FP_plate_thickness(:,8), FP_plate_thickness(:,1),FP_plate_thickness(:,9),FP_plate_thickness(:,1),FP_plate_thickness(:,10),...
FP_plate_thickness(:,1),FP_plate_thickness(:,11),FP_plate_thickness(:,1),FP_plate_thickness(:,12),FP_plate_thickness(:,1),FP_plate_thickness(:,13),...
FP_plate_thickness(:,1),FP_plate_thickness(:,14), FP_plate_thickness(:,1),FP_plate_thickness(:,15),FP_plate_thickness(:,1),FP_plate_thickness(:,16),...
FP_plate_thickness(:,1),FP_plate_thickness(:,17),'LineWidth',3),
legend('Postać 1 - 62 Hz','Postać 2 - 134 Hz','Postać 3 - 174 Hz','Postać 4 - 228 Hz','Postać 5 - 252 Hz','Postać 6 - 291 Hz','Postać 7 - 321 Hz','Postać 8 - 458 Hz',...
'Postać 9 - 477 Hz','Postać 10 - 598 Hz','Postać 11 - 620 Hz','Postać 12 - 624 Hz','Postać 13 - 692 Hz','Postać 14 - 779 Hz','Postać 15 - 785 Hz','Postać 16 - 906 Hz','fontname','Aptos','FontSize',8,'Location','north'),
grid off, axis off
set(gca,'colororder',parula(16)) % to avoid color repetition in plotting lines
title('Legenda','FontSize',11,'fontname','Times New Roman')
axis([10,11,10,11])
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!