<?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: ODS graphics / height=8in does not work in IML submit/endsubmit block in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ODS-graphics-height-8in-does-not-work-in-IML-submit-endsubmit/m-p/959026#M6460</link>
    <description>&lt;P&gt;Don't turn off ODS GRAPHICS at the end of the SUBMIT block:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc iml;
table_title = "My Title";

submit table_title ;
ods graphics / border=on height=7in ;
title &amp;amp;TABLE_TITLE ;
proc sgplot data=sashelp.class ;
series x=Weight y=Height / datalabel=Age datalabelpos=top markers ;
xaxis label='Index' ;
yaxis label='Fuzzy Entropy' ;
run ;
endsubmit ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I don't know why ODS GRAPHICS OFF causes the problem. Perhaps the rendering is not complete when the ODS GRAPHICS OFF statement changes the environment, and when the rendering occurs, the options that you set on the ODS GRAPHICS ON statement have been overwritten.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2025 11:14:27 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2025-02-12T11:14:27Z</dc:date>
    <item>
      <title>ODS graphics / height=8in does not work in IML submit/endsubmit block</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ODS-graphics-height-8in-does-not-work-in-IML-submit-endsubmit/m-p/958988#M6459</link>
      <description>&lt;P&gt;I want to create graphics in SAS/IML using sgplot in a submit/endsubmit block. my ODS GRAPHICS statement and additional SGPLOT statements are:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;submit table_title ; &lt;BR /&gt;ods graphics on / border=on height=8in ;&lt;BR /&gt;title &amp;amp;TABLE_TITLE ;&lt;BR /&gt;proc sgplot data=subset_data ;&lt;BR /&gt;series x=Index y="Fuzzy Entropy"n / datalabel="Variable Name"n datalabelpos=top markers ;&lt;BR /&gt;xaxis label='Index' ;&lt;BR /&gt;yaxis label='Fuzzy Entropy' ; &lt;BR /&gt;run ;&lt;BR /&gt;ods graphics off ;&lt;BR /&gt;endsubmit ;&lt;/P&gt;
&lt;P&gt;When I run the code, the SGPLOT statements execute correctly but the graph created is not 8 inches high. What am I doing wrong? Or do I need to add ODS LISTING statements such as:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;ods listing gpath='/home/rsbettinger/FuzzyFeatSel' IMAGE_DPI=300 style=journal;&lt;BR /&gt;ods graphics/ outputfmt=pdf ;&lt;BR /&gt;ods graphics on / height=8in;&lt;/P&gt;
&lt;P&gt;to get the results that I want, e.g., an elongated y-axis that will stretch out the space required to display the labels in the datalabel variable?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 00:27:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ODS-graphics-height-8in-does-not-work-in-IML-submit-endsubmit/m-p/958988#M6459</guid>
      <dc:creator>rbettinger</dc:creator>
      <dc:date>2025-02-12T00:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: ODS graphics / height=8in does not work in IML submit/endsubmit block</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ODS-graphics-height-8in-does-not-work-in-IML-submit-endsubmit/m-p/959026#M6460</link>
      <description>&lt;P&gt;Don't turn off ODS GRAPHICS at the end of the SUBMIT block:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc iml;
table_title = "My Title";

submit table_title ;
ods graphics / border=on height=7in ;
title &amp;amp;TABLE_TITLE ;
proc sgplot data=sashelp.class ;
series x=Weight y=Height / datalabel=Age datalabelpos=top markers ;
xaxis label='Index' ;
yaxis label='Fuzzy Entropy' ;
run ;
endsubmit ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I don't know why ODS GRAPHICS OFF causes the problem. Perhaps the rendering is not complete when the ODS GRAPHICS OFF statement changes the environment, and when the rendering occurs, the options that you set on the ODS GRAPHICS ON statement have been overwritten.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 11:14:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ODS-graphics-height-8in-does-not-work-in-IML-submit-endsubmit/m-p/959026#M6460</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2025-02-12T11:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: ODS graphics / height=8in does not work in IML submit/endsubmit block</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ODS-graphics-height-8in-does-not-work-in-IML-submit-endsubmit/m-p/959035#M6461</link>
      <description>&lt;P&gt;Rick,&lt;/P&gt;
&lt;P&gt;You hit the nail squarely on the head! Your solution works perfectly and now I can continue with my project. I have enclosed a sample of the output that your solution enabled me to create.&lt;/P&gt;
&lt;P&gt;Thank you very much,&lt;/P&gt;
&lt;P&gt;Ross&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FuzzyFeatSel_test.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/104563i207F6F22F5E566F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="FuzzyFeatSel_test.png" alt="FuzzyFeatSel_test.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 13:59:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ODS-graphics-height-8in-does-not-work-in-IML-submit-endsubmit/m-p/959035#M6461</guid>
      <dc:creator>rbettinger</dc:creator>
      <dc:date>2025-02-12T13:59:25Z</dc:date>
    </item>
  </channel>
</rss>

