<?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: High quality graphics in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/High-quality-graphics/m-p/885021#M23978</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*The best choice is vector graph (not any loss quality) .*/
ods listing gpath='c:\temp' ;
ods graphics /width=640px height=480px imagename='want' outputfmt=svg;
proc sgplot data=sashelp.class;
scatter x=weight y=height/group=sex datalabel=name;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1689594332004.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/85814i28E10EF3BD933475/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1689594332004.png" alt="Ksharp_0-1689594332004.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jul 2023 11:45:16 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2023-07-17T11:45:16Z</dc:date>
    <item>
      <title>High quality graphics</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/High-quality-graphics/m-p/884939#M23975</link>
      <description>&lt;P&gt;Hi! I am preparing a paper for publication. I would like to create as good graphs as possible.&lt;/P&gt;
&lt;P&gt;Now I use PROC SGPLOT on SAS Linux server (SAS on demand for Academics).&lt;/P&gt;
&lt;P&gt;Are there any good tips or tricks go get better /sharper pictures?&lt;BR /&gt;The pictures are now 640 times 480 pixels.&lt;/P&gt;
&lt;P&gt;(Well, they are not bad, but..)&lt;BR /&gt;How can I get "more pixels"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next question: Is ODS GRAPHICS better ?&lt;/P&gt;
&lt;P&gt;I know the differences and the Pro, Con very littel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(I am an old SAS user. But NOT very good with SAS graph.)&lt;/P&gt;
&lt;P&gt;MANY THANKS, in Advance!&lt;/P&gt;
&lt;P&gt;/Br Anders&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jul 2023 18:23:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/High-quality-graphics/m-p/884939#M23975</guid>
      <dc:creator>AndersS</dc:creator>
      <dc:date>2023-07-16T18:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: High quality graphics</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/High-quality-graphics/m-p/884948#M23976</link>
      <description>&lt;P&gt;This might help: &lt;A href="https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-why-is-my-text-sometimes-pixelated/m-p/843108" target="_blank"&gt;https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-why-is-my-text-sometimes-pixelated/m-p/843108&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, if you want larger (in pixels) plots, you can use something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics/height=1200px width=1600px;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 16 Jul 2023 19:23:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/High-quality-graphics/m-p/884948#M23976</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-07-16T19:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: High quality graphics</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/High-quality-graphics/m-p/884968#M23977</link>
      <description>&lt;P&gt;Is ODS Graphics better than what? PROC SGPLOT is part of ODS Graphics. ODS Graphics is better than the old legacy SAS/GRAPH. You can get my free introductory book here.&amp;nbsp;&lt;A href="https://support.sas.com/documentation/prod-p/grstat/9.4/en/PDF/odsbasicg.pdf" target="_blank"&gt;https://support.sas.com/documentation/prod-p/grstat/9.4/en/PDF/odsbasicg.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jul 2023 21:16:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/High-quality-graphics/m-p/884968#M23977</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2023-07-16T21:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: High quality graphics</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/High-quality-graphics/m-p/885021#M23978</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*The best choice is vector graph (not any loss quality) .*/
ods listing gpath='c:\temp' ;
ods graphics /width=640px height=480px imagename='want' outputfmt=svg;
proc sgplot data=sashelp.class;
scatter x=weight y=height/group=sex datalabel=name;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1689594332004.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/85814i28E10EF3BD933475/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1689594332004.png" alt="Ksharp_0-1689594332004.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 11:45:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/High-quality-graphics/m-p/885021#M23978</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-07-17T11:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: High quality graphics</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/High-quality-graphics/m-p/885039#M23979</link>
      <description>&lt;P&gt;Hi! MANY VERY GOOD answers! Many thanks!&amp;nbsp; /Br Anders&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 12:35:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/High-quality-graphics/m-p/885039#M23979</guid>
      <dc:creator>AndersS</dc:creator>
      <dc:date>2023-07-17T12:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: High quality graphics - after some</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/High-quality-graphics/m-p/885099#M23980</link>
      <description>&lt;P&gt;Hi! MANY Thanks!&amp;nbsp; Here is a report of what was good, and half-good:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS GRAPHICS /&amp;nbsp; &amp;nbsp;outputfmt= SVG&amp;nbsp; &amp;nbsp; &amp;nbsp;imagename= "New SVG Plot;&lt;BR /&gt;&lt;BR /&gt;ODS LISTING GPATH= "/home/anders.skollermo";&lt;BR /&gt;In SAS Studio I can see that the picture as a file, but not its contents. I can download it, and watch it. OK GOOD.&lt;/P&gt;
&lt;P&gt;Slight protest:&amp;nbsp;&amp;nbsp;&lt;SPAN&gt; WARNING: RTF destination does not support SVG images. Using the default static format.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;But (using Notepad):&amp;nbsp;&amp;lt;svg xmlns="&lt;A href="http://www.w3.org/2000/svg" target="_blank"&gt;http://www.w3.org/2000/svg&lt;/A&gt;"&amp;nbsp; - so it is a SVG file.&lt;BR /&gt;xxxxxxxxxx&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS GRAPHICS /&amp;nbsp; &amp;nbsp;height= 480px&amp;nbsp;&amp;nbsp;width= 640px&amp;nbsp; ;&amp;nbsp; SAS Studio does not allow for BIG values.&lt;/P&gt;
&lt;P&gt;width has a max value 745,44 - However the picturte does NOT look good. Title etc. are bad.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Again! Many thanks!&amp;nbsp; &amp;nbsp;/ I hope this may be useful. /Br Anders&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 16:53:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/High-quality-graphics/m-p/885099#M23980</guid>
      <dc:creator>AndersS</dc:creator>
      <dc:date>2023-07-17T16:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: High quality graphics</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/High-quality-graphics/m-p/885100#M23981</link>
      <description>Many thanks!  Not easy to see what works in SAS Studio.</description>
      <pubDate>Mon, 17 Jul 2023 16:54:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/High-quality-graphics/m-p/885100#M23981</guid>
      <dc:creator>AndersS</dc:creator>
      <dc:date>2023-07-17T16:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: High quality graphics - after some</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/High-quality-graphics/m-p/885101#M23982</link>
      <description>&lt;P&gt;Since you are using SAS Studio, &amp;nbsp;you might want to go under Options -&amp;gt; Preferences -&amp;gt;Results and and check "Generate HTML Graphs as SVG" instead of setting OUTPUTFMT=SVG on the ODS GRAPHICS statement. That will set up the "preamble" code generated by SAS Studio to use SVG output instead of you having to override that setting via the ODS GRAPHICS statement.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 17:03:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/High-quality-graphics/m-p/885101#M23982</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2023-07-17T17:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: High quality graphics - after some</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/High-quality-graphics/m-p/885126#M23983</link>
      <description>&lt;P&gt;VERY GOOD answer. Yes!&amp;nbsp; &amp;nbsp;now I can see the nice picture in SAS studio. /Br Anders&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 17:33:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/High-quality-graphics/m-p/885126#M23983</guid>
      <dc:creator>AndersS</dc:creator>
      <dc:date>2023-07-17T17:33:17Z</dc:date>
    </item>
  </channel>
</rss>

