<?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 How to specify X-axis values using SG scatter in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-specify-X-axis-values-using-SG-scatter/m-p/886587#M350327</link>
    <description>&lt;P&gt;I would like to specify the X-axis values for the figure in the code below, but for some reason it doesn't work and provides an X-axis tick increment of 40 instead of 10. Any idea what I'm doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC SGPLOT DATA = test;&lt;BR /&gt;SCATTER Y = food_group X = mean_diff / GROUP = ses_com GROUPDISPLAY=CLUSTER CLUSTERWIDTH = 0.7&lt;BR /&gt;Xerrorlower = CI_diffLower Xerrorupper = CI_diffUpper;&lt;BR /&gt;XAXIS&lt;BR /&gt;VALUES=(-200 to 200 by 10)&lt;BR /&gt;LABEL = "Difference in mean (mean and 95% CI means)"&lt;BR /&gt;LABELATTRS = (size = 8pt family = "Times New Roman Uni")&lt;BR /&gt;VALUEATTRS = (size = 8pt family = "Times New Roman Uni")&lt;BR /&gt;;&lt;BR /&gt;YAXIS&lt;BR /&gt;LABEL = " " /*A single space as x-axis labels with big font size to produce enoug space*/&lt;BR /&gt;LABELATTRS = (size = 8pt family = "Times New Roman Uni") /*x-axis label font definition*/&lt;BR /&gt;VALUEATTRS = (size = 8pt family = "Times New Roman Uni")&lt;BR /&gt;GRID&lt;BR /&gt;;&lt;BR /&gt;REFLINE 0 /&lt;BR /&gt;AXIS = X&lt;BR /&gt;LINEATTRS =(THICKNESS = 1 COLOR = DAGRB pattern = shortdash)&lt;BR /&gt;;&lt;BR /&gt;KEYLEGEND /&lt;BR /&gt;NOBORDER&lt;BR /&gt;TITLE = ""&lt;BR /&gt;VALUEATTRS = (size = 8pt family = "Times New Roman Uni") /*Legend font definition*/&lt;BR /&gt;;&lt;BR /&gt;TITLE " ";&lt;BR /&gt;RUN;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jul 2023 07:00:56 GMT</pubDate>
    <dc:creator>LB1993</dc:creator>
    <dc:date>2023-07-27T07:00:56Z</dc:date>
    <item>
      <title>How to specify X-axis values using SG scatter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-specify-X-axis-values-using-SG-scatter/m-p/886587#M350327</link>
      <description>&lt;P&gt;I would like to specify the X-axis values for the figure in the code below, but for some reason it doesn't work and provides an X-axis tick increment of 40 instead of 10. Any idea what I'm doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC SGPLOT DATA = test;&lt;BR /&gt;SCATTER Y = food_group X = mean_diff / GROUP = ses_com GROUPDISPLAY=CLUSTER CLUSTERWIDTH = 0.7&lt;BR /&gt;Xerrorlower = CI_diffLower Xerrorupper = CI_diffUpper;&lt;BR /&gt;XAXIS&lt;BR /&gt;VALUES=(-200 to 200 by 10)&lt;BR /&gt;LABEL = "Difference in mean (mean and 95% CI means)"&lt;BR /&gt;LABELATTRS = (size = 8pt family = "Times New Roman Uni")&lt;BR /&gt;VALUEATTRS = (size = 8pt family = "Times New Roman Uni")&lt;BR /&gt;;&lt;BR /&gt;YAXIS&lt;BR /&gt;LABEL = " " /*A single space as x-axis labels with big font size to produce enoug space*/&lt;BR /&gt;LABELATTRS = (size = 8pt family = "Times New Roman Uni") /*x-axis label font definition*/&lt;BR /&gt;VALUEATTRS = (size = 8pt family = "Times New Roman Uni")&lt;BR /&gt;GRID&lt;BR /&gt;;&lt;BR /&gt;REFLINE 0 /&lt;BR /&gt;AXIS = X&lt;BR /&gt;LINEATTRS =(THICKNESS = 1 COLOR = DAGRB pattern = shortdash)&lt;BR /&gt;;&lt;BR /&gt;KEYLEGEND /&lt;BR /&gt;NOBORDER&lt;BR /&gt;TITLE = ""&lt;BR /&gt;VALUEATTRS = (size = 8pt family = "Times New Roman Uni") /*Legend font definition*/&lt;BR /&gt;;&lt;BR /&gt;TITLE " ";&lt;BR /&gt;RUN;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 07:00:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-specify-X-axis-values-using-SG-scatter/m-p/886587#M350327</guid>
      <dc:creator>LB1993</dc:creator>
      <dc:date>2023-07-27T07:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify X-axis values using SG scatter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-specify-X-axis-values-using-SG-scatter/m-p/886613#M350337</link>
      <description>&lt;P&gt;Solution found:&amp;nbsp; I had to increase the size of the plot.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 10:19:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-specify-X-axis-values-using-SG-scatter/m-p/886613#M350337</guid>
      <dc:creator>LB1993</dc:creator>
      <dc:date>2023-07-27T10:19:48Z</dc:date>
    </item>
  </channel>
</rss>

