<?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: Splitting a gplot into multiple pages in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Splitting-a-gplot-into-multiple-pages/m-p/351823#M12221</link>
    <description>&lt;P&gt;Below is the graphic and symbol options, hope this will help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;goptions YMAX=1500 in vsize=1000 in hsize=1000 in;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/*vertical axis option*/&lt;/P&gt;
&lt;P&gt;axis3 label = (a=90 f=arial h=3 " Subject")&lt;BR /&gt; length = 100&lt;BR /&gt; style = 1&lt;BR /&gt; width = 5&lt;BR /&gt; color = black&lt;BR /&gt; offset = (0 cm, 0 cm)&lt;BR /&gt;order = 0 to %eval(&amp;amp;NSub+1)&lt;BR /&gt; major = (h=0.75 w=6) minor=(h=0.5 n=6)&lt;BR /&gt; value = (%do i=1 %to &amp;amp;NSub;&lt;BR /&gt; tick=1 h=1 ' ' &lt;BR /&gt; tick=%eval(&amp;amp;i+1) h=1 "&amp;amp;&amp;amp;N&amp;amp;i" /* N is the maco variable that contains the subject number */&lt;BR /&gt; %end;&lt;BR /&gt; tick=%eval(&amp;amp;NSub+1) h=1 ' ');&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/*Symbol option*/&lt;/P&gt;
&lt;P&gt;goptions display hby=2 fby=arial;&lt;BR /&gt;goptions colors=();&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;symbol1 w=0.5 h=0.5 v=dot c=black ;&lt;BR /&gt;symbol2 w=0.5 h=0.5 v=dot c=red ;&lt;BR /&gt;symbol3 w=0.5 h=0.5 v=dot c=blue ;&lt;BR /&gt;symbol4 w=0.5 h=0.5 v=dot c=green ;&lt;/P&gt;
&lt;P&gt;.....&lt;/P&gt;</description>
    <pubDate>Thu, 20 Apr 2017 17:45:40 GMT</pubDate>
    <dc:creator>sfo</dc:creator>
    <dc:date>2017-04-20T17:45:40Z</dc:date>
    <item>
      <title>Splitting a gplot into multiple pages</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Splitting-a-gplot-into-multiple-pages/m-p/349528#M12131</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to display 200+ distinct subjects on yaxis but my graph is cutting. Is there a way to either display all the subejcts in one plot or maybe split the graph to display say 50 subjects per graph? I am using SAS 9.2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13701i4D899918943BC86D/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="graph example.png" title="graph example.png" /&gt;</description>
      <pubDate>Wed, 12 Apr 2017 16:49:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Splitting-a-gplot-into-multiple-pages/m-p/349528#M12131</guid>
      <dc:creator>sfo</dc:creator>
      <dc:date>2017-04-12T16:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a gplot into multiple pages</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Splitting-a-gplot-into-multiple-pages/m-p/349610#M12132</link>
      <description>&lt;P&gt;As a minimum show all of the graphics options, statements (axis symbol pattern)&amp;nbsp;and the gplot code used. Some actual example data to illustrate what you have would also help.&lt;/P&gt;
&lt;P&gt;Also when you say "page" do mean something like an RTF or PDF page? What size page if so.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Somewhat generic options could be:&lt;/P&gt;
&lt;P&gt;Increase the size of the plot area with goptions hsize and vsize options, reduce the size of the markers shown (symbol)&lt;/P&gt;
&lt;P&gt;To create separate charts with fewer subjects easiest would be to add a variable to indicate a display group assignment, sort the data by that variable and then use a BY statement in Proc Gplot using the variable.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 20:46:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Splitting-a-gplot-into-multiple-pages/m-p/349610#M12132</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-04-12T20:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a gplot into multiple pages</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Splitting-a-gplot-into-multiple-pages/m-p/349613#M12133</link>
      <description>Thanks for the reply.&lt;BR /&gt;&lt;BR /&gt;By "page" I mean separate PDF page.&lt;BR /&gt;&lt;BR /&gt;I am not sure if I can share my data in this forum.&lt;BR /&gt;&lt;BR /&gt;##- Please type your reply above this line. Simple formatting, no&lt;BR /&gt;attachments. -##</description>
      <pubDate>Wed, 12 Apr 2017 21:06:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Splitting-a-gplot-into-multiple-pages/m-p/349613#M12133</guid>
      <dc:creator>sfo</dc:creator>
      <dc:date>2017-04-12T21:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a gplot into multiple pages</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Splitting-a-gplot-into-multiple-pages/m-p/349780#M12134</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/9263"&gt;@sfo&lt;/a&gt; wrote:&lt;BR /&gt;Thanks for the reply.&lt;BR /&gt;&lt;BR /&gt;By "page" I mean separate PDF page.&lt;BR /&gt;&lt;BR /&gt;I am not sure if I can share my data in this forum.&lt;BR /&gt;&lt;BR /&gt;##- Please type your reply above this line. Simple formatting, no&lt;BR /&gt;attachments. -##&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Any example data that shows the same behavior.&lt;/P&gt;
&lt;P&gt;But as a minimum &lt;STRONG&gt;show the code, graphics options, axis and symbols statements&lt;/STRONG&gt; you are using.&lt;/P&gt;
&lt;P&gt;By Group processing should create a separate graph per group which I would expect to appear on separate pages if the size of the graph is at least half the vertical size of your pdf page.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 15:27:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Splitting-a-gplot-into-multiple-pages/m-p/349780#M12134</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-04-13T15:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a gplot into multiple pages</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Splitting-a-gplot-into-multiple-pages/m-p/351823#M12221</link>
      <description>&lt;P&gt;Below is the graphic and symbol options, hope this will help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;goptions YMAX=1500 in vsize=1000 in hsize=1000 in;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/*vertical axis option*/&lt;/P&gt;
&lt;P&gt;axis3 label = (a=90 f=arial h=3 " Subject")&lt;BR /&gt; length = 100&lt;BR /&gt; style = 1&lt;BR /&gt; width = 5&lt;BR /&gt; color = black&lt;BR /&gt; offset = (0 cm, 0 cm)&lt;BR /&gt;order = 0 to %eval(&amp;amp;NSub+1)&lt;BR /&gt; major = (h=0.75 w=6) minor=(h=0.5 n=6)&lt;BR /&gt; value = (%do i=1 %to &amp;amp;NSub;&lt;BR /&gt; tick=1 h=1 ' ' &lt;BR /&gt; tick=%eval(&amp;amp;i+1) h=1 "&amp;amp;&amp;amp;N&amp;amp;i" /* N is the maco variable that contains the subject number */&lt;BR /&gt; %end;&lt;BR /&gt; tick=%eval(&amp;amp;NSub+1) h=1 ' ');&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/*Symbol option*/&lt;/P&gt;
&lt;P&gt;goptions display hby=2 fby=arial;&lt;BR /&gt;goptions colors=();&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;symbol1 w=0.5 h=0.5 v=dot c=black ;&lt;BR /&gt;symbol2 w=0.5 h=0.5 v=dot c=red ;&lt;BR /&gt;symbol3 w=0.5 h=0.5 v=dot c=blue ;&lt;BR /&gt;symbol4 w=0.5 h=0.5 v=dot c=green ;&lt;/P&gt;
&lt;P&gt;.....&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 17:45:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Splitting-a-gplot-into-multiple-pages/m-p/351823#M12221</guid>
      <dc:creator>sfo</dc:creator>
      <dc:date>2017-04-20T17:45:40Z</dc:date>
    </item>
  </channel>
</rss>

