<?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: Syntax and meaning of numbers in a DispatchSeg( Hist Seg( 1 ), Bin Span( x, y  ) ) command in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Syntax-and-meaning-of-numbers-in-a-DispatchSeg-Hist-Seg-1-Bin/m-p/593153#M79706</link>
    <description>&lt;P&gt;I guess my question is how does "size" relate to the data set and/or axis?&lt;/P&gt;&lt;P&gt;It seems really arbitrary with different data sets and axis.&lt;/P&gt;&lt;P&gt;Size 10 might look great on one graph and terrible on another.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2023 16:49:18 GMT</pubDate>
    <dc:creator>david707</dc:creator>
    <dc:date>2023-01-25T16:49:18Z</dc:date>
    <item>
      <title>Syntax and meaning of numbers in a DispatchSeg( Hist Seg( 1 ), Bin Span( x, y  ) ) command</title>
      <link>https://community.jmp.com/t5/Discussions/Syntax-and-meaning-of-numbers-in-a-DispatchSeg-Hist-Seg-1-Bin/m-p/593034#M79699</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to adjust the bin sizes of the histogram in a oneway analysis report, I am aware that this has been asked and answered before and you need to use:&lt;/P&gt;&lt;P&gt;DispatchSeg( Hist Seg( 1 ), Bin Span( x, y ))&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, previous answers say to look at the scripting index for more information, and I cannot find anything about this on the scripting index.&lt;/P&gt;&lt;P&gt;I cannot figure out how x and y actually relate to the bin sizes, and how to get the sensible bin sizes I want.&lt;/P&gt;&lt;P&gt;Can someone please clarify exactly how x and y effect the bin sizes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 16:41:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Syntax-and-meaning-of-numbers-in-a-DispatchSeg-Hist-Seg-1-Bin/m-p/593034#M79699</guid>
      <dc:creator>david707</dc:creator>
      <dc:date>2023-06-08T16:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax and meaning of numbers in a DispatchSeg( Hist Seg( 1 ), Bin Span( x, y  ) ) command</title>
      <link>https://community.jmp.com/t5/Discussions/Syntax-and-meaning-of-numbers-in-a-DispatchSeg-Hist-Seg-1-Bin/m-p/593092#M79703</link>
      <description>&lt;P&gt;Through a bit of trial and error, I've come to the&amp;nbsp;conclusion that Bin Span (x, y) works out to:&lt;/P&gt;
&lt;P&gt;x = the size of each bin; same function as using the hand tool and dragging horizontally&lt;/P&gt;
&lt;P&gt;y = the offset of each bin; same&amp;nbsp;function as using the hand tool and dragging vertically&lt;/P&gt;
&lt;P&gt;(This holds true for the ANOVA platform--I didn't check with other histograms)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code below demonstrates this with the Big Class sample file.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here (1);

dt = open ("$SAMPLE_DATA/big class.jmp");

//a bin for each data point
Oneway(
	Y( :weight ),
	X( :age ),
	Histograms( 1 ),
	SendToReport(
		Dispatch(
			{},
			"Oneway Report",
			FrameBox,
			{DispatchSeg( Hist Seg( 1 ), Bin Span( 1, 0 ) )}
		)
	)
);
//huge bin
Oneway(
	Y( :weight ),
	X( :age ),
	Histograms( 1 ),
	SendToReport(
		Dispatch(
			{},
			"Oneway Report",
			FrameBox,
			{DispatchSeg( Hist Seg( 1 ), Bin Span( 100, 0 ) )}
		)
	)
);

//medium bins with some offset
Oneway(
	Y( :weight ),
	X( :age ),
	Histograms( 1 ),
	SendToReport(
		Dispatch(
			{},
			"Oneway Report",
			FrameBox,
			{DispatchSeg( Hist Seg( 1 ), Bin Span( 10, 50 ) )}
		)
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 15:42:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Syntax-and-meaning-of-numbers-in-a-DispatchSeg-Hist-Seg-1-Bin/m-p/593092#M79703</guid>
      <dc:creator>Jed_Campbell</dc:creator>
      <dc:date>2023-01-25T15:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax and meaning of numbers in a DispatchSeg( Hist Seg( 1 ), Bin Span( x, y  ) ) command</title>
      <link>https://community.jmp.com/t5/Discussions/Syntax-and-meaning-of-numbers-in-a-DispatchSeg-Hist-Seg-1-Bin/m-p/593153#M79706</link>
      <description>&lt;P&gt;I guess my question is how does "size" relate to the data set and/or axis?&lt;/P&gt;&lt;P&gt;It seems really arbitrary with different data sets and axis.&lt;/P&gt;&lt;P&gt;Size 10 might look great on one graph and terrible on another.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 16:49:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Syntax-and-meaning-of-numbers-in-a-DispatchSeg-Hist-Seg-1-Bin/m-p/593153#M79706</guid>
      <dc:creator>david707</dc:creator>
      <dc:date>2023-01-25T16:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax and meaning of numbers in a DispatchSeg( Hist Seg( 1 ), Bin Span( x, y  ) ) command</title>
      <link>https://community.jmp.com/t5/Discussions/Syntax-and-meaning-of-numbers-in-a-DispatchSeg-Hist-Seg-1-Bin/m-p/593159#M79707</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;It seems really arbitrary with different data sets and axis.&lt;/P&gt;
&lt;P&gt;I completely agree. &lt;A href="https://en.wikipedia.org/wiki/Histogram#Mathematical_definitions" target="_self"&gt;This Wikipedia article&lt;/A&gt; has about 10 different "rules of thumb" for determining bin sizes. In my experience, I've generally just accepted what JMP offers, and if I have questions about the shape, I switch to a Shadowgram, which avoids the bin size question altogether.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 17:00:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Syntax-and-meaning-of-numbers-in-a-DispatchSeg-Hist-Seg-1-Bin/m-p/593159#M79707</guid>
      <dc:creator>Jed_Campbell</dc:creator>
      <dc:date>2023-01-25T17:00:59Z</dc:date>
    </item>
  </channel>
</rss>

