How to remove black frame around the legend?
조회 수: 3 (최근 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!