Can the font size of gscatter x-axis and y-axis labels be changed?
    6 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Brad
      
 am 16 Mai 2017
  
    
    
    
    
    Beantwortet: Star Strider
      
      
 am 16 Mai 2017
            I'm creating several group scatter plots where the a-axis and y-axis labels vary from plot to plot. The parameters xnam and ynam specify the names to use for the x-axis and y-axis labels.
Are the font sizes of these parameters hard coded to specific values? Or can they be varied?
Thank you.
0 Kommentare
Akzeptierte Antwort
  Star Strider
      
      
 am 16 Mai 2017
        You can vary them with the 'FontSize' p[roperty.
Example —
x = rand(1,100);
y = rand(1,100);
figure(1)
scatter(x, y)
xlabel('X Value', 'FontSize',20);
ylabel('Y Value', 'FontSize',30)
grid
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Labels and Annotations finden Sie in Help Center und File Exchange
			
	Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!