<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Changing font size in proc sgplot in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Changing-font-size-in-proc-sgplot/m-p/652080#M31321</link>
    <description>&lt;P&gt;Great! You're welcome&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/151986"&gt;@Amanda_Lemon&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 31 May 2020 08:53:36 GMT</pubDate>
    <dc:creator>ed_sas_member</dc:creator>
    <dc:date>2020-05-31T08:53:36Z</dc:date>
    <item>
      <title>Changing font size in proc sgplot</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Changing-font-size-in-proc-sgplot/m-p/652073#M31318</link>
      <description>&lt;P&gt;Hi all -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to make the font size of all words in my plot to be 14... I succeeded for labels of xaxis and yaxis but not for legendlabels in scatter and in lineparm... How can I change their font size?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data = dataset;
scatter x = x1 y = y1 / jitter legendlabel = "Some label";
lineparm x=0 y=0 slope=1 / lineattrs=(color = red) legendlabel = "Diagonal line";
xaxis label = "Variable X" labelattrs=(size = 14);
yaxis label = "Variable Y" labelattrs=(size = 14);
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Sun, 31 May 2020 06:36:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Changing-font-size-in-proc-sgplot/m-p/652073#M31318</guid>
      <dc:creator>Amanda_Lemon</dc:creator>
      <dc:date>2020-05-31T06:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Changing font size in proc sgplot</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Changing-font-size-in-proc-sgplot/m-p/652075#M31319</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/151986"&gt;@Amanda_Lemon&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=dataset;
	scatter x=x1 y=y1 / jitter name="scatter_name" legendlabel="Some label";
	lineparm x=0 y=0 slope=1 / lineattrs=(color=red) name="diagnonal_name" 
		legendlabel="Diagonal line";
	keylegend "scatter_name" "diagnonal_name" / valueattrs=(size=14);
	xaxis label="Variable X" labelattrs=(size=14) valueattrs=(size=14);
	yaxis label="Variable Y" labelattrs=(size=14) valueattrs=(size=14);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;UL&gt;
&lt;LI&gt;To define the size of tick values on each axis, you can add the valueattr= option in both XAXIS and YAXIS statements&lt;/LI&gt;
&lt;LI&gt;To define the size of legend labels, you need first to define a "name" for each plot (scatter, lineparm) and then use a KEYLEGEND statement to define custom attributes&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Sun, 31 May 2020 07:21:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Changing-font-size-in-proc-sgplot/m-p/652075#M31319</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-05-31T07:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Changing font size in proc sgplot</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Changing-font-size-in-proc-sgplot/m-p/652079#M31320</link>
      <description>It works! Thank you so much!!</description>
      <pubDate>Sun, 31 May 2020 08:50:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Changing-font-size-in-proc-sgplot/m-p/652079#M31320</guid>
      <dc:creator>Amanda_Lemon</dc:creator>
      <dc:date>2020-05-31T08:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Changing font size in proc sgplot</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Changing-font-size-in-proc-sgplot/m-p/652080#M31321</link>
      <description>&lt;P&gt;Great! You're welcome&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/151986"&gt;@Amanda_Lemon&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 31 May 2020 08:53:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Changing-font-size-in-proc-sgplot/m-p/652080#M31321</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-05-31T08:53:36Z</dc:date>
    </item>
  </channel>
</rss>

