<?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: Merge graphs, don't know how in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Merge-graphs-don-t-know-how/m-p/19830#M470</link>
    <description>There are a couple of ways to do this. One involves editing the graph template used to create the graph in LOGISTIC. However, based on the way the LOGISTIC template is set up, you should also be able to do it tis way:&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
proc template;&lt;BR /&gt;
define style styles.nogrid;&lt;BR /&gt;
parent=styles.listing; /* or your favorite style */&lt;BR /&gt;
Style GraphGridLines from GraphGridLines /&lt;BR /&gt;
  displayopts="off"&lt;BR /&gt;
;&lt;BR /&gt;
end;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods listing style=nogrid; /* or whatever destination you're using */&lt;BR /&gt;
&lt;BR /&gt;
&lt;YOUR program=""&gt;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Let me know if this works for you.&lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;BR /&gt;
Dan&lt;/YOUR&gt;</description>
    <pubDate>Tue, 11 May 2010 18:59:38 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2010-05-11T18:59:38Z</dc:date>
    <item>
      <title>Merge graphs, don't know how</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Merge-graphs-don-t-know-how/m-p/19824#M464</link>
      <description>By using "plot=roc (id=prob)" option, i can create figure1, but this is jpg format graph. I need a png or tiff format for my paper.&lt;BR /&gt;
&lt;A href="http://s987.photobucket.com/albums/ae359/kenouyang/Plots/?action=view&amp;amp;current=ROCCurve3-1.jpg" target="_blank"&gt;&lt;IMG src="http://i987.photobucket.com/albums/ae359/kenouyang/Plots/ROCCurve3-1.jpg" border="0" alt="Photobucket" /&gt;&lt;/A&gt;&lt;BR /&gt;
FIGURE1                                                           &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I try to use proc gplot to do this, and created two graphs, fig2 and fig3. &lt;BR /&gt;
My questions, &lt;BR /&gt;
1. how can i merge two graphs in to one (make it the same as fig1). &lt;BR /&gt;
2. Or any way to create tiff png graphs from proc logistic directly? &lt;BR /&gt;
&lt;BR /&gt;
Thanks!!&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://s987.photobucket.com/albums/ae359/kenouyang/Plots/?action=view&amp;amp;current=t-1.png" target="_blank"&gt;&lt;IMG src="http://i987.photobucket.com/albums/ae359/kenouyang/Plots/t-1.png" border="0" alt="Photobucket" /&gt;&lt;/A&gt;&lt;BR /&gt;
Figure2&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://s987.photobucket.com/albums/ae359/kenouyang/Plots/?action=view&amp;amp;current=2.png" target="_blank"&gt;&lt;IMG src="http://i987.photobucket.com/albums/ae359/kenouyang/Plots/2.png" border="0" alt="Photobucket" /&gt;&lt;/A&gt;&lt;BR /&gt;
Figure3</description>
      <pubDate>Tue, 11 May 2010 16:38:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Merge-graphs-don-t-know-how/m-p/19824#M464</guid>
      <dc:creator>Ken_oy</dc:creator>
      <dc:date>2010-05-11T16:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Merge graphs, don't know how</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Merge-graphs-don-t-know-how/m-p/19825#M465</link>
      <description>gplot has an 'overlay' option, which you could use something like ...&lt;BR /&gt;
&lt;BR /&gt;
plot y1*x y2*x / overlay</description>
      <pubDate>Tue, 11 May 2010 17:22:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Merge-graphs-don-t-know-how/m-p/19825#M465</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2010-05-11T17:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Merge graphs, don't know how</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Merge-graphs-don-t-know-how/m-p/19826#M466</link>
      <description>Hey Ken,&lt;BR /&gt;
&lt;BR /&gt;
Your ROC curve output appears to be using ODS Graphics. If it is, you can use the IMAGEFMT option on the ODS GRAPHICS statement to set the image type to PNG:&lt;BR /&gt;
&lt;BR /&gt;
ods graphics on / imagefmt=png;&lt;BR /&gt;
&lt;BR /&gt;
&lt;YOUR program=""&gt;&lt;BR /&gt;
&lt;BR /&gt;
ods graphics off;&lt;BR /&gt;
&lt;BR /&gt;
Let me know if that works for you.&lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;BR /&gt;
Dan&lt;/YOUR&gt;</description>
      <pubDate>Tue, 11 May 2010 18:03:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Merge-graphs-don-t-know-how/m-p/19826#M466</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2010-05-11T18:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Merge graphs, don't know how</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Merge-graphs-don-t-know-how/m-p/19827#M467</link>
      <description>awesome!!&lt;BR /&gt;
