adjusting label and title thickness of the plot function
14 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
sermet
el 15 de Jul. de 2014
Respondida: Azzi Abdelmalek
el 15 de Jul. de 2014
x=[1;2;3;4;5;6;7;8;9;10];
plot(x);
xlabel('x coordinates')
ylabel('y coordinates')
title('title')
%I need to increase the size of x-y labels and title and make a little more bold.
0 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 15 de Jul. de 2014
x=[1;2;3;4;5;6;7;8;9;10];
plot(x);
xlabel('x coordinates','fontsize',16,'fontweight','bold')
0 comentarios
Más respuestas (1)
Yoav Livneh
el 15 de Jul. de 2014
Just use the 'fontsize' attribute of the axes:
set(gca,'fontsize',fontsize); % default fontsize is 10
0 comentarios
Ver también
Categorías
Más información sobre Title en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!