<?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: Create histogram for values upto 10 decimal points in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197493#M7357</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jun 2015 20:06:39 GMT</pubDate>
    <dc:creator>dr2014</dc:creator>
    <dc:date>2015-06-01T20:06:39Z</dc:date>
    <item>
      <title>Create histogram for values upto 10 decimal points</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197485#M7349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I created a histogram which has values for variable 'xyz' up to the 9th or&amp;nbsp; 10th decimal point.&amp;nbsp; I have copied the code below. The&amp;nbsp; &lt;STRONG&gt;x-axis&lt;/STRONG&gt; shows values up to the 4th decimal point (which is what I want in the display as it looks presentable). But, I think the code also approximates the values to the 4th decimal point to create the bars. In certain examples , the values of 'xyz' are so similar to the 4th decimal point that it just gives me a single bar. I am new to SAS/GRAPH. Could you suggest what options&amp;nbsp; I could use to create graphs for values upto the 10th decimal point but display them on x-axis upto the 4th decimal point. Please advice. Thanks !&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;This is my code :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It's a generic code that seeks the minimum and maximum value of the field field i.e for xyz, the minimum value is represented my the macro &amp;amp;xyzmin and the maximum value by &amp;amp;xyzmax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ods graphics on / reset=index imagename = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;"image_histogram.”;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;proc sgplot data=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;outcome;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; histogram estxyz/binstart=&amp;amp;xyz&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;min.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; binwidth=&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;0.5&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;xaxis values=(&amp;amp;xyz&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;min.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; to &amp;amp;xyz&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;max.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; by &lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;2&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; valueshint;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background: white none repeat scroll 0% 0%; text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Here is the data for 'xyz'&lt;/SPAN&gt; that displays a single bar in the histogram. Please ignore the observation numbers in the table below. Also I have 10,000 such observations.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="margin-left: 4.65pt; border: medium none; padding: 0px 5.4pt; width: 135px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="135"&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black;"&gt;xyz&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="135"&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;2.053560486&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;2.05358304&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;2.053586672&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;2.053595518&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;2.053620218&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;2.053622878&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;2.053629565&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;2.053634162&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;2.053636113&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;2.053640661&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;2.053642102&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;2.053652491&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;2.053655273&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;2.053658328&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;2.053664305&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;2.053666429&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;2.053668664&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;2.053673135&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;2.053673347&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;2.053680921&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;2.053681324&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Here is the graph I get based on the present code&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://communities.sas.com/legacyfs/online/10688_pastedImage_5.png" style="width: 628px; height: 472px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 17:35:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197485#M7349</guid>
      <dc:creator>dr2014</dc:creator>
      <dc:date>2015-06-01T17:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create histogram for values upto 10 decimal points</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197486#M7350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your setting of BINWIDTH is involved. Setting it to .5 says the largest-smallest value within a bin will be .5. ALL of the data you show are within .5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using NBINS to specify the number of bins to create. I would also wait to add the XAXIS statement until after I get a workable graph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 17:57:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197486#M7350</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-06-01T17:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create histogram for values upto 10 decimal points</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197487#M7351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BallardDW is right.&amp;nbsp; This may have to do with your settings.&amp;nbsp; Using SAS 9.4M2, here is what I get with just the "histogram xyz" statement.&amp;nbsp; Note - You will get an interval x-axis by default, not a bin axis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgplot data=hist;&lt;/P&gt;&lt;P&gt;&amp;nbsp; histogram xyz;&lt;/P&gt;&lt;P&gt;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="10689" alt="Histogram1.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10689_Histogram1.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 18:16:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197487#M7351</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2015-06-01T18:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create histogram for values upto 10 decimal points</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197488#M7352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your replies. @ballardw, you are right, the bin width specification does affect the display. So I took it out and just like you @Sanjay@SAS I got a graph that's better then the first. I have pasted it below. However, I think its pretty broad and although it gives information on the distribution , could it get more detailed i.e more number of bins? I think thats the reason I had chosen to specify the bin width before. Also, how is it @Sanja@SAS I am not getting the x-axis display such as yours ? Could you please suggest based on my initital code where I wrote . As you know , I need to have a generic code. Thanks.&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;xaxis values=(&amp;amp;xyz&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;min.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; to &amp;amp;xyz&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;max.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; by &lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;2&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; valueshint;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://communities.sas.com/legacyfs/online/10691_pastedImage_0.png" style="width: 628px; height: 472px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 18:39:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197488#M7352</guid>
      <dc:creator>dr2014</dc:creator>
      <dc:date>2015-06-01T18:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Create histogram for values upto 10 decimal points</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197489#M7353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="239177" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; I missed your comment on the defualt x-axis. Let me remove the&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;xaxis values=(&amp;amp;xyz&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;min.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; to &amp;amp;xyz&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;max.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; by &lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;2&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; valueshint ; and see what I get. Nevertheless, i still would like the graph to more bin detailed without compromising on the values. That obviously means I have to specify the 'bin number' and since the input data changes I will need to have something generic. Any suggestions on it would be very helpful !&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 18:51:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197489#M7353</guid>
      <dc:creator>dr2014</dc:creator>
      <dc:date>2015-06-01T18:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create histogram for values upto 10 decimal points</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197490#M7354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All right. I do get a better display on the x-axis after removing the specifications on the x-axis on the code. For now this works. Thanks much !&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://communities.sas.com/legacyfs/online/10692_pastedImage_0.png" style="width: 640px; height: 480px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 19:02:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197490#M7354</guid>
      <dc:creator>dr2014</dc:creator>
      <dc:date>2015-06-01T19:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create histogram for values upto 10 decimal points</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197491#M7355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My browser is not showing me the buttons to mark the answers as correct or helpful. I will definitely get back to it later.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 19:05:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197491#M7355</guid>
      <dc:creator>dr2014</dc:creator>
      <dc:date>2015-06-01T19:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create histogram for values upto 10 decimal points</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197492#M7356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The original post was not created as a question and discussions don't show the mark buttons. No problem, we'll consider them marked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 19:59:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197492#M7356</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-06-01T19:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create histogram for values upto 10 decimal points</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197493#M7357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 20:06:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197493#M7357</guid>
      <dc:creator>dr2014</dc:creator>
      <dc:date>2015-06-01T20:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create histogram for values upto 10 decimal points</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197494#M7358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@ballardw and @Sanjay. I have one lingering question. After I removed the x-axis specifications , although I get values on the x-axis it doesn't display the minimum and maximum value. Is it possible to display that ? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 20:19:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197494#M7358</guid>
      <dc:creator>dr2014</dc:creator>
      <dc:date>2015-06-01T20:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create histogram for values upto 10 decimal points</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197495#M7359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set THRESHOLDMIN=1 and THRESHOLDMAX=1 on the XAXIS statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 20:30:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197495#M7359</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2015-06-01T20:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create histogram for values upto 10 decimal points</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197496#M7360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THRESHOLDMIN and MAX will show you the outer tick, but not the max or min value of your data.&amp;nbsp; You have a couple of options.&amp;nbsp; Add a fringe plot.&amp;nbsp; This will show you all the observations.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods graphics / reset imagename='Histogram';&lt;/P&gt;&lt;P&gt;proc sgplot data=hist;&lt;/P&gt;&lt;P&gt;&amp;nbsp; histogram xyz;&lt;/P&gt;&lt;P&gt;&amp;nbsp; fringe xyz;&lt;/P&gt;&lt;P&gt;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="10694" alt="Histogram.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10694_Histogram.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Now, if you want the lowest and highest value labeled, you could copy the lowest and highest values to another column called Extreme, with other rows missing.&amp;nbsp; Then, use a drop line to plot the extreme column with data label.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 21:07:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197496#M7360</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2015-06-01T21:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create histogram for values upto 10 decimal points</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197497#M7361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="mailto:DanH@sas"&gt;DanH@sas&lt;/A&gt; and &lt;A href="mailto:Sanjay@SAS"&gt;Sanjay@SAS&lt;/A&gt;. I am going to try both the suggestions and see what I get. Also, &lt;A href="mailto:Sanjay@SAS"&gt;Sanjay@SAS&lt;/A&gt; I am not sure why you are getting multiple tick marks within the bars . I am guessing its because of the data ? Is there any particular significance for it ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 13:03:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197497#M7361</guid>
      <dc:creator>dr2014</dc:creator>
      <dc:date>2015-06-02T13:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create histogram for values upto 10 decimal points</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197498#M7362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The FRINGE plot shows the location of each observation in the data.&amp;nbsp; Many users like to see the shape of the histogram and also the locations of each observation.&amp;nbsp; Now, there are ways to place labels of the min and max observations to show their value, but it takes some extra work, and I am not sure how much trouble you are willing to go to get this.&amp;nbsp; Note:&amp;nbsp; I increased the format size for the extreme labels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="10701" alt="HistogramExtreme.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10701_HistogramExtreme.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 13:49:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197498#M7362</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2015-06-02T13:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create histogram for values upto 10 decimal points</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197499#M7363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A __default_attr="371578" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; I tried the x-axis options for the display of min and max values and I do get a graph (copy-pasted below) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, a .exe window opens with a message i.e.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;‘-axis’ is not recognized as an internal or external command, operable program or batch file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;I think there is an error in my syntax. Please advice. I want to avoid the .exe window.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;proc sgplot data=outcome;&lt;/P&gt;&lt;P&gt; histogram xyz;&lt;/P&gt;&lt;P&gt; x-axis thresholdmin=1 and thresholdmax=1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="239177" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;@ I really liked the 'fringe' functionality and&amp;nbsp; tried it. Since I have about 10,000 records with values close to each other, I get a x-axis which gets very crowded with tick marks. That doesn't make it a very informative graph for me (copy-pasted below). Also, I am eager to know how to place labels for the min and max value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Graph using thresholdmin and thresholdmax options :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://communities.sas.com/legacyfs/online/10703_pastedImage_1.png" style="width: 628px; height: 472px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Graph using fringe statement:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://communities.sas.com/legacyfs/online/10704_pastedImage_2.png" style="width: 628px; height: 472px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 15:28:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197499#M7363</guid>
      <dc:creator>dr2014</dc:creator>
      <dc:date>2015-06-02T15:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Create histogram for values upto 10 decimal points</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197500#M7364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;xaxis with options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X is a command to run a system program specified with the text that follows.&lt;/P&gt;&lt;P&gt;Example: in windows X 'dir'; will open a system window with a directory listing of the current directory SAS is using.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 16:13:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197500#M7364</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-06-02T16:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create histogram for values upto 10 decimal points</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197501#M7365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for your help. I figured the error in the syntax for the xaxis. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 20:26:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-histogram-for-values-upto-10-decimal-points/m-p/197501#M7365</guid>
      <dc:creator>dr2014</dc:creator>
      <dc:date>2015-06-02T20:26:40Z</dc:date>
    </item>
  </channel>
</rss>

