I've created a heat map of fold changes in proc sgplot. How do I increase the font size of the values on the axes? I'd like to have a larger font size on the y axis than the x axis.
Thank you
The attributes for the labels and tick values are specified on the YAXIS statement. For example:
yaxis labelattrs=(size=14) valueattrs=(size=12);
Which proc are you using? Can you share the code?
I'm using proc sgplot. Here's the code. The y axis has 80 markers and the x axis has 92 subjects. Thanks, Susan
ods graphics on /
width=38.0in
imagefmt=gif
imagemap=on
imagename="orig_heatmap"
noscale
border=off;
title "Heat Map of Fold Changes";
proc sgplot data=cytokine_name rattrmap=fcresp;
heatmap x=id y=cytokine_name/ discretex discretey
colorresponse=fc rattrid=id;
run;
title " ";
The attributes for the labels and tick values are specified on the YAXIS statement. For example:
yaxis labelattrs=(size=14) valueattrs=(size=12);
Thank you for your help!
Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.
Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.