<?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: Is it possible to combine two pictures in one expression column? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-combine-two-pictures-in-one-expression-column/m-p/227059#M45063</link>
    <description>&lt;P&gt;Nice!&lt;/P&gt;</description>
    <pubDate>Wed, 25 Sep 2019 10:36:51 GMT</pubDate>
    <dc:creator>Craige_Hales</dc:creator>
    <dc:date>2019-09-25T10:36:51Z</dc:date>
    <item>
      <title>Is it possible to combine two pictures in one expression column?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-combine-two-pictures-in-one-expression-column/m-p/226984#M45041</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table with two expression columns containing pictures. When I hover the mouse over the data points only one picture is displayed, despite both columns being labelled.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the easiest way to display both pictures at the same time? For instance, is it possible to combine&amp;nbsp;the two pictures in a single expression column so that when this is labelled, both pictures get displayed?&lt;/P&gt;&lt;P&gt;I have tried to group the expression columns but still, only one picture gets displayed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nuria&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 21:24:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-combine-two-pictures-in-one-expression-column/m-p/226984#M45041</guid>
      <dc:creator>nvi</dc:creator>
      <dc:date>2019-09-24T21:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to combine two pictures in one expression column?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-combine-two-pictures-in-one-expression-column/m-p/227043#M45061</link>
      <description>&lt;P&gt;Within JMP you have the ability to play with pictures.&amp;nbsp; Here is one possible way of creating what you need:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="twopic.PNG" style="width: 417px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/19454i27D432642EFDC97B/image-size/large?v=v2&amp;amp;px=999" role="button" title="twopic.PNG" alt="twopic.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class Families.jmp" );

pic = dt:picture[1];
pic2 = dt:picture[2];
hlb = H List Box( pp = Picture Box( pic ), Picture Box( pic2 ) );

outpic = hlb &amp;lt;&amp;lt; get picture;

dt:picture[3] = outpic;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 04:37:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-combine-two-pictures-in-one-expression-column/m-p/227043#M45061</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-09-25T04:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to combine two pictures in one expression column?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-combine-two-pictures-in-one-expression-column/m-p/227059#M45063</link>
      <description>&lt;P&gt;Nice!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 10:36:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-combine-two-pictures-in-one-expression-column/m-p/227059#M45063</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2019-09-25T10:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to combine two pictures in one expression column?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-combine-two-pictures-in-one-expression-column/m-p/227214#M45081</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is very nice. Thank you!&lt;/P&gt;&lt;P&gt;Now, I should have mentioned that I have never ever written a JMP script before.&lt;/P&gt;&lt;P&gt;I can see from your example what the scritp is doing. Taking the pictures from position 1 and 2 and putting them together in position 3, in the same "picture" column.&lt;/P&gt;&lt;P&gt;I have tried to implement that in my table by changing where it says "picture" to "the name of my column column" but it doesn't do anything. What am I missing?&lt;/P&gt;&lt;P&gt;Also, I should mention that I have two columns with 180 pictures each and would like to combine them in a third new column to have a double picture. Is there a way to do that for all of them at the same time?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nuria&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 18:10:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-combine-two-pictures-in-one-expression-column/m-p/227214#M45081</guid>
      <dc:creator>nvi</dc:creator>
      <dc:date>2019-09-25T18:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to combine two pictures in one expression column?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-combine-two-pictures-in-one-expression-column/m-p/227218#M45083</link>
      <description>&lt;P&gt;This will make a nice graphlet in a few weeks... :)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 18:39:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-combine-two-pictures-in-one-expression-column/m-p/227218#M45083</guid>
      <dc:creator>nascif_jmp</dc:creator>
      <dc:date>2019-09-25T18:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to combine two pictures in one expression column?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-combine-two-pictures-in-one-expression-column/m-p/227233#M45088</link>
      <description>Can you upload a sample of the script you are using, and also a sample of the data table the images are in?  That would be very helpful.</description>
      <pubDate>Wed, 25 Sep 2019 19:13:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-combine-two-pictures-in-one-expression-column/m-p/227233#M45088</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-09-25T19:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to combine two pictures in one expression column?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-combine-two-pictures-in-one-expression-column/m-p/237345#M46869</link>
      <description>&lt;P&gt;OK, it has been a "few weeks" and JMP 15.0 is finally out.&lt;/P&gt;
&lt;P&gt;This means you can take advantage of new features such as graphlets that were designed to support customizations such as this.&lt;/P&gt;
&lt;P&gt;Just RMB on the graph background, launch the Hover Label Editor and add the following script (based on&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp;solution, thx!) in the Graphlet Picture tab:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = local:_dataTable;
pic = dt:picture[local:_firstRow];
pic2Idx = If(local:_firstRow == NRows(), 1, local:_firstRow + 1);
pic2 = dt:picture[pic2Idx];
hlb = H List Box( pp = Picture Box( pic ), Picture Box( pic2 ) );
hlb &amp;lt;&amp;lt; get picture;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;No need to add new columns. A graph with pinned tooltips would look like the following:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="graphlet_two_images.jpg" style="width: 634px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/20523iAC6E6175FAA16F19/image-size/large?v=v2&amp;amp;px=999" role="button" title="graphlet_two_images.jpg" alt="graphlet_two_images.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For more information on graphlets, check&amp;nbsp;&lt;A href="https://www.jmp.com/content/dam/jmp/documents/en/support/jmp15/using-jmp.pdf" target="_blank" rel="noopener"&gt;https://www.jmp.com/content/dam/jmp/documents/en/support/jmp15/using-jmp.pdf&lt;/A&gt;, page 512.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 21:13:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-combine-two-pictures-in-one-expression-column/m-p/237345#M46869</guid>
      <dc:creator>nascif_jmp</dc:creator>
      <dc:date>2019-12-04T21:13:00Z</dc:date>
    </item>
  </channel>
</rss>

