Can i make Title and x and y label Bold

Can i make Title and x and y label of a plot Bold and to increasr their font size

 Akzeptierte Antwort

Wayne King
Wayne King am 15 Nov. 2011

11 Stimmen

plot(randn(100,1));
title('Test','fontweight','bold','fontsize',16);
xlabel('Time','fontweight','bold','fontsize',16);

Weitere Antworten (2)

lalit kaushik
lalit kaushik am 16 Mai 2019

2 Stimmen

you can use the following
set(gca,'FontWeight','bold'). It works for me
Dmytro Lituiev
Dmytro Lituiev am 29 Apr. 2015

0 Stimmen

Does not really work under Ubuntu ;(

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by