<?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: Import in Adobe Illustrator .svg file from SGRENDER in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Import-in-Adobe-Illustrator-svg-file-from-SGRENDER/m-p/141265#M5340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In 9.3,&amp;nbsp; i have observed the same difficulty&lt;/P&gt;&lt;P&gt;AI&amp;nbsp; seems not to recognize&amp;nbsp; svg&amp;nbsp; files actually&amp;nbsp;&amp;nbsp; following our editorial&amp;nbsp; team.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The by pass that is working well and produces vectorial files is EMF&lt;/P&gt;&lt;P&gt;and tested with AI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jun 2014 11:13:55 GMT</pubDate>
    <dc:creator>Andre</dc:creator>
    <dc:date>2014-06-13T11:13:55Z</dc:date>
    <item>
      <title>Import in Adobe Illustrator .svg file from SGRENDER</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Import-in-Adobe-Illustrator-svg-file-from-SGRENDER/m-p/141262#M5337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently dealing with a graphics problem between SAS and Adobe Illustrator. &lt;/P&gt;&lt;P&gt;I need to create a report (large report) that contains hundreds of graphics.&lt;/P&gt;&lt;P&gt;The decision has been made that we (the analysts) should create .svg graphics that can be brought into Adobe Illustrator (by some editor person).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus far, we managed to successfully create editable .svg graphics in Adobe Illustrator from PROC GMAP, PROC GCHART. &lt;/P&gt;&lt;P&gt;We have not been able to create any graphics via any of the PROC SG, including GTL + SGRENDER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, we would like to use SAS to create a .svg graphic, then import that .svg in Adobe Illustrator and be able to edit it.&lt;/P&gt;&lt;P&gt;We don't want to use the SGEditor.&lt;/P&gt;&lt;P&gt;We most likely want to have the ability to move legends and such as depending on a given page text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is code that produces editable svg in Adobe illustrator and code that doesn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--------------GMAP;&lt;/P&gt;&lt;P&gt;goptions reset=goptions device=svg;&lt;/P&gt;&lt;P&gt;ods printer file='M:\SVG_LOOKING_PLOT_W_GMAP.svg' ;&lt;/P&gt;&lt;P&gt;ods listing close; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gmap data=maps.us map=maps.us ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; id state;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; choro state / levels=1 statistic = mean; &lt;/P&gt;&lt;P&gt;run; &lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;ods printer close;&lt;/P&gt;&lt;P&gt;ods listing;&amp;nbsp; &lt;/P&gt;&lt;P&gt;title;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*--Data Set SeriesGroup--*/ &lt;/P&gt;&lt;P&gt;data SeriesGroup; &lt;/P&gt;&lt;P&gt;&amp;nbsp; drop i;&lt;/P&gt;&lt;P&gt;&amp;nbsp; length Class $6;&lt;/P&gt;&lt;P&gt;&amp;nbsp; format Date monname3.; &lt;/P&gt;&lt;P&gt;&amp;nbsp; do i=0 to 334 by 10; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date='01jan2009'd+i; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Drug='A'; Value = 16+ 3*sin(i/90+0.5) + 1*sin(3*i/90+0.7); Class='NSAID'; Company='XX'; output; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Drug='B'; Value = 10+ 3*sin(i/90+0.5) + 1*cos(3*i/90+0.7); Class='NSAID'; Company='XX'; output; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Drug='C'; Value = 10+ 3*cos(i/90+0.5) + 1*sin(3*i/90+0.7); Class='Opioid'; Company='YY'; output; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Drug='D'; Value = 20+ 3*cos(i/90+0.5) + 2*sin(3*i/90+0.7); Class='Opioid'; Company='YY'; output; &lt;/P&gt;&lt;P&gt;&amp;nbsp; end; &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sort data=SeriesGroup out=SeriesGroupSorted;&lt;/P&gt;&lt;P&gt;&amp;nbsp; by drug;&lt;/P&gt;&lt;P&gt;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*--Create drug label for each curve at every 5th value--*/&lt;/P&gt;&lt;P&gt;data SeriesGroupLabel;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set SeriesGroupSorted; &lt;/P&gt;&lt;P&gt;&amp;nbsp; if mod(_n_, 5) = 1 then do;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Label=Drug;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ValueL=Value; &lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*--Standard Series Plot--*/&lt;/P&gt;&lt;P&gt;proc template;&lt;/P&gt;&lt;P&gt;&amp;nbsp; define statgraph Series;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; begingraph / ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; entrytitle 'Values by Date and Treatment';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layout overlay / xaxisopts=(display=(ticks tickvalues) timeopts=(tickvalueformat=data));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; seriesplot x=date y=value / group=drug name='a' lineattrs=(thickness=2) smoothconnect=true;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; discretelegend 'a' / title='Drug:';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endlayout;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; endgraph;&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goptions reset=goptions device=svg;&lt;/P&gt;&lt;P&gt;ods printer file='M:\series_plot.svg' ;&lt;/P&gt;&lt;P&gt;ods listing close; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*--Standard Series Plot--*/&lt;/P&gt;&lt;P&gt;ods graphics / reset width=5in height=3in imagename='Series_Plot';&lt;/P&gt;&lt;P&gt;proc sgrender data=SeriesGroup template=Series;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods printer close;&lt;/P&gt;&lt;P&gt;ods listing;&amp;nbsp; &lt;/P&gt;&lt;P&gt;title;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice would be highly appreciated!!&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Anca.&lt;/P&gt;&lt;P&gt;NDER&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 21:17:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Import-in-Adobe-Illustrator-svg-file-from-SGRENDER/m-p/141262#M5337</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2014-06-12T21:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Import in Adobe Illustrator .svg file from SGRENDER</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Import-in-Adobe-Illustrator-svg-file-from-SGRENDER/m-p/141263#M5338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With SAS 9.4, you can set OUTPUTFMT=SVG on the ODS GRAPHICS stmt.&amp;nbsp; ODS Graphics does not look at GOPTION.&lt;/P&gt;&lt;P&gt;Yes, it works in SAS 9.3, but SUBPIXEL=ON (SAS 9.4) will make a much nicer quality graph.&amp;nbsp; Run in Chrome to see the graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*--Standard Series Plot--*/&lt;BR /&gt;proc template;&lt;BR /&gt;&amp;nbsp; define statgraph Series;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; begingraph / subpixel=on;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; entrytitle 'Values by Date and Treatment';&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layout overlay / xaxisopts=(display=(ticks tickvalues) timeopts=(tickvalueformat=data));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; seriesplot x=date y=value / group=drug name='a' lineattrs=(thickness=2) smoothconnect=true;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; discretelegend 'a' / title='Drug:';&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endlayout;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; endgraph;&lt;BR /&gt;&amp;nbsp; end;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;/*--Standard Series Plot--*/&lt;BR /&gt;ods html;&lt;BR /&gt;ods graphics / reset width=5in height=3in outputfmt=svg imagename='Series_Plot';&lt;BR /&gt;proc sgrender data=SeriesGroup template=Series;&lt;BR /&gt;run;&lt;BR /&gt;ods printer close;&lt;BR /&gt;ods listing;&amp;nbsp; &lt;BR /&gt;title;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 21:35:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Import-in-Adobe-Illustrator-svg-file-from-SGRENDER/m-p/141263#M5338</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2014-06-12T21:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Import in Adobe Illustrator .svg file from SGRENDER</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Import-in-Adobe-Illustrator-svg-file-from-SGRENDER/m-p/141264#M5339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Mr. Sanjay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see the graph in Chrome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is Adobe Illustrator that does not open the graph, and this is what I need to use for&amp;nbsp; this specific report.&lt;/P&gt;&lt;P&gt;Are there any additional options or statements I need to use to make that 'link' between a SAS .svg created plot to Adobe Illustrator,,,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anca.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 01:55:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Import-in-Adobe-Illustrator-svg-file-from-SGRENDER/m-p/141264#M5339</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2014-06-13T01:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Import in Adobe Illustrator .svg file from SGRENDER</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Import-in-Adobe-Illustrator-svg-file-from-SGRENDER/m-p/141265#M5340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In 9.3,&amp;nbsp; i have observed the same difficulty&lt;/P&gt;&lt;P&gt;AI&amp;nbsp; seems not to recognize&amp;nbsp; svg&amp;nbsp; files actually&amp;nbsp;&amp;nbsp; following our editorial&amp;nbsp; team.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The by pass that is working well and produces vectorial files is EMF&lt;/P&gt;&lt;P&gt;and tested with AI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 11:13:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Import-in-Adobe-Illustrator-svg-file-from-SGRENDER/m-p/141265#M5340</guid>
      <dc:creator>Andre</dc:creator>
      <dc:date>2014-06-13T11:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Import in Adobe Illustrator .svg file from SGRENDER</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Import-in-Adobe-Illustrator-svg-file-from-SGRENDER/m-p/141266#M5341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Adobe Illustrator documentation suggests that it can import PDF files.&amp;nbsp; Have you tried importing the PDF output into Illustrator?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 14:25:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Import-in-Adobe-Illustrator-svg-file-from-SGRENDER/m-p/141266#M5341</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2014-06-13T14:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Import in Adobe Illustrator .svg file from SGRENDER</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Import-in-Adobe-Illustrator-svg-file-from-SGRENDER/m-p/141267#M5342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figure out the EMF code. and it creates the editable graphics. So does the .PS files...!&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc template; &lt;/P&gt;&lt;P&gt;&amp;nbsp; define statgraph ClusterBar; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; begingraph / designheight=600px designwidth=1000px ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layout overlay /cycleattrs=true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; walldisplay=none&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yaxisopts=(griddisplay=on display=(tickvalues label))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xaxisopts=(display=(label line tickvalues));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; barchart x=sex y=age /outlineattrs=(color=white) group=group groupdisplay=cluster name="legname";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; discretelegend "legname" /location=inside across=1 OPAQUE=TRUE BORDER=FALSE ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endlayout; &lt;/P&gt;&lt;P&gt;&amp;nbsp; endgraph; &lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;options nodate nonumber printerpath=(emf grafout);&lt;/P&gt;&lt;P&gt;ods _all_ close; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ods graphics/outputfmt = emf;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ods printer printer=emf file="m:\sample_emf.emf" style=minimal;&lt;/P&gt;&lt;P&gt;proc sgrender data=sashelp.class template=ClusterBar objectlabel="sample_emf";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DYNAMIC xvar="fi" yvar="pct_row" group="sex"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; legname="NW" halign="left" valign="top";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods printer close;&lt;/P&gt;&lt;P&gt;ods results;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anca.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 14:47:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Import-in-Adobe-Illustrator-svg-file-from-SGRENDER/m-p/141267#M5342</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2014-06-13T14:47:57Z</dc:date>
    </item>
  </channel>
</rss>

