<?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: &amp;quot;make table of graphs like this&amp;quot; in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/quot-make-table-of-graphs-like-this-quot/m-p/55369#M31323</link>
    <description>&lt;P&gt;in oder to better undrstand the issue. i report part of my script:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// the entire loop scan a table and  for each subchart  create graph// 
For( j = 1, j &amp;lt;= N Items( chart_title ), j++,
selectDT[1] &amp;lt;&amp;lt; Select Where( :SPC_Chart == chart_title[j] );
 　
display = selectDT[1] &amp;lt;&amp;lt; subset( output table name( chart_title[j] ) );
display( j ) &amp;lt;&amp;lt; Get name;
test_CTRL; // this is an expression  that make some graphs
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so, i would like caputure the graph created by &lt;FONT face="Consolas" size="2" color="#800000"&gt;test_CTRL&lt;/FONT&gt; and save it in a data table using &lt;FONT color="#0000ff"&gt;make table of graphs like this&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;/*New Table( "Chart",
&amp;nbsp;
Add Rows( 1 ),
New Column( "P", Expression, "None", Set Values( {New Image( Char To Blob( a ), "png" )} ) ),
New Column( "Y", Character, "Nominal", Set Values( chart_title[j] ) )
)*/
);
&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Apr 2018 21:09:33 GMT</pubDate>
    <dc:creator>gianpaolo</dc:creator>
    <dc:date>2018-04-23T21:09:33Z</dc:date>
    <item>
      <title>"make table of graphs like this"</title>
      <link>https://community.jmp.com/t5/Discussions/quot-make-table-of-graphs-like-this-quot/m-p/55363#M31321</link>
      <description>&lt;P&gt;Good morning&lt;/P&gt;&lt;P&gt;i would like to script this JMP function&amp;nbsp;&amp;nbsp; "make table of graphs like this" , order to save my picture directly into the associated JMP table.&lt;/P&gt;&lt;P&gt;someone can help me&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 09:18:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/quot-make-table-of-graphs-like-this-quot/m-p/55363#M31321</guid>
      <dc:creator>gianpaolo</dc:creator>
      <dc:date>2018-04-23T09:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: "make table of graphs like this"</title>
      <link>https://community.jmp.com/t5/Discussions/quot-make-table-of-graphs-like-this-quot/m-p/55369#M31323</link>
      <description>&lt;P&gt;in oder to better undrstand the issue. i report part of my script:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// the entire loop scan a table and  for each subchart  create graph// 
For( j = 1, j &amp;lt;= N Items( chart_title ), j++,
selectDT[1] &amp;lt;&amp;lt; Select Where( :SPC_Chart == chart_title[j] );
 　
display = selectDT[1] &amp;lt;&amp;lt; subset( output table name( chart_title[j] ) );
display( j ) &amp;lt;&amp;lt; Get name;
test_CTRL; // this is an expression  that make some graphs
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so, i would like caputure the graph created by &lt;FONT face="Consolas" size="2" color="#800000"&gt;test_CTRL&lt;/FONT&gt; and save it in a data table using &lt;FONT color="#0000ff"&gt;make table of graphs like this&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;/*New Table( "Chart",
&amp;nbsp;
Add Rows( 1 ),
New Column( "P", Expression, "None", Set Values( {New Image( Char To Blob( a ), "png" )} ) ),
New Column( "Y", Character, "Nominal", Set Values( chart_title[j] ) )
)*/
);
&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 21:09:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/quot-make-table-of-graphs-like-this-quot/m-p/55369#M31323</guid>
      <dc:creator>gianpaolo</dc:creator>
      <dc:date>2018-04-23T21:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: "make table of graphs like this"</title>
      <link>https://community.jmp.com/t5/Discussions/quot-make-table-of-graphs-like-this-quot/m-p/55375#M31326</link>
      <description>&lt;P&gt;This example does the work one-at-a-time because it looks like you might have some specific requirements about what data you want to keep.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$sample_data/big class.jmp" );
picDt = New Table( "dist pics",  New Column( "pics", Expression, "None", Set Values( {} ),Set Display Width( 250 ) ) );

ages = {14, 16, 17};

For( j = 1, j &amp;lt;= N Items( ages ), j++,
	dt &amp;lt;&amp;lt; Select Where( dt:age == ages[j] );
	subsetDt = dt &amp;lt;&amp;lt; subset( output table name( Char( ages[j] ) ) );
	dist = subsetDt &amp;lt;&amp;lt; Distribution(
		Continuous Distribution( Column( subsetDt:weight ), Quantiles( 0 ), Summary Statistics( 0 ), Outlier Box Plot( 0 ) )
	);
	pic = (Report( dist )[Outline Box( "weight" )]) &amp;lt;&amp;lt; getpicture;
	dist &amp;lt;&amp;lt; closewindow();
	Close( subsetDt, "nosave" );
	picDt &amp;lt;&amp;lt; addrows( 1 );
	picDt:pics[j] = pic;
);


picDt&amp;lt;&amp;lt;Set Cell Height( 100 );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Three distribution pictures in a table" style="width: 649px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/10464i098D00E8524A3EF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Three distribution pictures in a table" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Three distribution pictures in a table&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Use JSL variables to keep track of the tables: dt, subsetDt, picDt. JSL often needs you to be specific about the table when there is more than one being used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 14:12:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/quot-make-table-of-graphs-like-this-quot/m-p/55375#M31326</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2018-04-23T14:12:59Z</dc:date>
    </item>
  </channel>
</rss>

