Effacer les filtres
Effacer les filtres

setting axis font size on scatter plot

30 vues (au cours des 30 derniers jours)
tombola
tombola le 22 Mai 2012
Hi, I'm making a scatter plot as follows:
MATLAB CODE
sc = scatter(x1ValuesToPlot, x2ValuesToPlot, 4, 'filled');
%Final plot UI.
title(graphTitle, 'FontSize', 7);
set(gcf,'Color',[1 1 1]);
As you can see I'm setting the title font size. How would I set the axis font size please? All the best, Tom.

Réponse acceptée

Daniel Shub
Daniel Shub le 22 Mai 2012
set(gca, 'FontSize', 7)
  1 commentaire
tombola
tombola le 22 Mai 2012
Works great, thanks alot. I'm sure I'd tried that but it works perfectly.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Scatter Plots dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by