<?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 Is there a way to display a major tick for every data point in a Shewhart chart? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-display-a-major-tick-for-every-data-point-in-a/m-p/685875#M208049</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Background:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;I have a PROC SHEWHART step that creates a control chart based on the sample number.&lt;/P&gt;&lt;P&gt;However, I want to override the sample number with the date rather than sample number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was going to do this by using a macro variable list and passing that into the AXIS Value option. However, I now see the AXIS Value option only replaces the major ticks and I have a macro variable for every single data point. Also, I don't know how SAS determines the number of major ticks and increments.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Sep 2020 20:46:22 GMT</pubDate>
    <dc:creator>narnia649</dc:creator>
    <dc:date>2020-09-22T20:46:22Z</dc:date>
    <item>
      <title>Is there a way to display a major tick for every data point in a Shewhart chart?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-display-a-major-tick-for-every-data-point-in-a/m-p/685875#M208049</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Background:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;I have a PROC SHEWHART step that creates a control chart based on the sample number.&lt;/P&gt;&lt;P&gt;However, I want to override the sample number with the date rather than sample number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was going to do this by using a macro variable list and passing that into the AXIS Value option. However, I now see the AXIS Value option only replaces the major ticks and I have a macro variable for every single data point. Also, I don't know how SAS determines the number of major ticks and increments.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 20:46:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-display-a-major-tick-for-every-data-point-in-a/m-p/685875#M208049</guid>
      <dc:creator>narnia649</dc:creator>
      <dc:date>2020-09-22T20:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to display a major tick for every data point in a Shewhart chart?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-display-a-major-tick-for-every-data-point-in-a/m-p/685890#M208055</link>
      <description>Can you use a format to replace the sample number with the date instead?</description>
      <pubDate>Tue, 22 Sep 2020 21:06:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-display-a-major-tick-for-every-data-point-in-a/m-p/685890#M208055</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-09-22T21:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to display a major tick for every data point in a Shewhart chart?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-display-a-major-tick-for-every-data-point-in-a/m-p/685892#M208056</link>
      <description>&lt;P&gt;How many tick marks do you want? After about 25, they become of limited value anyway.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have date or datetime variables and unevenly spaced data in time, and you want the date or datetime variables on the x-axis, the link I gave you in your other thread is probably the best solution&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=qcug&amp;amp;docsetTarget=qcug_shewhart_sect473.htm&amp;amp;docsetVersion=15.2&amp;amp;locale=en" target="_blank" rel="noopener"&gt;https://documentation.sas.com/?docsetId=qcug&amp;amp;docsetTarget=qcug_shewhart_sect473.htm&amp;amp;docsetVersion=15.2&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no way to put tick marks at exactly the date or datetime values you want in the case of unevenly spaced data.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 21:09:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-display-a-major-tick-for-every-data-point-in-a/m-p/685892#M208056</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-22T21:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to display a major tick for every data point in a Shewhart chart?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-display-a-major-tick-for-every-data-point-in-a/m-p/685915#M208059</link>
      <description>Did you look into using the BLOCKVAR= option ?</description>
      <pubDate>Wed, 23 Sep 2020 00:32:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-display-a-major-tick-for-every-data-point-in-a/m-p/685915#M208059</guid>
      <dc:creator>RichardDeVen</dc:creator>
      <dc:date>2020-09-23T00:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to display a major tick for every data point in a Shewhart chart?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-display-a-major-tick-for-every-data-point-in-a/m-p/685917#M208061</link>
      <description>&lt;P&gt;Generally with Shewhart if I want control over the graph format, I find it's either to use Shewhart to calculate the control limits and other statistics and write all the data out to a dataset.&amp;nbsp; Then I can use all the power of SGPLOT/GTL to generate a plot.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 00:59:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-display-a-major-tick-for-every-data-point-in-a/m-p/685917#M208061</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2020-09-23T00:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to display a major tick for every data point in a Shewhart chart?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-display-a-major-tick-for-every-data-point-in-a/m-p/685966#M208089</link>
      <description>Yes, I did take a look. The visual aesthetics aren't quite as nice using the block option. Thanks for the suggestion!</description>
      <pubDate>Wed, 23 Sep 2020 07:06:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-display-a-major-tick-for-every-data-point-in-a/m-p/685966#M208089</guid>
      <dc:creator>narnia649</dc:creator>
      <dc:date>2020-09-23T07:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to display a major tick for every data point in a Shewhart chart?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-display-a-major-tick-for-every-data-point-in-a/m-p/685968#M208090</link>
      <description>Gotcha, thanks for the suggestion! I did take a look and wasn't a huge fan of the aesthetics of the block option. I am checking to see every option available.</description>
      <pubDate>Wed, 23 Sep 2020 07:07:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-display-a-major-tick-for-every-data-point-in-a/m-p/685968#M208090</guid>
      <dc:creator>narnia649</dc:creator>
      <dc:date>2020-09-23T07:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to display a major tick for every data point in a Shewhart chart?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-display-a-major-tick-for-every-data-point-in-a/m-p/685993#M208098</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/187270"&gt;@narnia649&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Gotcha, thanks for the suggestion! I did take a look and wasn't a huge fan of the aesthetics of the block option. I am checking to see every option available.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Speaking as a long-time user of PROC SHEWHART, I am not aware of any better way to handle date or date-time data that is unevenly spaced on the x-axis. That doesn't mean that there is not a different method that you like better. Nevertheless, I would be interested in knowing what you decide on, and I would be interested in knowing if you find anything you like better.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 12:51:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-display-a-major-tick-for-every-data-point-in-a/m-p/685993#M208098</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-23T12:51:11Z</dc:date>
    </item>
  </channel>
</rss>

