<?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 How do I add shading Between Targets with Run Lines over top? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-add-shading-Between-Targets-with-Run-Lines-over-top/m-p/426444#M67627</link>
    <description>&lt;P&gt;Hi JMP Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've caught myself in a bit of a pickle trying to figure this out. I have a set of run data from 6 different runs that I'd like to plot as a line graph over the shaded area between our targets. Could someone explain how to do this? If it's possible. Below is the data and targets (lime green and black) that I have and I'd like to shade the area in light grey between the two target values and possibly remove the lines for the targets if that's possible.&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="lkramer_0-1634219384848.png" style="width: 472px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/36572i3A79FAEF29046167/image-dimensions/472x326?v=v2" width="472" height="326" role="button" title="lkramer_0-1634219384848.png" alt="lkramer_0-1634219384848.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Jun 2023 11:18:20 GMT</pubDate>
    <dc:creator>lkramer</dc:creator>
    <dc:date>2023-06-11T11:18:20Z</dc:date>
    <item>
      <title>How do I add shading Between Targets with Run Lines over top?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-add-shading-Between-Targets-with-Run-Lines-over-top/m-p/426444#M67627</link>
      <description>&lt;P&gt;Hi JMP Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've caught myself in a bit of a pickle trying to figure this out. I have a set of run data from 6 different runs that I'd like to plot as a line graph over the shaded area between our targets. Could someone explain how to do this? If it's possible. Below is the data and targets (lime green and black) that I have and I'd like to shade the area in light grey between the two target values and possibly remove the lines for the targets if that's possible.&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="lkramer_0-1634219384848.png" style="width: 472px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/36572i3A79FAEF29046167/image-dimensions/472x326?v=v2" width="472" height="326" role="button" title="lkramer_0-1634219384848.png" alt="lkramer_0-1634219384848.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:18:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-add-shading-Between-Targets-with-Run-Lines-over-top/m-p/426444#M67627</guid>
      <dc:creator>lkramer</dc:creator>
      <dc:date>2023-06-11T11:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add shading Between Targets with Run Lines over top?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-add-shading-Between-Targets-with-Run-Lines-over-top/m-p/426506#M67628</link>
      <description>&lt;P&gt;You might be able to use the 'Area' element in Graph Builder with style 'Range'. For example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-10-14 at 15.56.41.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/36573iA9AFBD055E2A6F2C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2021-10-14 at 15.56.41.png" alt="Screenshot 2021-10-14 at 15.56.41.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;NamesDefaultToHere(1);

n = 10;
dt = NewTable("Two Traces",
		NewColumn("x", Numeric, Continous, Values(Transpose(Index(1, n, 1)))),
		NewColumn("y1", Numeric, Continous, Values(J(n, 1, RandomInteger(1, 5)))),
		NewColumn("y2", Numeric, Continous, Values(J(n, 1, RandomInteger(5, 10)))),
	);

gb = dt &amp;lt;&amp;lt; Graph Builder(
				Variables( X( :x ), Y( :y1 ), Y( :y2, Position( 1 ) ) ),
				Elements(
					Area( X, Y( 1 ), Y( 2 ), Legend( 7 ), Area Style( "Range" ) ),
					Line( X, Y( 1 ), Y( 2 ), Legend( 8 ) )
				),
				SendToReport(
					Dispatch(
						{},
						"400",
						ScaleBox,
						{Legend Model(
							7,
							Properties(
								0,
								{Fill Color( 32 ), Transparency( 0.2 )},
								Item ID( "y1..y2", 1 )
							)
						)}
					)
				)
			);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Oct 2021 14:59:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-add-shading-Between-Targets-with-Run-Lines-over-top/m-p/426506#M67628</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2021-10-14T14:59:19Z</dc:date>
    </item>
  </channel>
</rss>

