<?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>Thema "Re: Auflösung (DPI) von ODS Graph ändern" in CoDe SAS German</title>
    <link>https://communities.sas.com/t5/CoDe-SAS-German/Aufl%C3%B6sung-DPI-von-ODS-Graph-%C3%A4ndern/m-p/236467#M1830</link>
    <description>&lt;P&gt;Dieser Blog Eintrag kann hier helfen&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sgf/2015/11/20/how-to-increase-the-resolution-of-your-sas-graphics-output/" target="_blank"&gt;http://blogs.sas.com/content/sgf/2015/11/20/how-to-increase-the-resolution-of-your-sas-graphics-output/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Er beschreibt auch das der DPI keinen&amp;nbsp; Einfluss auf GIF Files hat.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kann für die Publikation auch SVG verwenbdet werden?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hier ein Beispiel Code zum testen, wenn es darum geht die Image files zu erstellen:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
ods _all_ close;

ods graphics / reset;

ods listing
  gpath="c:\temp"
  image_dpi=600
;

ods graphics /
  outputfmt=png
  imagename="firstGraph"
  width=10cm
  height=8cm
;
title "%sysfunc(time(), time12.3)";
proc sgplot data=sashelp.class;
  vbar age ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2015 17:47:40 GMT</pubDate>
    <dc:creator>BrunoMueller</dc:creator>
    <dc:date>2015-11-25T17:47:40Z</dc:date>
    <item>
      <title>Auflösung (DPI) von ODS Graph ändern</title>
      <link>https://communities.sas.com/t5/CoDe-SAS-German/Aufl%C3%B6sung-DPI-von-ODS-Graph-%C3%A4ndern/m-p/236448#M1829</link>
      <description>&lt;P&gt;Liebe CoDe-Gemeinde,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dies ist meine erste Anfrage in der neuen CoDe Umgebung, nach dem ich lange Jahre redscope verwendet habe.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ich habe die Aufgabe ODS Grafiken (in SAS 9.4) in einer bestimmten Auflösung abzuspeichern, aber das funktioniert leider nicht. Die Vorgaben sind *.tiff, oder *.gif als Format und eine Auflösung von mindestens 600dpi.&lt;/P&gt;
&lt;P&gt;Mein&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ods listing  gpath="&amp;amp;path.\TLF"  device=tiff; 
ods graphics on / reset=index imagename="name";
proc sgpanel data=test_all dattrmap=myAttrMap pctlevel=group;
  panelby parameter / columns=3 layout=COLUMNLATTICE  
    onepanel uniscale=row novarname;
  vbar class / group=system stat=percent attrid=myid; 
  rowaxis label="Percentage [%]"; 
run; &lt;/PRE&gt;
&lt;P&gt;Im Netz findet man die Option Image_dpi, womit es bei kleineren Auflösungen auch wunderbar funktioniert. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ods listing  gpath="&amp;amp;path.\TLF" image_dpi=300 device=png; 
ods graphics on / reset=index imagename="AO_Classifikation";
proc sgpanel data=test_all dattrmap=myAttrMap pctlevel=group;
  panelby parameter / columns=3 layout=COLUMNLATTICE  
    onepanel uniscale=row novarname;
  vbar class / group=system stat=percent attrid=myid; 
  rowaxis label="Percentage [%]"; 
  colaxis label=" "; 
run; &lt;/PRE&gt;
&lt;P&gt;Aber wenn man diesen Wert auf z.B. &lt;STRONG&gt;600&lt;/STRONG&gt; oder &lt;STRONG&gt;800&lt;/STRONG&gt; hochsetzt, erhalte ich folgende Fehlermeldung&lt;/P&gt;
&lt;PRE&gt;WARNING: A very large output size of (4000, 3000) is in effect. This could make Java VM run out of memory and
         result in some Java exceptions. You should reduce the output size or DPI settings.
