<?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: How to split one figure into two pages of output in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-split-one-figure-into-two-pages-of-output/m-p/787708#M251744</link>
    <description>Eg: I have a horizonal bar chart. I envision splitting to have exactly half of the chart in each page.</description>
    <pubDate>Thu, 30 Dec 2021 03:23:15 GMT</pubDate>
    <dc:creator>Abishekaa</dc:creator>
    <dc:date>2021-12-30T03:23:15Z</dc:date>
    <item>
      <title>How to split one figure into two pages of output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-split-one-figure-into-two-pages-of-output/m-p/787705#M251741</link>
      <description>&lt;P&gt;Hello, I am creating a long figure in sas and would like to split it between two pages of output for clarity. Can anyone please help with this? Even though I found many sas forums on putting multiple figures into one page, I cannot find how to put one figure on two pages. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Dec 2021 02:09:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-split-one-figure-into-two-pages-of-output/m-p/787705#M251741</guid>
      <dc:creator>Abishekaa</dc:creator>
      <dc:date>2021-12-30T02:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to split one figure into two pages of output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-split-one-figure-into-two-pages-of-output/m-p/787707#M251743</link>
      <description>How exactly do you envision splitting the graphic?</description>
      <pubDate>Thu, 30 Dec 2021 03:17:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-split-one-figure-into-two-pages-of-output/m-p/787707#M251743</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-12-30T03:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to split one figure into two pages of output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-split-one-figure-into-two-pages-of-output/m-p/787708#M251744</link>
      <description>Eg: I have a horizonal bar chart. I envision splitting to have exactly half of the chart in each page.</description>
      <pubDate>Thu, 30 Dec 2021 03:23:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-split-one-figure-into-two-pages-of-output/m-p/787708#M251744</guid>
      <dc:creator>Abishekaa</dc:creator>
      <dc:date>2021-12-30T03:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to split one figure into two pages of output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-split-one-figure-into-two-pages-of-output/m-p/787765#M251765</link>
      <description>&lt;P&gt;I haven't created that many bar charts, but all hat one request in common: the chart must fit on a single page. So i think you have to split the data and create both graphs manually. This could cause some trouble, for example if one bar is not long enough to be displayed on both pages.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Dec 2021 12:14:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-split-one-figure-into-two-pages-of-output/m-p/787765#M251765</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-12-30T12:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to split one figure into two pages of output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-split-one-figure-into-two-pages-of-output/m-p/787804#M251791</link>
      <description>&lt;P&gt;Destination? File format or actually to paper on a printer?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share the code that currently makes your graph? And describe which VALUE you want to split the data at?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Easiest is likely going to involve adding a variable for BY processing to make a separate graph for each level of the BY variable.&lt;/P&gt;
&lt;P&gt;An example:&lt;/P&gt;
&lt;PRE&gt;/* basic plot*/
proc sgplot data=sashelp.class;
  vbar age/response=height;
run;
/*split into two plots*/
data newplot;
   set sashelp.class;
   plotnum = (age ge 14);
run;

proc sort data=newplot;
   by plotnum;
run;

proc sgplot data=newplot;
   BY plotnum;
   vbar age/ response=height;
run;&lt;/PRE&gt;
&lt;P&gt;I suspect that you would want to examine the options involving by groups to suppress the default display of the by variable values but this might get you started.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Dec 2021 16:14:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-split-one-figure-into-two-pages-of-output/m-p/787804#M251791</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-12-30T16:14:57Z</dc:date>
    </item>
  </channel>
</rss>

