<?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: x axis labels? in overlapping scatter plot and boxplot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/x-axis-labels-in-overlapping-scatter-plot-and-boxplot/m-p/185875#M6851</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please ALWAYS include the release of SAS you are running.&amp;nbsp; Thanks for including the full program with data.&lt;/P&gt;&lt;P&gt;If you are running SAS 9.3 or later, you can user DiscreteOffset to place a scatter and a box side by side using GTL.&amp;nbsp; You can use the same variable for X or Category, The variable can be either discrete or a numeric column with a format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jan 2015 06:24:19 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2015-01-16T06:24:19Z</dc:date>
    <item>
      <title>x axis labels? in overlapping scatter plot and boxplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/x-axis-labels-in-overlapping-scatter-plot-and-boxplot/m-p/185874#M6850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a questions with regard to the x axis labels i want to put in the graph where there is scatter plot and box plot jiterred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have written the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data class;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set sashelp.class;&lt;/P&gt;&lt;P&gt;&amp;nbsp; age2=age-0.2;&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;proc format fmtlib ;&lt;/P&gt;&lt;P&gt;value ns 10-11='1'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11&amp;lt;-12='2'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&amp;lt;-13='3'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13&amp;lt;-14='4'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14&amp;lt;-15='5'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&amp;lt;-16='6'&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc template ;&lt;/P&gt;&lt;P&gt;define statgraph scatterbox ;&lt;/P&gt;&lt;P&gt;begingraph ;&lt;/P&gt;&lt;P&gt;layout overlay / xaxisopts=(linearopts=(VIEWMIN=10 tickvaluesequence=(start=10 end=16 increment=1)));&lt;/P&gt;&lt;P&gt;boxplot x=age y=height / xaxis=x ;&lt;/P&gt;&lt;P&gt;scatterplot x=age2 y=height / xaxis=x ;&lt;/P&gt;&lt;P&gt;endlayout;&lt;/P&gt;&lt;P&gt;endgraph;&lt;/P&gt;&lt;P&gt;end ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgrender data=class template=scatterbox ;&lt;/P&gt;&lt;P&gt;format age&amp;nbsp; ns.;&lt;/P&gt;&lt;P&gt;run ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the graph generated is as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://communities.sas.com/legacyfs/online/8733_pastedImage_1.png" style="width: 637px; height: 481px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The scatter plot and box plot are aligned side by side. However the issue i have is with the x axis label, i should assign the label as shown in blue and that label should be between the scatter plot and box plot as labelled. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please help me to get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 05:58:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/x-axis-labels-in-overlapping-scatter-plot-and-boxplot/m-p/185874#M6850</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2015-01-16T05:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: x axis labels? in overlapping scatter plot and boxplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/x-axis-labels-in-overlapping-scatter-plot-and-boxplot/m-p/185875#M6851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please ALWAYS include the release of SAS you are running.&amp;nbsp; Thanks for including the full program with data.&lt;/P&gt;&lt;P&gt;If you are running SAS 9.3 or later, you can user DiscreteOffset to place a scatter and a box side by side using GTL.&amp;nbsp; You can use the same variable for X or Category, The variable can be either discrete or a numeric column with a format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 06:24:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/x-axis-labels-in-overlapping-scatter-plot-and-boxplot/m-p/185875#M6851</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2015-01-16T06:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: x axis labels? in overlapping scatter plot and boxplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/x-axis-labels-in-overlapping-scatter-plot-and-boxplot/m-p/185876#M6852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sanjay! it worked. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am working on sas 9.3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 08:23:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/x-axis-labels-in-overlapping-scatter-plot-and-boxplot/m-p/185876#M6852</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2015-01-16T08:23:47Z</dc:date>
    </item>
  </channel>
</rss>