Thanks, this works! I can have it in png or tiff easily, now!</description>
      <pubDate>Tue, 11 May 2010 18:21:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Merge-graphs-don-t-know-how/m-p/19827#M467</guid>
      <dc:creator>Ken_oy</dc:creator>
      <dc:date>2010-05-11T18:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Merge graphs, don't know how</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Merge-graphs-don-t-know-how/m-p/19828#M468</link>
      <description>Thanks for your advice! It works for me.&lt;BR /&gt;
&lt;BR /&gt;
But if i can use figure two as a template, and then plot figure 3 on figure 2, then things will be more easier. Is there any way to do this? I know in "R" we can, but in "sas" i have no idea.&lt;BR /&gt;
&lt;BR /&gt;
Anyway, you help me a lot! Thanks again!!&lt;BR /&gt;
:D</description>
      <pubDate>Tue, 11 May 2010 18:24:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Merge-graphs-don-t-know-how/m-p/19828#M468</guid>
      <dc:creator>Ken_oy</dc:creator>
      <dc:date>2010-05-11T18:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Merge graphs, don't know how</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Merge-graphs-don-t-know-how/m-p/19829#M469</link>
      <description>Hi Dan, this is the code i am using. How can I remove the grid in figure 1? &lt;BR /&gt;
i.e. Any place I can put a nogrid option? or something else?&lt;BR /&gt;
Thanks!&lt;BR /&gt;
&lt;BR /&gt;
---------------------------------------------------------&lt;BR /&gt;
ods graphics on / imagefmt=tiff;&lt;BR /&gt;
proc logistic data=ffinal plots=roc (id=prob);&lt;BR /&gt;
 model dead(event='1')= age power factor area/nofit; &lt;BR /&gt;
roc 'All' age power factor area;&lt;BR /&gt;
run;&lt;BR /&gt;
ods graphics off;</description>
      <pubDate>Tue, 11 May 2010 18:35:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Merge-graphs-don-t-know-how/m-p/19829#M469</guid>
      <dc:creator>Ken_oy</dc:creator>
      <dc:date>2010-05-11T18:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Merge graphs, don't know how</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Merge-graphs-don-t-know-how/m-p/19830#M470</link>
      <description>There are a couple of ways to do this. One involves editing the graph template used to create the graph in LOGISTIC. However, based on the way the LOGISTIC template is set up, you should also be able to do it tis way:&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
proc template;&lt;BR /&gt;
define style styles.nogrid;&lt;BR /&gt;
parent=styles.listing; /* or your favorite style */&lt;BR /&gt;
Style GraphGridLines from GraphGridLines /&lt;BR /&gt;
  displayopts="off"&lt;BR /&gt;
;&lt;BR /&gt;
end;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods listing style=nogrid; /* or whatever destination you're using */&lt;BR /&gt;
&lt;BR /&gt;
&lt;YOUR program=""&gt;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Let me know if this works for you.&lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;BR /&gt;
Dan&lt;/YOUR&gt;</description>
      <pubDate>Tue, 11 May 2010 18:59:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Merge-graphs-don-t-know-how/m-p/19830#M470</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2010-05-11T18:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Merge graphs, don't know how</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Merge-graphs-don-t-know-how/m-p/19831#M471</link>
      <description>Great Job! Dan&lt;BR /&gt;
&lt;BR /&gt;
This is what i want!&lt;BR /&gt;
&lt;BR /&gt;
Learn a lot from you!&lt;BR /&gt;
&lt;BR /&gt;
Thanks!!!&lt;BR /&gt;
&lt;BR /&gt;
Ken</description>
      <pubDate>Tue, 11 May 2010 20:24:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Merge-graphs-don-t-know-how/m-p/19831#M471</guid>
      <dc:creator>Ken_oy</dc:creator>
      <dc:date>2010-05-11T20:24:13Z</dc:date>
    </item>
  </channel>
</rss>

