<?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: Markers in vline plot does not line up with the xaxis ticks. in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Markers-in-vline-plot-does-not-line-up-with-the-xaxis-ticks/m-p/825562#M22998</link>
    <description>&lt;P&gt;Remove GROUPDISPLAY=CLUSTER. That option makes the groups offset from the tick value, which is desired in certain cases.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jul 2022 21:31:45 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2022-07-26T21:31:45Z</dc:date>
    <item>
      <title>Markers in vline plot does not line up with the xaxis ticks.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Markers-in-vline-plot-does-not-line-up-with-the-xaxis-ticks/m-p/825557#M22997</link>
      <description>&lt;P&gt;I am using the following codes to get a vline plots for comparing the average weight of four groups at age 4 8,12, and 18. The average age markers should line up at age 4, 8, 12 and 18 but it does not. How can i correct this? Here is the plot that I get and the codes that I use.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc sgplot data =data noautolegend;
	vline Age/ response =weight group =group groupdisplay =cluster stat= mean markers;
	xaxis type =Discrete;
	yaxis label ="Average weight";
	xaxis label ="Age";
	run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vlineplot.jpg" style="width: 690px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73781iA95773C02D35DB9F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Vlineplot.jpg" alt="Vlineplot.jpg" /&gt;&lt;/span&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 21:10:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Markers-in-vline-plot-does-not-line-up-with-the-xaxis-ticks/m-p/825557#M22997</guid>
      <dc:creator>fdehkord</dc:creator>
      <dc:date>2022-07-26T21:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Markers in vline plot does not line up with the xaxis ticks.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Markers-in-vline-plot-does-not-line-up-with-the-xaxis-ticks/m-p/825562#M22998</link>
      <description>&lt;P&gt;Remove GROUPDISPLAY=CLUSTER. That option makes the groups offset from the tick value, which is desired in certain cases.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 21:31:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Markers-in-vline-plot-does-not-line-up-with-the-xaxis-ticks/m-p/825562#M22998</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2022-07-26T21:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Markers in vline plot does not line up with the xaxis ticks.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Markers-in-vline-plot-does-not-line-up-with-the-xaxis-ticks/m-p/825563#M22999</link>
      <description>&lt;P&gt;Try changing the Groupdisplay=Cluster to Groupdisplay=Overlay.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are familiar with the VBAR plots and groupdisplay=cluster then bars are offset horizontally along side. VLINE will match the VBAR behavior so you can create Bar-Line plots and the Xaxis variables align by the groups for the bars.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 21:38:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Markers-in-vline-plot-does-not-line-up-with-the-xaxis-ticks/m-p/825563#M22999</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-07-26T21:38:36Z</dc:date>
    </item>
  </channel>
</rss>

