<?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 Issue with saving / exporting graphic as SVG in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Issue-with-saving-exporting-graphic-as-SVG/m-p/917679#M24399</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have created a nice survival plot for my analysis but cannot find a way to save/export as a SVG file for journal publication. Can you please help?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am using SAS Studio, this is my code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;PROC IMPORT OUT=OUTCOMES&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DATAFILE= "/home/u62465117/BTC KRAS ALLELE SUBTYPE/Outcomes By Mutations.2.xls"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DBMS=XLS REPLACE;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;GETNAMES=YES;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SHEET=SHEET1;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DATAROW=3;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;RUN;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;PROC FORMAT ; VALUE GROUP 1 = "G12D" 2 = "G12V" 3 = "Q61H" ; RUN ;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;DATA MUTATION ; INPUT GROUP MONTHS STATUS $ @@ ;&lt;/DIV&gt;&lt;DIV&gt;FORMAT GROUP ; DATALINES ;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;RUN ;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;ODS GRAPHICS ON / outputfmt=eps;&lt;/DIV&gt;&lt;DIV&gt;TITLE1 "OUTCOMES OF KRAS ALLELE SUBTYPES" ;&lt;/DIV&gt;&lt;DIV&gt;PROC LIFETEST DATA = OUTCOMES&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;PLOTS=(SURVIVAL (ATRISK=0 TO 1000 BY 20 TEST)&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LOGLOGS&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LOGSURV) ;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;TIME MONTHS * STATUS ( 0 ) ;&lt;/DIV&gt;&lt;DIV&gt;STRATA GROUP ; RUN ;&lt;/DIV&gt;</description>
    <pubDate>Fri, 23 Feb 2024 21:53:04 GMT</pubDate>
    <dc:creator>Tech1234</dc:creator>
    <dc:date>2024-02-23T21:53:04Z</dc:date>
    <item>
      <title>Issue with saving / exporting graphic as SVG</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Issue-with-saving-exporting-graphic-as-SVG/m-p/917679#M24399</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have created a nice survival plot for my analysis but cannot find a way to save/export as a SVG file for journal publication. Can you please help?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am using SAS Studio, this is my code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;PROC IMPORT OUT=OUTCOMES&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DATAFILE= "/home/u62465117/BTC KRAS ALLELE SUBTYPE/Outcomes By Mutations.2.xls"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DBMS=XLS REPLACE;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;GETNAMES=YES;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SHEET=SHEET1;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DATAROW=3;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;RUN;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;PROC FORMAT ; VALUE GROUP 1 = "G12D" 2 = "G12V" 3 = "Q61H" ; RUN ;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;DATA MUTATION ; INPUT GROUP MONTHS STATUS $ @@ ;&lt;/DIV&gt;&lt;DIV&gt;FORMAT GROUP ; DATALINES ;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;RUN ;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;ODS GRAPHICS ON / outputfmt=eps;&lt;/DIV&gt;&lt;DIV&gt;TITLE1 "OUTCOMES OF KRAS ALLELE SUBTYPES" ;&lt;/DIV&gt;&lt;DIV&gt;PROC LIFETEST DATA = OUTCOMES&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;PLOTS=(SURVIVAL (ATRISK=0 TO 1000 BY 20 TEST)&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LOGLOGS&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LOGSURV) ;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;TIME MONTHS * STATUS ( 0 ) ;&lt;/DIV&gt;&lt;DIV&gt;STRATA GROUP ; RUN ;&lt;/DIV&gt;</description>
      <pubDate>Fri, 23 Feb 2024 21:53:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Issue-with-saving-exporting-graphic-as-SVG/m-p/917679#M24399</guid>
      <dc:creator>Tech1234</dc:creator>
      <dc:date>2024-02-23T21:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with saving / exporting graphic as SVG</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Issue-with-saving-exporting-graphic-as-SVG/m-p/917682#M24400</link>
      <description>&lt;P&gt;Your code is writing EPS (encapsulated post script graphics if I recall correctly) . You need to specify an ODS Destination that will support SVG and then use the OUTPUTFMT=SVG (not EPS)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS LISTING and ODS HTML5 should work.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 22:19:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Issue-with-saving-exporting-graphic-as-SVG/m-p/917682#M24400</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-02-23T22:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with saving / exporting graphic as SVG</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Issue-with-saving-exporting-graphic-as-SVG/m-p/917688#M24402</link>
      <description>&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am an extreme beginner. Is there anyway you could elaborate (or show the additional / new code needed).&lt;BR /&gt;&lt;BR /&gt;I am very sorry and very appreciative.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 23:07:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Issue-with-saving-exporting-graphic-as-SVG/m-p/917688#M24402</guid>
      <dc:creator>Tech1234</dc:creator>
      <dc:date>2024-02-23T23:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with saving / exporting graphic as SVG</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Issue-with-saving-exporting-graphic-as-SVG/m-p/917786#M24405</link>
      <description>&lt;P&gt;Here is an example.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods listing gpath='c:\temp\';
ods graphics /outputfmt=svg imagename='want';
proc sgplot data=sashelp.class;
scatter x=weight y=height/group=sex;
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-1708857911148.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/94092i5C6B296F1E32D5C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1708857911148.png" alt="Ksharp_0-1708857911148.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Feb 2024 10:45:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Issue-with-saving-exporting-graphic-as-SVG/m-p/917786#M24405</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-02-25T10:45:22Z</dc:date>
    </item>
  </channel>
</rss>

