<?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: font for proc sgplot in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/font-for-proc-sgplot/m-p/961250#M26832</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Thank you all so much for your response.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The solution was to change "Times New Roman" to "Times New Roman Uni"&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Mar 2025 16:47:53 GMT</pubDate>
    <dc:creator>Judy518</dc:creator>
    <dc:date>2025-03-07T16:47:53Z</dc:date>
    <item>
      <title>font for proc sgplot</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/font-for-proc-sgplot/m-p/961144#M26829</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was using proc sgplot to make a scatter plot and wanted the fonts for both label and legend be&amp;nbsp;&lt;STRONG&gt;Times New Roman&lt;/STRONG&gt;, but it didn't work for the following code.&amp;nbsp; All the other options of labelattrs such as weight, size, color worked. Any ideas about this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods graphics/reset imagename="AF" imagefmt=png;&lt;BR /&gt;Proc sgplot data=Model noborder ;&lt;BR /&gt;scatter x= AC&amp;nbsp; y= FR/jitter jitterwidth=0.2 markerattrs=(size=5);&lt;BR /&gt;xaxis values=(0 to 7 by 1) label= " Rating by Rater1" labelattrs=(weight=bold&amp;nbsp; &amp;nbsp;size=14&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;family="Times New Roman"&lt;/STRONG&gt;&amp;nbsp; &amp;nbsp; color=red);&lt;BR /&gt;yaxis values=(0 to 7 by 1) label= "Rating by Rater2" labelattrs=(weight=bold size=11&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;STRONG&gt;family="Times_New_Roman"&lt;/STRONG&gt;);&lt;BR /&gt;inset " P value &amp;lt; 0.0001"/position=top&lt;BR /&gt;textattrs=(size=12 weight=bold &lt;STRONG&gt;family="Times New Roman&lt;/STRONG&gt;" color=red) noborder ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 20:31:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/font-for-proc-sgplot/m-p/961144#M26829</guid>
      <dc:creator>Judy518</dc:creator>
      <dc:date>2025-03-06T20:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: font for proc sgplot</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/font-for-proc-sgplot/m-p/961173#M26830</link>
      <description>&lt;P&gt;You do not say &lt;STRONG&gt;where&lt;/STRONG&gt;&amp;nbsp; the font is not displaying correctly. Since your YAXIS statement spells the font differently I would not expect it to.&lt;/P&gt;
&lt;P&gt;On my system using "Times New Roman" does work for the Axis statements using a different data set. I can't test your INSET as I am too lazy to completely fake such and you did not provide example data for the plot.&lt;/P&gt;
&lt;P&gt;My code which uses a SAS supplied data set you should have to test the code. Since my values are different I do not attempt to use your values and used a different label so it is obvious that this is not your data.&lt;/P&gt;
&lt;PRE&gt;Proc sgplot data=sashelp.class noborder ;
scatter x= height  y= weight/jitter jitterwidth=0.2 markerattrs=(size=5);
xaxis  label= "Student Height" labelattrs=(weight=bold size=14   family="Times New Roman"    color=red);
yaxis  label= "Student Weight" labelattrs=(weight=bold size=11   family="Times New Roman");
;
run;&lt;/PRE&gt;
&lt;P&gt;Depending on your system the font names might differ in details of the name used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/474047"&gt;@Judy518&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was using proc sgplot to make a scatter plot and wanted the fonts for both label and legend be&amp;nbsp;&lt;STRONG&gt;Times New Roman&lt;/STRONG&gt;, but it didn't work for the following code.&amp;nbsp; All the other options of labelattrs such as weight, size, color worked. Any ideas about this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods graphics/reset imagename="AF" imagefmt=png;&lt;BR /&gt;Proc sgplot data=Model noborder ;&lt;BR /&gt;scatter x= AC&amp;nbsp; y= FR/jitter jitterwidth=0.2 markerattrs=(size=5);&lt;BR /&gt;xaxis values=(0 to 7 by 1) label= " Rating by Rater1" labelattrs=(weight=bold&amp;nbsp; &amp;nbsp;size=14&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;family="Times New Roman"&lt;/STRONG&gt;&amp;nbsp; &amp;nbsp; color=red);&lt;BR /&gt;yaxis values=(0 to 7 by 1) label= "Rating by Rater2" labelattrs=(weight=bold size=11&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;STRONG&gt;family="Times_New_Roman"&lt;/STRONG&gt;);&lt;BR /&gt;inset " P value &amp;lt; 0.0001"/position=top&lt;BR /&gt;textattrs=(size=12 weight=bold &lt;STRONG&gt;family="Times New Roman&lt;/STRONG&gt;" color=red) noborder ;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 22:40:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/font-for-proc-sgplot/m-p/961173#M26830</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2025-03-06T22:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: font for proc sgplot</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/font-for-proc-sgplot/m-p/961174#M26831</link>
      <description>&lt;P&gt;&lt;SPAN class="lia-link-navigation child-thread lia-link-disabled" aria-disabled="true" aria-label="How to get PROC SGPLOT to convert all fonts to Times New Roman on PDF?"&gt;How to get PROC SGPLOT to convert all fonts to Times New Roman on PDF?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-link-navigation child-thread lia-link-disabled" aria-disabled="true" aria-label="How to get PROC SGPLOT to convert all fonts to Times New Roman on PDF?"&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/How-to-get-PROC-SGPLOT-to-convert-all-fonts-to-Times-New-Roman/td-p/827040" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/How-to-get-PROC-SGPLOT-to-convert-all-fonts-to-Times-New-Roman/td-p/827040&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-link-navigation child-thread lia-link-disabled" aria-disabled="true" aria-label="How to get PROC SGPLOT to convert all fonts to Times New Roman on PDF?"&gt;BR, Koen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 22:40:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/font-for-proc-sgplot/m-p/961174#M26831</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2025-03-06T22:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: font for proc sgplot</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/font-for-proc-sgplot/m-p/961250#M26832</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you all so much for your response.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The solution was to change "Times New Roman" to "Times New Roman Uni"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 16:47:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/font-for-proc-sgplot/m-p/961250#M26832</guid>
      <dc:creator>Judy518</dc:creator>
      <dc:date>2025-03-07T16:47:53Z</dc:date>
    </item>
  </channel>
</rss>

