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

 Réponse acceptée

Wayne King
Wayne King le 15 Nov 2011
plot(randn(100,1));
title('Test','fontweight','bold','fontsize',16);
xlabel('Time','fontweight','bold','fontsize',16);

Plus de réponses (2)

lalit kaushik
lalit kaushik le 16 Mai 2019

2 votes

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

0 votes

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