<?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 Graph Builder: creating error bands instead of bars? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Graph-Builder-creating-error-bands-instead-of-bars/m-p/43203#M25017</link>
    <description>&lt;P&gt;I have data I want to plot in a line chart as mean +/- standard error. However, I would like to plot the standard errors as shaded bands above and below my mean line rather than as individual error bars. I'd like the end result to look something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="medium.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/7187i043D9A50A3ABE431/image-size/large?v=v2&amp;amp;px=999" role="button" title="medium.png" alt="medium.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I know I can plot the mean+SE and mean-SE as separate lines but even then I can't figure out how to shade the area in between. Any ideas? Either in point-and-click or a script?&lt;/P&gt;</description>
    <pubDate>Mon, 14 Aug 2017 18:41:27 GMT</pubDate>
    <dc:creator>bobzsun</dc:creator>
    <dc:date>2017-08-14T18:41:27Z</dc:date>
    <item>
      <title>Graph Builder: creating error bands instead of bars?</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-creating-error-bands-instead-of-bars/m-p/43203#M25017</link>
      <description>&lt;P&gt;I have data I want to plot in a line chart as mean +/- standard error. However, I would like to plot the standard errors as shaded bands above and below my mean line rather than as individual error bars. I'd like the end result to look something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="medium.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/7187i043D9A50A3ABE431/image-size/large?v=v2&amp;amp;px=999" role="button" title="medium.png" alt="medium.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I know I can plot the mean+SE and mean-SE as separate lines but even then I can't figure out how to shade the area in between. Any ideas? Either in point-and-click or a script?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 18:41:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-creating-error-bands-instead-of-bars/m-p/43203#M25017</guid>
      <dc:creator>bobzsun</dc:creator>
      <dc:date>2017-08-14T18:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder: creating error bands instead of bars?</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-creating-error-bands-instead-of-bars/m-p/43223#M25021</link>
      <description>&lt;P&gt;unfortunately, this might be easier to describe with a little JSL than it is with a series of steps.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt &amp;lt;&amp;lt; Graph Builder(
	Size( 741, 350 ),
	Show Control Panel( 0 ),
	Variables(
		X( :height ),
		Y( :weight ),
		Y( :plus, Position( 1 ) ),
		Y( :minus, Position( 1 ) )
	),
	Elements(
		Line( X, Y( 1 ), Legend( 6 ) ),
		Area( X, Y( 2 ), Y( 3 ), Legend( 7 ), Area Style( "Range" ) )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The key is to add your center and upper and lower columns to the Y axis. &amp;nbsp;(in Graph Builder)&lt;/P&gt;
&lt;P&gt;Then, remove all the other graph elements, followed by adding the connect the dots line, and then the overlay lines (Area).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next, go into the variables role for the line and uncheck your upper and lower column. Go into the Area, and make the type a Range, go into the variables and uncheck the center column. (don't uncheck the Y column)&lt;/P&gt;
&lt;P&gt;If the line isnt visible, ie. behind the range area line, then right click on the white space of the graph, go to Customize, and reoder teh elements. &amp;nbsp;(little plus/minus buttons)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 23:11:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-creating-error-bands-instead-of-bars/m-p/43223#M25021</guid>
      <dc:creator>Byron_JMP</dc:creator>
      <dc:date>2017-08-14T23:11:37Z</dc:date>
    </item>
  </channel>
</rss>

