<?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: Merging graphs in same window in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Merging-graphs-in-same-window/m-p/78094#M36336</link>
    <description>&lt;P&gt;Can you use graph builder and drag the lot number to the "Wrap" role?&amp;nbsp; That will automatically create a separate mini-graph for each lot number.&lt;/P&gt;</description>
    <pubDate>Fri, 05 Oct 2018 19:03:54 GMT</pubDate>
    <dc:creator>pmroz</dc:creator>
    <dc:date>2018-10-05T19:03:54Z</dc:date>
    <item>
      <title>Merging graphs in same window</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-graphs-in-same-window/m-p/78082#M36335</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running a loop that subsets a data table and plots a variability chart from the subset table. Script is something like below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//lot list is a string list...&lt;/P&gt;&lt;P&gt;lot_count = Length( lot_list);&lt;/P&gt;&lt;P&gt;For( i= 1, i &amp;lt;= lot_count, jj++,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; subset a data table from main table depending on some criteria&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; do gymnastics&amp;nbsp;with the subset table and plot a variablity chart&lt;/P&gt;&lt;P&gt;); // for loop closed. At the end I will have a number of variablity charts in separate windows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What I wanted to do is to merge all the plots in same window...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My approach is to use something like this after the loop is finished:&amp;nbsp;&lt;/P&gt;&lt;P&gt;New Window&lt;STRONG&gt;(&lt;/STRONG&gt;&amp;nbsp;"Combined graphs", lineup box&lt;STRONG&gt;(&lt;/STRONG&gt;ncol&lt;STRONG&gt;(2)&lt;/STRONG&gt;, v1, v2, v3,v4&lt;STRONG&gt;)&lt;/STRONG&gt;;&lt;STRONG&gt;)&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;But I am having trouble in:&lt;/P&gt;&lt;P&gt;1) Assigning a variable v1, v2, v3, ... to a variablity chart based on the&amp;nbsp;interation number within the loop&lt;/P&gt;&lt;P&gt;2) Provide dynamic list to New Window(), where each variable of list {v1, v2, v3, ...} is refering to a variablity chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help! A different approach would be acceptable!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 17:53:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-graphs-in-same-window/m-p/78082#M36335</guid>
      <dc:creator>aumair</dc:creator>
      <dc:date>2018-10-05T17:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Merging graphs in same window</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-graphs-in-same-window/m-p/78094#M36336</link>
      <description>&lt;P&gt;Can you use graph builder and drag the lot number to the "Wrap" role?&amp;nbsp; That will automatically create a separate mini-graph for each lot number.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 19:03:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-graphs-in-same-window/m-p/78094#M36336</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2018-10-05T19:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Merging graphs in same window</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-graphs-in-same-window/m-p/78106#M36338</link>
      <description>Thanks for your suggestion. I wanted this to be fully automated - would look into graph builder scripting! Also after subsetting the table, I am doing various things with the subset table. If I do these operation on the main table, it would get a bit complex - sorry probably difficult to explain :)&lt;/img&gt;</description>
      <pubDate>Fri, 05 Oct 2018 20:24:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-graphs-in-same-window/m-p/78106#M36338</guid>
      <dc:creator>aumair</dc:creator>
      <dc:date>2018-10-05T20:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Merging graphs in same window</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-graphs-in-same-window/m-p/78117#M36345</link>
      <description>&lt;P&gt;Here is a simple script illustrating what you are asking for:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dt = Open( "$SAMPLE_DATA/blood pressure.jmp" );

// get the numerical columns
numColumnNames = dt &amp;lt;&amp;lt; get column names( numeric, string );

// Create an output display window
New Window( "Combined graphs", lub = Lineup Box( N Col( 2 ) ) );

// Loop accross the variables and add them to the Charts to the display
For( i = 2, i &amp;lt;= N Items( numColumnNames ), i++,
	vc = Variability Chart(invisible, Y( Eval( numColumnNames[i] ) ), X( :dose ) );
	lub &amp;lt;&amp;lt; append( Report( vc ) );
	vc &amp;lt;&amp;lt; close window;
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 06 Oct 2018 00:39:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-graphs-in-same-window/m-p/78117#M36345</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-10-06T00:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Merging graphs in same window</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-graphs-in-same-window/m-p/78134#M36346</link>
      <description>&lt;P&gt;Hi txnelson,&lt;/P&gt;&lt;P&gt;Thanks for the suggestion.&lt;/P&gt;&lt;P&gt;I tried with one original image and a crop image manage combine to a new window and save in journal. But somehow the original image was replaced by the crop image. and the size of the image were the same.&amp;nbsp; Wander if you have a way fix it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Names Default To Here( 1 );&lt;BR /&gt;img = Open( "$SAMPLE_IMAGES/tile.jpg", JPG );&lt;BR /&gt;nw1 = New Window( "Original Image", img );&lt;BR /&gt;{w, h} = img &amp;lt;&amp;lt; Get Size;&lt;BR /&gt;img &amp;lt;&amp;lt; Crop( Left( 50 ), Right( w - 50 ), Top( 50 ), Bottom( h - 50 ) );&lt;/P&gt;&lt;P&gt;nw2 = New Window( "Smaller Image", img );&lt;/P&gt;&lt;P&gt;nw = New Window( "Combined Images", Lineup Box( N Col( 2 ), nw1, nw2 ) );&lt;BR /&gt;nw &amp;lt;&amp;lt; Save Journal( "/C:/Users/User/Desktop/My Processed Image Journal.jrn" );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TQ&lt;/P&gt;&lt;P&gt;ECLSYAW&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Oct 2018 09:46:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-graphs-in-same-window/m-p/78134#M36346</guid>
      <dc:creator>LSYAW</dc:creator>
      <dc:date>2018-10-06T09:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Merging graphs in same window</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-graphs-in-same-window/m-p/78153#M36353</link>
      <description>&lt;P&gt;Thanks a lot txnelson!!&amp;nbsp;&lt;/P&gt;&lt;P&gt;append() made it so easy - and I didn't know about that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Oct 2018 17:05:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-graphs-in-same-window/m-p/78153#M36353</guid>
      <dc:creator>aumair</dc:creator>
      <dc:date>2018-10-06T17:05:48Z</dc:date>
    </item>
  </channel>
</rss>

