<?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: proc sgplot, Title and Xaxis table output in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-Title-and-Xaxis-table-output/m-p/438234#M15107</link>
    <description>PS. I realized your question was not in the graphing forum, so I've moved it to the Graph/ODS Graphics forum. Hopefully someone else can answer your question.</description>
    <pubDate>Sun, 18 Feb 2018 03:33:46 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-02-18T03:33:46Z</dc:date>
    <item>
      <title>proc sgplot, Title and Xaxis table output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-Title-and-Xaxis-table-output/m-p/438120#M15099</link>
      <description>&lt;P&gt;Using SAS University Edition:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;Trying to specify font, etc in Title , but getting the error message below &amp;nbsp;saying that Arial, etc is not available.&lt;/P&gt;&lt;P&gt;Error message in green below. I coloured the code in red.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Xaxis table: It looks fine in the output, or when I save it to HTML, although when I save to PDF, the bottom line is bold, and all the italics are in Normal style. Two screenshots are enclosed to show the difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should I be doing something else in proc template or do I need to use a macro to add fonts?&lt;/P&gt;&lt;P&gt;proc template;&lt;BR /&gt;define style mystyle;&lt;BR /&gt;parent=styles.sasweb;&lt;BR /&gt;class graphwalls /&lt;BR /&gt;frameborder=off;&lt;BR /&gt;class graphbackground /&lt;BR /&gt;color=white;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods listing close;&lt;BR /&gt;ods html style=mystyle path='.' file='newgraph.html';&lt;BR /&gt;ods graphics / reset=all border=off width=640 height=480;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data =Heerdt.VPPlotsforSAS1 (where=(level=2)) nowall noborder ;&lt;BR /&gt;Title "OR (95% upper CI) for composite estimate of Severe Vasoplegia over 24h (shaded), and at specified times up to 24 hours,&lt;BR /&gt;by preoperative blood pressures" &lt;FONT color="#FF0000"&gt;Font=Arial color=black&lt;/FONT&gt;;&lt;BR /&gt;styleattrs datacontrastcolors=(CX18577A CX30CC6E CX666666 CXFFA700 ) ;&lt;BR /&gt;scatter x=Vp y=OR / yerrorupper=UCL&lt;BR /&gt;yerrorlower=LCL&lt;BR /&gt;group=Blood_Pressure1 groupdisplay=cluster clusterwidth=0.6 noerrorcaps markerattrs=(symbol=circlefilled size =5 ) ;&lt;BR /&gt;xaxis type =discrete;&lt;BR /&gt;xaxis display =(noticks nolabel noline) VALUEATTRS=(Color=Black Family=Arial Size=8 Style=Normal Weight=Normal);&lt;BR /&gt;yaxis display =(noticks nolabel noline) VALUEATTRS=(Color=Black Family=Arial Size=8 Style=Normal Weight=Normal);&lt;BR /&gt;refline 1.0 / axis=y discretethickness=1 lineattrs=(color=cxd0e0f0);&lt;BR /&gt;refline "24h" / axis =x discretethickness=1 transparency=0.8 lineattrs=(color=cxd0e0f0);&lt;BR /&gt;xaxistable total_char c2_char missing_char / location=outside VALUEATTRS=&lt;FONT color="#FF0000"&gt;(Color=Black Family=Arial Size=8 Style=Italic Weight=Normal);&lt;/FONT&gt;&lt;BR /&gt;keylegend /valueattrs=(size=10) title ="Blood Pressure" location =inside position=bottomright noborder down=1 title ="";&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasWarning"&gt;&lt;FONT color="#339966"&gt;WARNING: The font &amp;lt;sans-serif&amp;gt; is not available. Albany AMT will be used.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;&lt;FONT color="#339966"&gt;WARNING: Unable to use the Albany AMT font. The font might not be registered or more memory is needed.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;&lt;FONT color="#339966"&gt;WARNING: Unable to use the Albany AMT font. The font might not be registered or more memory is needed.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sat, 17 Feb 2018 01:54:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-Title-and-Xaxis-table-output/m-p/438120#M15099</guid>
      <dc:creator>ChristosK</dc:creator>
      <dc:date>2018-02-17T01:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot, Title and Xaxis table output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-Title-and-Xaxis-table-output/m-p/438126#M15100</link>
      <description>&lt;P&gt;I think if you check the SAS UE limitations this is one of them.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Only these fonts are supported: Albany AMT Regular, Albany AMT Bold, Arial Unicode MS, and Cumberland AMT Regular.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/software/products/university-edition/faq/limitations.htm" target="_blank"&gt;https://support.sas.com/software/products/university-edition/faq/limitations.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since SAS UE is in a locked down state, I don't think you're able to add fonts as you would in a fully licensed SAS installation.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Feb 2018 03:11:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-Title-and-Xaxis-table-output/m-p/438126#M15100</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-17T03:11:45Z</dc:date>
    </item>
    <item>
      <title>proc sgplot, reversing order of discrete Y axis.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-Title-and-Xaxis-table-output/m-p/438218#M15101</link>
      <description>&lt;P&gt;Along similar lines:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a new figure / table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Y axis is discrete.&lt;/P&gt;&lt;P&gt;I want the order to be the reverse of what we have now.&lt;/P&gt;&lt;P&gt;Looked at&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="http://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=n0n6uml63c6h8dn16phbd1arm9g9.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p1w9lby6swr7qkn1c3nw5657ctw5" target="_blank"&gt;http://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=n0n6uml63c6h8dn16phbd1arm9g9.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p1w9lby6swr7qkn1c3nw5657ctw5&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is all I can see that is relevant:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DISCRETEORDER=DATA | FORMATTED | UNFORMATTED&lt;/P&gt;&lt;DIV class="xis-argumentDescription"&gt;&lt;P&gt;&lt;SPAN class="xis-shortDescription"&gt;specifies the order in which discrete tick values are placed on the axis. This option affects any plot with a discrete axis.&lt;/SPAN&gt; &lt;SPAN class="xis-paraSimpleFirst"&gt;Specify one of the following values:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="xis-argDescriptionPair"&gt;DATA&lt;DIV class="xis-argumentDescription"&gt;&lt;P class="xis-paraSimpleFirst"&gt;places the values in the order in which they appear in the data.&lt;/P&gt;&lt;DIV class="xis-note"&gt;&lt;SPAN class="xis-noteGenText"&gt;Note: &lt;/SPAN&gt;This value is not supported with CAS data.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="xis-argDescriptionPair"&gt;FORMATTED&lt;DIV class="xis-argumentDescription"&gt;&lt;P class="xis-paraSimpleFirst"&gt;sorts the formatted values in ascending character order.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="xis-argDescriptionPair"&gt;UNFORMATTED&lt;DIV class="xis-argumentDescription"&gt;&lt;P class="xis-paraSimpleFirst"&gt;sorts the unformatted values in ascending character order.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Default&lt;/TD&gt;&lt;TD&gt;UNFORMATTED&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anything I can do to reverse this order?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data =VP_Table2b2 (where=(Severity ="Severe"))nowall noborder ;&lt;BR /&gt;Title "OR (95% CI for covariates across Vasoplegia Severity" Font=Arial color=black;&lt;BR /&gt;scatter x=OR y=Name / xerrorupper=UCL xerrorlower=LCL&lt;BR /&gt;noerrorcaps markerattrs=(symbol=circlefilled size =5 ) ;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT color="#000000"&gt;yaxis type =discrete&lt;/FONT&gt; reverse;&lt;/FONT&gt;&lt;BR /&gt;xaxis display =(noticks nolabel noline) VALUEATTRS=(Color=Black Family=Arial Size=8 Style=Normal Weight=Normal)type =log logbase =e;&lt;BR /&gt;yaxis display =(noticks nolabel noline) VALUEATTRS=(Color=Black Family=Arial Size=8 Style=Normal Weight=Normal);&lt;BR /&gt;refline 1.0 / axis=x discretethickness=1 lineattrs=(color=cxd0e0f0);&lt;/P&gt;&lt;P&gt;yaxistable pdp2_char ORr LCLr UCLr / location=outside VALUEATTRS=(Color=Black Family=Arial Size=8 Style=Italic Weight=Normal); run;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Feb 2018 00:16:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-Title-and-Xaxis-table-output/m-p/438218#M15101</guid>
      <dc:creator>ChristosK</dc:creator>
      <dc:date>2018-02-18T00:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot, Title and Xaxis table output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-Title-and-Xaxis-table-output/m-p/438219#M15102</link>
      <description>&lt;P&gt;Thats fine, but is there anything I can do about the&amp;nbsp;table font changing when I save it as a PDF?&lt;/P&gt;</description>
      <pubDate>Sun, 18 Feb 2018 00:17:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-Title-and-Xaxis-table-output/m-p/438219#M15102</guid>
      <dc:creator>ChristosK</dc:creator>
      <dc:date>2018-02-18T00:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot, Title and Xaxis table output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-Title-and-Xaxis-table-output/m-p/438222#M15103</link>
      <description>&lt;P&gt;Looks like we have the same issue with the bold font in the last column of the table I just uploaded.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Only seems to happen when I save to PDF, even though it looks OK in the output.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Feb 2018 00:31:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-Title-and-Xaxis-table-output/m-p/438222#M15103</guid>
      <dc:creator>ChristosK</dc:creator>
      <dc:date>2018-02-18T00:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot, Title and Xaxis table output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-Title-and-Xaxis-table-output/m-p/438229#M15104</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;when I save to PDF&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;How are you 'saving' to PDF, I assume you're using ODS PDF? Does Adobe issue any note/message/errors about changing the fonts, that sometimes happen if the fonts used aren't available to your PDF application.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Feb 2018 02:47:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-Title-and-Xaxis-table-output/m-p/438229#M15104</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-18T02:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot, Title and Xaxis table output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-Title-and-Xaxis-table-output/m-p/438231#M15105</link>
      <description>&lt;P&gt;Usually I press on the pdf "download results as a pdf file" button in the results window, between the RTF and word buttons.&lt;/P&gt;&lt;P&gt;It may be because this is a locked down version, although I thought it unlikely at first since the font in results is as I specified &amp;nbsp;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However....I did try this just before the proc sgpolot data line after creating a file on my desktop to save pdf files in.&lt;/P&gt;&lt;P&gt;ods pdf file ="/Users/Desktop/My SAS PDF Files";&lt;BR /&gt;&lt;FONT color="#339966"&gt;NOTE: ODS statements in the SAS Studio environment may disable some output features.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;73 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;74 ods pdf file ="/Users/Desktop/My SAS PDF Files";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;ERROR: Unable to open filename /Users/christoskoutentis/Desktop/My SAS PDF Files. ODS PDF initialization fails.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;ERROR: The path /Users/christoskoutentis/Desktop/My SAS PDF Files is not in the list of accessible paths when SAS is in the &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;lockdown state.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;At least we now know more about&amp;nbsp;whet&amp;nbsp;cant be done in sas studio.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Any idea&amp;nbsp;about getting axis tables in proc sgpanel? I found a colaxis&amp;nbsp;tableoption, but&amp;nbsp;its not what the same as we have in procsgplot.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Also, still cant reverse the border or the&amp;nbsp;variables on the Y axis (it is discrete), and&amp;nbsp;I would like to align them on the left. of&amp;nbsp;possible.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Lastly, can&amp;nbsp;I change the alignment of the numbers in the&amp;nbsp;axis tables? Ideally I&amp;nbsp;would like&amp;nbsp;to have the confidence&amp;nbsp;intervals in brackets separated&amp;nbsp;by a comma&amp;nbsp;rather than a column for&amp;nbsp;each values. I guess&amp;nbsp;I can put those numbers with&amp;nbsp;brackets etc and use that as a character&amp;nbsp;variable.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Feb 2018 03:08:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-Title-and-Xaxis-table-output/m-p/438231#M15105</guid>
      <dc:creator>ChristosK</dc:creator>
      <dc:date>2018-02-18T03:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot, Title and Xaxis table output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-Title-and-Xaxis-table-output/m-p/438233#M15106</link>
      <description>&lt;P&gt;I don't know the answers to your other questions, but for ODS PDF, you have your path incorrect. When working in SAS UE you need to use the shared folder you set up at installation and the path using the myfolders.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;'/folders/myfolders/mydemo.pdf'&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The file will be wherever you set up the shared folder.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Feb 2018 03:31:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-Title-and-Xaxis-table-output/m-p/438233#M15106</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-18T03:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot, Title and Xaxis table output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-Title-and-Xaxis-table-output/m-p/438234#M15107</link>
      <description>PS. I realized your question was not in the graphing forum, so I've moved it to the Graph/ODS Graphics forum. Hopefully someone else can answer your question.</description>
      <pubDate>Sun, 18 Feb 2018 03:33:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-Title-and-Xaxis-table-output/m-p/438234#M15107</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-18T03:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot, Title and Xaxis table output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-Title-and-Xaxis-table-output/m-p/438659#M15123</link>
      <description>&lt;P&gt;Yes, you can use ROWAXISTABLE and COLAXISTABLE in SGPANEL.&amp;nbsp; If you want special formatting of the values in the table, you will have to construct the test string yourself in a column, and use that to display the values in the axis tables.&amp;nbsp; See the 2nd column in this example of &lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2016/05/30/ctspedia-clinical-graphs-subgrouped-forest-plot/" target="_blank"&gt;Forest Plot&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 15:02:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-Title-and-Xaxis-table-output/m-p/438659#M15123</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2018-02-20T15:02:31Z</dc:date>
    </item>
  </channel>
</rss>