ERROR: Java virtual machine exception. java.lang.OutOfMemoryError: Java heap space.
NOTE: The SAS System stopped processing this step because of errors.
&lt;/PRE&gt;
&lt;P&gt;Dazu gibt es auch von SAS zu 9.2 eine SAS Note: &lt;A href="http://support.sas.com/kb/31/184.html" target="_self"&gt;Link&lt;/A&gt; Aber ohne die IT habe ich keine Chance an die entsprechende CFG Datei heranzukommen.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Weiterhin ist das Problem, dass *.tiff oder *.gif Grafiken gar nicht erst in einer anderen Auflösung als 96 DPI gespeichert werden.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hat jemand hierzu schon Erfahrungen damit gemacht oder sogar eine Lösung? Denn vor allem für wissenschaftliche Publikationen hat man häufig diese Anforderung.&lt;/P&gt;
&lt;P&gt;Bei den alten Grafiken (keine ODS Grafiken) konnte man dies mit xpixels=, ypixels=,... leicht erreichen.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Viele Grüsse,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Chris86&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2015 16:41:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/CoDe-SAS-German/Aufl%C3%B6sung-DPI-von-ODS-Graph-%C3%A4ndern/m-p/236448#M1829</guid>
      <dc:creator>Chris86_2</dc:creator>
      <dc:date>2015-11-25T16:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Auflösung (DPI) von ODS Graph ändern</title>
      <link>https://communities.sas.com/t5/CoDe-SAS-German/Aufl%C3%B6sung-DPI-von-ODS-Graph-%C3%A4ndern/m-p/236467#M1830</link>
      <description>&lt;P&gt;Dieser Blog Eintrag kann hier helfen&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sgf/2015/11/20/how-to-increase-the-resolution-of-your-sas-graphics-output/" target="_blank"&gt;http://blogs.sas.com/content/sgf/2015/11/20/how-to-increase-the-resolution-of-your-sas-graphics-output/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Er beschreibt auch das der DPI keinen&amp;nbsp; Einfluss auf GIF Files hat.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kann für die Publikation auch SVG verwenbdet werden?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hier ein Beispiel Code zum testen, wenn es darum geht die Image files zu erstellen:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
ods _all_ close;

ods graphics / reset;

ods listing
  gpath="c:\temp"
  image_dpi=600
;

ods graphics /
  outputfmt=png
  imagename="firstGraph"
  width=10cm
  height=8cm
;
title "%sysfunc(time(), time12.3)";
proc sgplot data=sashelp.class;
  vbar age ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2015 17:47:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/CoDe-SAS-German/Aufl%C3%B6sung-DPI-von-ODS-Graph-%C3%A4ndern/m-p/236467#M1830</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2015-11-25T17:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Auflösung (DPI) von ODS Graph ändern</title>
      <link>https://communities.sas.com/t5/CoDe-SAS-German/Aufl%C3%B6sung-DPI-von-ODS-Graph-%C3%A4ndern/m-p/236597#M1836</link>
      <description>&lt;P&gt;Hallo Bruno,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;vielen Dank mit dem nützlichen Link auf den SAS Blog. Der hat mir sehr weitergeholfen.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Die Akzeptanz von SVG-Grafiken bei Journals ist leider noch nicht wirklich hoch, wird sich aber in den nächsten Jahren sicherlich noch verbessern. Dann wird man hoffentlich dieses Problem nicht mehr haben &lt;span class="lia-unicode-emoji" title=":zwinkerndes_Gesicht:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Danke für die Hilfe!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Gruss Chris86&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2015 15:21:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/CoDe-SAS-German/Aufl%C3%B6sung-DPI-von-ODS-Graph-%C3%A4ndern/m-p/236597#M1836</guid>
      <dc:creator>Chris86_2</dc:creator>
      <dc:date>2015-11-26T15:21:36Z</dc:date>
    </item>
  </channel>
</rss>

