<?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 table when jittering x values in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/X-axis-table-when-jittering-x-values/m-p/937805#M24877</link>
    <description>&lt;P&gt;Instead of changing the X values to get spacing, what happens if you use GROUPDISPLAY=CLUSTER on the HIGHLOW and SERIES, and CLASSDISPLAY=cluster on the XAXISTABLE? You should be able to leave the axis table assigned to the X axis in that case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jul 2024 17:30:26 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2024-07-31T17:30:26Z</dc:date>
    <item>
      <title>X axis table when jittering x values</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/X-axis-table-when-jittering-x-values/m-p/937783#M24871</link>
      <description>&lt;P&gt;I have a series plot with error bars (series + highlow) where I had to add or subtract from the x axis values to separate the points. When I added the xaxis table to the plot, those values are also offset (I do not want this). I introduced a second hidden series plot using an X2 axis with the original values and tied the xaxis table to the X2 axis, but it didn't work. What am I missing?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Current code with the second series plot as described above:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sgplot data=stats2 dattrmap=myattrmap ;&lt;BR /&gt;where param = "&amp;amp;&amp;amp;param&amp;amp;i";&lt;BR /&gt;highlow x=month low=llim high=ulim / group=eyefl attrid=eyefl&lt;BR /&gt;highcap=serif lowcap=serif lineattrs = (thickness = 2) ;&lt;BR /&gt;series x = month2 y = mean/lineattrs=(thickness = 0) markerattrs = (size = 0);&lt;BR /&gt;series x=month y=mean/LINEATTRS= (THICKNESS= 2 ) group = EYEFL markers markerattrs = (size =7pt) grouporder = data name = 'Key' attrid = eyefl ;&lt;BR /&gt;series x = month2 y = mean/ name = 'Key 2' lineattrs = (thickness = 0) markerattrs = (size = 0pt);&lt;BR /&gt;yaxis values = (-10 to 10 by 1) grid valueattrs = (size = 7pt) labelattrs = (size = 7pt) label = 'Change from Baseline (dB)';&lt;BR /&gt;xaxis values = (0 to 3 by 1) offsetmin = 0.03 offsetmax = 0.03 valueattrs = (size = 7pt) labelattrs = (size = 7pt) label = 'Month';&lt;BR /&gt;Keylegend 'Key' /VALUEATTRS=(size=7pt family = 'Courier New') across = 6;&lt;BR /&gt;xaxistable n/class = eyefl valueattrs = (size = 7pt) labelattrs = (size = 7pt) labelpos = left x2axis x = month2;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 15:56:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/X-axis-table-when-jittering-x-values/m-p/937783#M24871</guid>
      <dc:creator>_Hopper</dc:creator>
      <dc:date>2024-07-31T15:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: X axis table when jittering x values</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/X-axis-table-when-jittering-x-values/m-p/937787#M24872</link>
      <description>&lt;P&gt;I would say you are missing two data sets and two macro variable values to test your code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or as an absolute minimum a resulting graph and a clear description of what you expect. It is very hard to tell exactly which values are "also offset" .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 16:09:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/X-axis-table-when-jittering-x-values/m-p/937787#M24872</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-07-31T16:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: X axis table when jittering x values</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/X-axis-table-when-jittering-x-values/m-p/937789#M24873</link>
      <description>1. I cannot give you the data. It is not for the public domain.&lt;BR /&gt;2. The macro variable is a series of parameters the graph program rotates. Also not needed to solve the issue.&lt;BR /&gt;3. The offset values are on the x axis hence my query regarding the x axis table (the month variable). I am adding and subtracting certain amounts from the x values to separate the points. However, for the table, I do not want the values offset, hence the month2 variable.</description>
      <pubDate>Wed, 31 Jul 2024 16:14:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/X-axis-table-when-jittering-x-values/m-p/937789#M24873</guid>
      <dc:creator>_Hopper</dc:creator>
      <dc:date>2024-07-31T16:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: X axis table when jittering x values</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/X-axis-table-when-jittering-x-values/m-p/937799#M24875</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/436465"&gt;@_Hopper&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;1. I cannot give you the data. It is not for the public domain.&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Make a dummy data set with non-sensitive values that behaves the same.&lt;/P&gt;
&lt;P&gt;I wouldn't even make an attempt without the attribute data set as a lot of stuff can be buried in there.&lt;/P&gt;
&lt;P&gt;Not to mention if there are any custom formats involved for your variables and values appearing the attribute set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/436465"&gt;@_Hopper&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;BR /&gt;2. The macro variable is a series of parameters the graph program rotates. Also not needed to solve the issue.&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If code includes a WHERE statement must be able to test that. If you provide a single use case then we can drop the where.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am way too lazy to attempt to create a data set and an attribute data set that may or may not show the same behavior.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 16:51:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/X-axis-table-when-jittering-x-values/m-p/937799#M24875</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-07-31T16:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: X axis table when jittering x values</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/X-axis-table-when-jittering-x-values/m-p/937805#M24877</link>
      <description>&lt;P&gt;Instead of changing the X values to get spacing, what happens if you use GROUPDISPLAY=CLUSTER on the HIGHLOW and SERIES, and CLASSDISPLAY=cluster on the XAXISTABLE? You should be able to leave the axis table assigned to the X axis in that case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 17:30:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/X-axis-table-when-jittering-x-values/m-p/937805#M24877</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2024-07-31T17:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: X axis table when jittering x values</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/X-axis-table-when-jittering-x-values/m-p/937814#M24880</link>
      <description>Hi Dan,&lt;BR /&gt;&lt;BR /&gt;I tried those options but without the x-axis adjustment the error bars for the groups all overlap.</description>
      <pubDate>Wed, 31 Jul 2024 19:22:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/X-axis-table-when-jittering-x-values/m-p/937814#M24880</guid>
      <dc:creator>_Hopper</dc:creator>
      <dc:date>2024-07-31T19:22:10Z</dc:date>
    </item>
  </channel>
</rss>

