<?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: How to add a marker line to the surface part of the green area and get rid of the black box lines on the top and right side？ in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-add-a-marker-line-to-the-surface-part-of-the-green-area/m-p/720604#M90280</link>
    <description>&lt;P&gt;Thanks！It works！&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jan 2024 07:00:31 GMT</pubDate>
    <dc:creator>lehaofeng</dc:creator>
    <dc:date>2024-01-31T07:00:31Z</dc:date>
    <item>
      <title>How to add a marker line to the surface part of the green area and get rid of the black box lines on the top and right side？</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-a-marker-line-to-the-surface-part-of-the-green-area/m-p/719588#M90216</link>
      <description>&lt;P&gt;I need to draw an x between 2 and 4 to a shaded area, but have hit a snag, the surface part doesn't feel like there is a good way to do it, and I need to find the x coordinates of the point where the two lines intersect.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And how to get rid of the black box lines on the top and right side.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);

new window("Ex",
	gb=graph box(
		framesize(300,300),
		x scale(-6,6),
		y scale(0,20),
		double buffer,
		pen color(3);
		y function(x*x,x);
		pen color(4);
		Vline(2,0,4);
		vline(4,0,16);
		yfunction(x-2,x,max(4),min(2));
		yfunction(x-2.5,x,max(4),min(2));
		yfunction(x-3,x,max(4),min(2));
		yfunction(x-3.5,x,max(4),min(2));
		yfunction(x,x,max(4),min(2));
		yfunction(x-0.5,x,max(4),min(2));
		yfunction(x-1,x,max(4),min(2));
		yfunction(x-1.5,x,max(4),min(2));
		yfunction(x+0.5,x,max(4),min(2));
		yfunction(x+1,x,max(4),min(2));
		yfunction(x+1.5,x,max(4),min(2));
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 Jan 2024 05:28:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-a-marker-line-to-the-surface-part-of-the-green-area/m-p/719588#M90216</guid>
      <dc:creator>lehaofeng</dc:creator>
      <dc:date>2024-01-30T05:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a marker line to the surface part of the green area and get rid of the black box lines on the top and right side？</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-a-marker-line-to-the-surface-part-of-the-green-area/m-p/719840#M90220</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/33497"&gt;@lehaofeng&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't actually get all you're asking. So let me help you with (I think your asking about) the black lines top/right:&lt;/P&gt;
&lt;P&gt;Simply Right-Click in the Graph &amp;gt; Border &amp;gt; deselect 'Top' and 'Right'&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Florian_Vogt_0-1706608076608.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60706iA263B4B643E66208/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Florian_Vogt_0-1706608076608.png" alt="Florian_Vogt_0-1706608076608.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Will give you this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Florian_Vogt_1-1706608149506.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60707i89E4D498059FF576/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Florian_Vogt_1-1706608149506.png" alt="Florian_Vogt_1-1706608149506.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Florian&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 09:49:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-a-marker-line-to-the-surface-part-of-the-green-area/m-p/719840#M90220</guid>
      <dc:creator>Florian_Vogt</dc:creator>
      <dc:date>2024-01-30T09:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a marker line to the surface part of the green area and get rid of the black box lines on the top and right side？</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-a-marker-line-to-the-surface-part-of-the-green-area/m-p/720027#M90225</link>
      <description>&lt;P&gt;Thanks！&lt;SPAN&gt;I hope to achieve the effect as shown in the diagram below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lehaofeng_0-1706624493302.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60710i309206D28C6BD06E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lehaofeng_0-1706624493302.png" alt="lehaofeng_0-1706624493302.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 14:21:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-a-marker-line-to-the-surface-part-of-the-green-area/m-p/720027#M90225</guid>
      <dc:creator>lehaofeng</dc:creator>
      <dc:date>2024-01-30T14:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a marker line to the surface part of the green area and get rid of the black box lines on the top and right side？</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-a-marker-line-to-the-surface-part-of-the-green-area/m-p/720111#M90231</link>
      <description>&lt;P&gt;You might use a polygon instead with a colored fill pattern.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here( 1 );

// integration resolution
nSteps = 25;

// function range for AUC
xMin = 2;
xMax = 3;

// define function
fxn = Function( {x},
	Return( x:*x );
);

// define polygon along top
polyX = Index( xMin, xMax, 1/nSteps );
polyY = fxn( polyX );

// finish (close) polygon
polyX ||= Transpose( Matrix( Eval List( List( xMax, xMin, xMin) ) ) );
polyy ||= Transpose( Matrix( Eval List( List( 0, 0, 4 ) ) ) );

New Window( "AUC",
	Outline Box( "Plot",
		Graph Box(
			X Scale( -5, 5 ),
			Y Scale( 0, 25 ),
			Pen Color( "Black" );
			Y Function( fxn( x ), x );
			Fill Color( "Green" );
			Fill Pattern( "right slant light" );
			Polygon( polyX, polyY );
		)
	),
	Outline Box( "AUC",
		Table Box(
			String Col Box( "Method", { "Polygon", "Calculus" } ),
			Number Col Box( "Estimate", { Polygon Area( polyX, polyY ), 19/3 } )
		)
	)
);&lt;/CODE&gt;&lt;/PRE&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="poly.JPG" style="width: 399px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60759i7BB5FFDA0EA0DB9A/image-size/large?v=v2&amp;amp;px=999" role="button" title="poly.JPG" alt="poly.JPG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 18:30:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-a-marker-line-to-the-surface-part-of-the-green-area/m-p/720111#M90231</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2024-01-30T18:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a marker line to the surface part of the green area and get rid of the black box lines on the top and right side？</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-a-marker-line-to-the-surface-part-of-the-green-area/m-p/720604#M90280</link>
      <description>&lt;P&gt;Thanks！It works！&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 07:00:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-a-marker-line-to-the-surface-part-of-the-green-area/m-p/720604#M90280</guid>
      <dc:creator>lehaofeng</dc:creator>
      <dc:date>2024-01-31T07:00:31Z</dc:date>
    </item>
  </channel>
</rss>

