plot(randn(100,1)); set(gca,'Color',[0.2 0.2 0.2]); set(gca, 'xcolor', 'w','ycolor','w'); set(gcf,'Color',[0 0 0]); set(gcf,'menubar','none') title('\fontsize{16}\color{white}This is a cool plot') xlabel('\fontsize{16}\color{white}xlabel') ylabel('\fontsize{16}\color{white}ylabel')
これもかっこいい
plot(randn(100,1),'c-'); grid on; set(gca,'Color',[0.2 0.2 0.2]); set(gca, 'xcolor', 'r','ycolor','r'); set(gcf,'Color',[0 0 0]); set(gcf,'menubar','none') title('\fontsize{16}\color{red}This is a cool plot') xlabel('\fontsize{16}\color{red}xlabel') ylabel('\fontsize{16}\color{red}ylabel') set(gca,'GridAlphaMode','manual') set(gca,'GridAlpha',0.5)