<?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 Two Big Class.jmp drawings, how to use JSL to cut part of one of them, overlay on the other image? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Two-Big-Class-jmp-drawings-how-to-use-JSL-to-cut-part-of-one-of/m-p/703725#M88793</link>
    <description>&lt;P&gt;Let's draw the first picture&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
p1 = dt &amp;lt;&amp;lt; Graph Builder(
	Size( 497, 379 ),
	Show Control Panel( 0 ),
	Show Legend( 0 ),
	Variables( X( :weight ), Y( :height ), Color( :sex ) ),
	Elements(
		Bar( X, Y, Legend( 5 ), Bar Style( "Needle" ), Response Axis( "X" ), Summary Statistic( "Sum" ) )
	),
	SendToReport(
		Dispatch(
			{},
			"weight",
			ScaleBox,
			{Label Row(
				{Automatic Tick Marks( 0 ), Show Major Labels( 0 ), Show Major Ticks( 0 ),
				Show Minor Ticks( 0 )}
			)}
		),
		Dispatch(
			{},
			"height",
			ScaleBox,
			{Min( 49 ), Max( 71 ), Inc( 5 ), Minor Ticks( 1 ), Label Row(
				{Automatic Tick Marks( 0 ), Show Major Labels( 0 ), Show Major Ticks( 0 ),
				Show Minor Ticks( 0 )}
			)}
		),
		Dispatch( {}, "graph title", TextEditBox, {Set Text( "Big Class" )} ),
		Dispatch( {}, "X title", TextEditBox, {Hide( 1 )} ),
		Dispatch( {}, "Y title", TextEditBox, {Hide( 1 )} )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;For the second mapping, overlay the second crop portion onto the first image to get this effect&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;p2 = dt &amp;lt;&amp;lt; Graph Builder(
	Size( 171, 396 ),
	Show Control Panel( 0 ),
	Show Legend( 0 ),
	X Group Edge( "Bottom" ),
	Variables( X( :weight ), Y( :height ), Group X( :age, Size( 25 ), Show Title( 0 ) ), Color( :sex ) ),
	Elements(
		Bar( X, Y, Legend( 8 ), Bar Style( "Needle" ), Response Axis( "X" ), Summary Statistic( "Sum" ) )
	),
	SendToReport(
		Dispatch(
			{},
			"weight",
			ScaleBox,
			{Label Row(
				{Automatic Tick Marks( 0 ), Show Major Labels( 0 ), Show Major Ticks( 0 ),
				Show Minor Ticks( 0 )}
			)}
		),
		Dispatch(
			{},
			"height",
			ScaleBox,
			{Min( 49 ), Max( 71 ), Inc( 5 ), Minor Ticks( 1 ), Label Row(
				{Automatic Tick Marks( 0 ), Show Major Labels( 0 ), Show Major Ticks( 0 ),
				Show Minor Ticks( 0 )}
			)}
		),
		Dispatch( {}, "graph title", TextEditBox, {Set Text( "Big Class" )} ),
		Dispatch( {}, "X title", TextEditBox, {Hide( 1 )} ),
		Dispatch( {}, "Y title", TextEditBox, {Hide( 1 )} )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-11-29_07-30-54.png" style="width: 503px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59114i6EE2424BF2C5B155/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-11-29_07-30-54.png" alt="2023-11-29_07-30-54.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Nov 2023 23:52:27 GMT</pubDate>
    <dc:creator>lala</dc:creator>
    <dc:date>2023-11-28T23:52:27Z</dc:date>
    <item>
      <title>Two Big Class.jmp drawings, how to use JSL to cut part of one of them, overlay on the other image?</title>
      <link>https://community.jmp.com/t5/Discussions/Two-Big-Class-jmp-drawings-how-to-use-JSL-to-cut-part-of-one-of/m-p/703725#M88793</link>
      <description>&lt;P&gt;Let's draw the first picture&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
p1 = dt &amp;lt;&amp;lt; Graph Builder(
	Size( 497, 379 ),
	Show Control Panel( 0 ),
	Show Legend( 0 ),
	Variables( X( :weight ), Y( :height ), Color( :sex ) ),
	Elements(
		Bar( X, Y, Legend( 5 ), Bar Style( "Needle" ), Response Axis( "X" ), Summary Statistic( "Sum" ) )
	),
	SendToReport(
		Dispatch(
			{},
			"weight",
			ScaleBox,
			{Label Row(
				{Automatic Tick Marks( 0 ), Show Major Labels( 0 ), Show Major Ticks( 0 ),
				Show Minor Ticks( 0 )}
			)}
		),
		Dispatch(
			{},
			"height",
			ScaleBox,
			{Min( 49 ), Max( 71 ), Inc( 5 ), Minor Ticks( 1 ), Label Row(
				{Automatic Tick Marks( 0 ), Show Major Labels( 0 ), Show Major Ticks( 0 ),
				Show Minor Ticks( 0 )}
			)}
		),
		Dispatch( {}, "graph title", TextEditBox, {Set Text( "Big Class" )} ),
		Dispatch( {}, "X title", TextEditBox, {Hide( 1 )} ),
		Dispatch( {}, "Y title", TextEditBox, {Hide( 1 )} )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;For the second mapping, overlay the second crop portion onto the first image to get this effect&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;p2 = dt &amp;lt;&amp;lt; Graph Builder(
	Size( 171, 396 ),
	Show Control Panel( 0 ),
	Show Legend( 0 ),
	X Group Edge( "Bottom" ),
	Variables( X( :weight ), Y( :height ), Group X( :age, Size( 25 ), Show Title( 0 ) ), Color( :sex ) ),
	Elements(
		Bar( X, Y, Legend( 8 ), Bar Style( "Needle" ), Response Axis( "X" ), Summary Statistic( "Sum" ) )
	),
	SendToReport(
		Dispatch(
			{},
			"weight",
			ScaleBox,
			{Label Row(
				{Automatic Tick Marks( 0 ), Show Major Labels( 0 ), Show Major Ticks( 0 ),
				Show Minor Ticks( 0 )}
			)}
		),
		Dispatch(
			{},
			"height",
			ScaleBox,
			{Min( 49 ), Max( 71 ), Inc( 5 ), Minor Ticks( 1 ), Label Row(
				{Automatic Tick Marks( 0 ), Show Major Labels( 0 ), Show Major Ticks( 0 ),
				Show Minor Ticks( 0 )}
			)}
		),
		Dispatch( {}, "graph title", TextEditBox, {Set Text( "Big Class" )} ),
		Dispatch( {}, "X title", TextEditBox, {Hide( 1 )} ),
		Dispatch( {}, "Y title", TextEditBox, {Hide( 1 )} )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-11-29_07-30-54.png" style="width: 503px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59114i6EE2424BF2C5B155/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-11-29_07-30-54.png" alt="2023-11-29_07-30-54.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 23:52:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Two-Big-Class-jmp-drawings-how-to-use-JSL-to-cut-part-of-one-of/m-p/703725#M88793</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-11-28T23:52:27Z</dc:date>
    </item>
    <item>
      <title>回复： Two Big Class.jmp drawings, how to use JSL to cut part of one of them, overlay on the other image?</title>
      <link>https://community.jmp.com/t5/Discussions/Two-Big-Class-jmp-drawings-how-to-use-JSL-to-cut-part-of-one-of/m-p/703750#M88795</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The ultimate goal is to save the combined picture to a cell in another table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-11-29_08-57-18.png" style="width: 847px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59117i99C5F5DB415AC630/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-11-29_08-57-18.png" alt="2023-11-29_08-57-18.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 01:02:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Two-Big-Class-jmp-drawings-how-to-use-JSL-to-cut-part-of-one-of/m-p/703750#M88795</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-11-29T01:02:51Z</dc:date>
    </item>
  </channel>
</rss>

