<?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: Increasing resolution of graph produced by SAS in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Increasing-resolution-of-graph-produced-by-SAS/m-p/597491#M18977</link>
    <description>&lt;P&gt;The IMAGE_DPI option is not used by SAS/Graph output, like GPLOT would give you. ODS Graphics output uses that option. I would use SGPLOT, as&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;suggested.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Oct 2019 20:33:33 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2019-10-17T20:33:33Z</dc:date>
    <item>
      <title>Increasing resolution of graph produced by SAS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Increasing-resolution-of-graph-produced-by-SAS/m-p/597457#M18975</link>
      <description>&lt;P&gt;&amp;nbsp;I am trying to increase the resolution of the line graph produced to 600dpi. I am not sure where i am making mistakes in my code- The resolution is still 96 dpi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods rtf file='C:\Users\khetap03\Desktop\Lillirecent\boxplotcreatinine.rtf'image_dpi=&lt;STRONG&gt;600&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;ods listing style=listing;&lt;/P&gt;&lt;P&gt;ods graphics on / width=&lt;STRONG&gt;4.5&lt;/STRONG&gt;in&amp;nbsp; height=&lt;STRONG&gt;3.5&lt;/STRONG&gt;in;&lt;/P&gt;&lt;P&gt;goptions reset=all;&lt;/P&gt;&lt;P&gt;symbol1 c=blue v=star h=&lt;STRONG&gt;.8&lt;/STRONG&gt; i=j;&lt;/P&gt;&lt;P&gt;symbol2 c=red v=dot h=&lt;STRONG&gt;.8&lt;/STRONG&gt; i=j;&lt;/P&gt;&lt;P&gt;symbol3 c=green v=square h=&lt;STRONG&gt;.8&lt;/STRONG&gt; i=j;&lt;/P&gt;&lt;P&gt;axis1 order=(&lt;STRONG&gt;50&lt;/STRONG&gt; to &lt;STRONG&gt;100&lt;/STRONG&gt; by &lt;STRONG&gt;5&lt;/STRONG&gt;) label=( 'Means');&lt;/P&gt;&lt;P&gt;axis2 value=(&lt;STRONG&gt;10&lt;/STRONG&gt; to &lt;STRONG&gt;100&lt;/STRONG&gt; by &lt;STRONG&gt;10&lt;/STRONG&gt;) label=('Time');&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;gplot&lt;/STRONG&gt; data=means1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; plot estimate*time=obesity / vaxis=axis1 haxis=axis2;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;ods rtf close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 18:01:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Increasing-resolution-of-graph-produced-by-SAS/m-p/597457#M18975</guid>
      <dc:creator>Kyra</dc:creator>
      <dc:date>2019-10-17T18:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing resolution of graph produced by SAS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Increasing-resolution-of-graph-produced-by-SAS/m-p/597476#M18976</link>
      <description>&lt;P&gt;First thing would we to change to Proc SGPLOT instead of GPLOT. Gplot is designed to create device, i.e. printer, based graphics and so does not work well with ODS options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this instead of Gplot:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc sgplot data=means1;

  scatter y= estimate x= time/ group=obesity ;
  yaxis label='Means' values=(50 to 100 by 5);
  xaxis label='Time'  values=(10 to 100 by 10)

run;&lt;/PRE&gt;
&lt;P&gt;If that comes close then it will be time to delve into the approaches to control markers and colors, either Styleattrs statement&amp;nbsp;or Dattrmap data set.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 19:28:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Increasing-resolution-of-graph-produced-by-SAS/m-p/597476#M18976</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-10-17T19:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing resolution of graph produced by SAS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Increasing-resolution-of-graph-produced-by-SAS/m-p/597491#M18977</link>
      <description>&lt;P&gt;The IMAGE_DPI option is not used by SAS/Graph output, like GPLOT would give you. ODS Graphics output uses that option. I would use SGPLOT, as&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;suggested.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 20:33:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Increasing-resolution-of-graph-produced-by-SAS/m-p/597491#M18977</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2019-10-17T20:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing resolution of graph produced by SAS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Increasing-resolution-of-graph-produced-by-SAS/m-p/597492#M18978</link>
      <description>I moved your post to the Graphics forum.&lt;BR /&gt;I also concur with &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;, change to SGPLOT and your graphics will already be much better quality. &lt;BR /&gt;&lt;BR /&gt;Your code shows no spaces between the quotes and image_dpi so that can be an issue, I suspect you'd see a note or warning about it?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Oct 2019 20:33:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Increasing-resolution-of-graph-produced-by-SAS/m-p/597492#M18978</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-10-17T20:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing resolution of graph produced by SAS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Increasing-resolution-of-graph-produced-by-SAS/m-p/597497#M18979</link>
      <description>&lt;P&gt;One other thing...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For RTF output, the default output type is EMF, which is a vector-based output. If you really want an image, specify something like OUTPUTFMT=PNG on the ODS GRAPHICS statement.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 20:37:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Increasing-resolution-of-graph-produced-by-SAS/m-p/597497#M18979</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2019-10-17T20:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing resolution of graph produced by SAS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Increasing-resolution-of-graph-produced-by-SAS/m-p/597696#M18983</link>
      <description>&lt;P&gt;ods rtf file='C:\Users\khetap03\Desktop\Lillirecent\boxplotcreatinine.rtf'&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;dpi=600&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;ods listing style=listing&amp;nbsp; &lt;STRONG&gt;image_dpi=600&amp;nbsp;&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;proc&lt;STRONG&gt; sgplot&lt;/STRONG&gt; ........&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 12:04:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Increasing-resolution-of-graph-produced-by-SAS/m-p/597696#M18983</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-10-18T12:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing resolution of graph produced by SAS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Increasing-resolution-of-graph-produced-by-SAS/m-p/597796#M18987</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i run gplot i get line graph as output but when i run sgplot i get some dots on the graph. Please let m,e know what is wrong with my sgplot code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;goptions reset=all;&lt;BR /&gt;symbol1 c=blue v=star h=.8 i=j;&lt;BR /&gt;symbol2 c=red v=dot h=.8 i=j;&lt;BR /&gt;symbol3 c=green v=square h=.8 i=j;&lt;BR /&gt;axis1 order=(50 to 100 by 5) label=( 'Means');&lt;BR /&gt;axis2 value=(10 to 100 by 10) label=('Time');&lt;BR /&gt;proc gplot data=means1;&lt;BR /&gt;plot estimate*time=obesity / vaxis=axis1 haxis=axis2;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data=means1;&lt;/P&gt;&lt;P&gt;scatter y= estimate x= time/ group=obesity ;&lt;BR /&gt;yaxis label='Means' values=(50 to 100 by 5);&lt;BR /&gt;xaxis label='Time' values=(10 to 100 by 10);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 18:04:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Increasing-resolution-of-graph-produced-by-SAS/m-p/597796#M18987</guid>
      <dc:creator>Kyra</dc:creator>
      <dc:date>2019-10-18T18:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing resolution of graph produced by SAS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Increasing-resolution-of-graph-produced-by-SAS/m-p/597813#M18988</link>
      <description>&lt;P&gt;Change SCATTER to SERIES.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;series y= estimate x= time/ group=obesity ;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to see both the line and the markers, add the MARKERS option:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;series y= estimate x= time/ group=obesity markers;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 18:58:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Increasing-resolution-of-graph-produced-by-SAS/m-p/597813#M18988</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2019-10-18T18:58:40Z</dc:date>
    </item>
  </channel>
</rss>

