<?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: Getting Line scan data from contour plots in jmp in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54864#M31019</link>
    <description>&lt;P&gt;I have experience with semiconductor data, so I understand wanting to do an analysis for each wafer or each structure.&amp;nbsp; From your statement "&lt;SPAN&gt;It works for one object. If there are multiple objects, I'm not sure how to group it.&amp;nbsp;" I am assuming your file has a column called wafer and/or structure.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;First of all, a data table does not need to be named dt. I do repurpose variable references, but calling all these tables dt could lead to confusion in a larger script.&amp;nbsp; Name collisions after syntax and typos are the most frequent causes for scripts not working.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For your script, if you are okay with all the graphs placed sequentially in a journal here's my suggested modification to your script to handle a "by group". There is more below this script.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;subp = dt &amp;lt;&amp;lt; Bivariate ( Y(:Name( "Rdson" )), X(:X), By(:Wafer) );
xx = subp &amp;lt;&amp;lt; Find (Outline Box ("Bivariate ?") ); 

//this returns all outline boxes with Bivariate in the title, should be one for each wafer

//This adds the title but maintains the By Wafer = xxxxxxx
For(i=1, i &amp;lt;=nitems(xx), i++,
  ttl = xx[i] &amp;lt;&amp;lt; get title;
  p = Contains( ttl, "By");  //find the position of the word By
  xx[i] &amp;lt;&amp;lt; Set Title(" Rdson Contour at Y==0 " || substr(ttl, p, 100) ); //something large
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;However, there are other methods to allow you to layout a report so you can see each wafer with each of the scans side-by-side.&amp;nbsp; Below is an example using Big Class. I have attached a script (see files). Not having a test table, I cannot gurantee it will work, but you might want to try it.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names default to here(1);
open("$sample_data/Big Class.jmp");

nw = new window("example", lineupbox(ncol(2), Distribution(
	Continuous Distribution( Column( :weight, Horizontal Layout(1) ) ),
	Histograms Only,
	By( :age, :sex )
)));

nw &amp;lt;&amp;lt; journal window();&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Apr 2018 01:39:35 GMT</pubDate>
    <dc:creator>gzmorgan0</dc:creator>
    <dc:date>2018-04-12T01:39:35Z</dc:date>
    <item>
      <title>Getting Line scan data from contour plots in jmp</title>
      <link>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54713#M30929</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have contour plot and I'd like to look at how the data varies along a line in the contour plot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For eg, the contour plot is a film thickness contour plot. And I'd like to see how the thickness varies along a line I draw anywhere on the contour plot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yoga&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 20:14:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54713#M30929</guid>
      <dc:creator>Yoga</dc:creator>
      <dc:date>2018-04-09T20:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Line scan data from contour plots in jmp</title>
      <link>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54726#M30936</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/11552"&gt;@Yoga&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Are you saying you want to plot data points on top of your contour plot?&amp;nbsp; If so, see this thread: &lt;A href="https://community.jmp.com/t5/Discussions/Adding-specific-data-points-with-labels-to-a-contour-plot/m-p/52455" target="_self"&gt;https://community.jmp.com/t5/Discussions/Adding-specific-data-points-with-labels-to-a-contour-plot/m-p/52455&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 02:24:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54726#M30936</guid>
      <dc:creator>cwillden</dc:creator>
      <dc:date>2018-04-10T02:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Line scan data from contour plots in jmp</title>
      <link>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54727#M30937</link>
      <description>&lt;P&gt;Hi Cameron,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not exactly. I'm looking for the parameter variation when I draw a line from one end to the other of my contour plot. I'll try illustrate it in the best way possible here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a contour plot of film thickness varying on a substrate. Then, I could choose any given X (or Y) and draw a line from one end to the other. Suppose, I want all points at Y=0 but X varying from -50 to +50. I draw a horizontal line from -50 to +50. Then, I would like to see how the thickness varies across that line and a plot show up on the side.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could do this in a winding way. Take the data set. Then, take another subset of all data points with Y=0. Then plot the thickness vs X (for all Y=0).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like that this can be done at the background when I just draw a line whereever.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 02:46:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54727#M30937</guid>
      <dc:creator>Yoga</dc:creator>
      <dc:date>2018-04-10T02:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Line scan data from contour plots in jmp</title>
      <link>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54728#M30938</link>
      <description>Are you describing a cross-section of the film like a cross web profile at a particular slice along the down web direction? If so, I don’t think there’s any way to get that from the contour profiler.&lt;BR /&gt;&lt;BR /&gt;Do you need to draw a line that interpolates between data point in that cross section like a smoothing spline?&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Apr 2018 03:17:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54728#M30938</guid>
      <dc:creator>cwillden</dc:creator>
      <dc:date>2018-04-10T03:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Line scan data from contour plots in jmp</title>
      <link>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54729#M30939</link>
      <description>&lt;P&gt;Hi Cameron,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No, not a smoothing spline. It looks like there is no way to get it now unless I follow the winding way of getting subsets of data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It shouldn't be too hard though to add that functionality in jmp. It is usually present in lot of softwares which map parameters in the X-Y to give a contour plot. And we can play to see how it varies along any line we draw through the contour.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 04:32:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54729#M30939</guid>
      <dc:creator>Yoga</dc:creator>
      <dc:date>2018-04-10T04:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Line scan data from contour plots in jmp</title>
      <link>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54731#M30942</link>
      <description>&lt;P&gt;There are multiple methods to get a cross sectional view of a contour.&amp;nbsp; However, it might not be a built-in or single statement that might be available in other programs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached a script called &lt;STRONG&gt;ContourCrossSection.jsl&lt;/STRONG&gt;. It uses the JMP Sample Data Little Pond.jmp The data represents depths of a pond. It creates a contour, a single cross section view (using Fit Y by X, Bivariate) and a comparative view of 3 cross sections (using Graph Builder).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are not familiar with JSL, just run the program. I have tested it in JMP12, 13, and 14. The key is the option that you can get from the contour plot options.&amp;nbsp; On the JMP countour plot select the red traingle menu, select &lt;STRONG&gt;Save&lt;/STRONG&gt;, then select &lt;STRONG&gt;Generate Grid&lt;/STRONG&gt;.&amp;nbsp; &amp;nbsp;Specify the number of X and Y slices and an xygrid is generated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are a few other ideas:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If the number of sample points is not dense, consider creating a smoother curve with a Neural Net or other platform. Sometimes the triangulation is off. With a function there are multple methods to get a cross section.&lt;/LI&gt;&lt;LI&gt;Learn to use the Contour Profiler with a mesh. Then add a local data filter fom the menu an set the range of the Y or X to somthing like 50 &amp;lt;=Y &amp;lt;= 50.1 This is all interactive. There are other options in the profiler.&lt;/LI&gt;&lt;LI&gt;If you can get this easily from another program, for which you have access, you can access R, MatLab, SAS, and in JMP14, Python using JSL and Run Program.&amp;nbsp; &amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 10:39:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54731#M30942</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2018-04-10T10:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Line scan data from contour plots in jmp</title>
      <link>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54748#M30957</link>
      <description>&lt;P&gt;Hi Morgan,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the detailed reply. I'll try and keep you (all) posted.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 15:04:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54748#M30957</guid>
      <dc:creator>Yoga</dc:creator>
      <dc:date>2018-04-10T15:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Line scan data from contour plots in jmp</title>
      <link>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54774#M30964</link>
      <description>&lt;P&gt;Hi Morgan,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is exactly what I want. I normally do this sub-routine without a script. This script helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I'm trying to figure out how to integrate this script into my current requirement.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will keep you posted.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 17:53:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54774#M30964</guid>
      <dc:creator>Yoga</dc:creator>
      <dc:date>2018-04-10T17:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Line scan data from contour plots in jmp</title>
      <link>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54861#M31016</link>
      <description>&lt;P&gt;Hi Morgan (and all),&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I managed to get it working for my data table. I also realized, I don't need to go via contour plot all the time. I could make a subtable where all X==0, and get the data along Y and vice-versa, and any other coordinates I like is also possible. The script you provided helped quite a bit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I'm trying to figure out how to do it across multiple objects. My sample script is below. It works for one object. If there are multiple objects, I'm not sure how to group it. Any inputs on this? I would appreciate it a lot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my script, right now I get all the data for one object. I however, have to repeat the same on another object. All objects fall into one category, say "Wafers" or "Structure"...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;Names Default to Here(1);&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;dt = open("C:/Users/yoga_***/***.jmp");&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;dt &amp;lt;&amp;lt; Select Where (:Y == 0);&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;dt &amp;lt;&amp;lt; Subset(Output Table("Subset"),Selected Rows(1), Selected Columns (0));&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;dt = Data Table("Subset");&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;subp = dt &amp;lt;&amp;lt; Bivariate ( Y(:Name( "Rdson" )), X(:X) );&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;report(subp)[OutlineBox(1)] &amp;lt;&amp;lt; Set Title( "Rdson Contour at Y==0" );&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;subp &amp;lt;&amp;lt; Journal Window();&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;subp &amp;lt;&amp;lt; Close Window();&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;dt = open("C:/Users/yoga_***/***.jmp");&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;dt &amp;lt;&amp;lt; Select Where (:X == 0);&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;dt &amp;lt;&amp;lt; Subset(Output Table("Subset2"),Selected Rows(1), Selected Columns (0));&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;dt = Data Table("Subset2");&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;subp = dt &amp;lt;&amp;lt; Bivariate ( Y(:Name( "Rdson" )), X(:Y) );&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;report(subp)[OutlineBox(1)] &amp;lt;&amp;lt; Set Title( "Rdson Contour at X==0" );&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;subp &amp;lt;&amp;lt; Journal Window();&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;subp &amp;lt;&amp;lt; Close Window();&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;dt = open("C:/Users/yoga_***/***.jmp");&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;dt &amp;lt;&amp;lt; Select Where (0.95 &amp;lt; :X/:Y &amp;lt; 1.05);&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;dt &amp;lt;&amp;lt; Subset(Output Table("Subset3"),Selected Rows(1), Selected Columns (0));&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;dt = Data Table("Subset3");&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;subp = dt &amp;lt;&amp;lt; Bivariate ( Y(:Name( "Rdson" )), X(:X) );&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;report(subp)[OutlineBox(1)] &amp;lt;&amp;lt; Set Title( "Rdson Contour at X==Y" );&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;subp &amp;lt;&amp;lt; Journal Window();&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;subp &amp;lt;&amp;lt; Close Window();&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;close(Data Table("Subset"), NoSave);&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;close(Data Table("Subset2"), NoSave);&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;close(Data Table("Subset3"), NoSave);&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 23:34:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54861#M31016</guid>
      <dc:creator>Yoga</dc:creator>
      <dc:date>2018-04-11T23:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Line scan data from contour plots in jmp</title>
      <link>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54864#M31019</link>
      <description>&lt;P&gt;I have experience with semiconductor data, so I understand wanting to do an analysis for each wafer or each structure.&amp;nbsp; From your statement "&lt;SPAN&gt;It works for one object. If there are multiple objects, I'm not sure how to group it.&amp;nbsp;" I am assuming your file has a column called wafer and/or structure.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;First of all, a data table does not need to be named dt. I do repurpose variable references, but calling all these tables dt could lead to confusion in a larger script.&amp;nbsp; Name collisions after syntax and typos are the most frequent causes for scripts not working.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For your script, if you are okay with all the graphs placed sequentially in a journal here's my suggested modification to your script to handle a "by group". There is more below this script.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;subp = dt &amp;lt;&amp;lt; Bivariate ( Y(:Name( "Rdson" )), X(:X), By(:Wafer) );
xx = subp &amp;lt;&amp;lt; Find (Outline Box ("Bivariate ?") ); 

//this returns all outline boxes with Bivariate in the title, should be one for each wafer

//This adds the title but maintains the By Wafer = xxxxxxx
For(i=1, i &amp;lt;=nitems(xx), i++,
  ttl = xx[i] &amp;lt;&amp;lt; get title;
  p = Contains( ttl, "By");  //find the position of the word By
  xx[i] &amp;lt;&amp;lt; Set Title(" Rdson Contour at Y==0 " || substr(ttl, p, 100) ); //something large
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;However, there are other methods to allow you to layout a report so you can see each wafer with each of the scans side-by-side.&amp;nbsp; Below is an example using Big Class. I have attached a script (see files). Not having a test table, I cannot gurantee it will work, but you might want to try it.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names default to here(1);
open("$sample_data/Big Class.jmp");

nw = new window("example", lineupbox(ncol(2), Distribution(
	Continuous Distribution( Column( :weight, Horizontal Layout(1) ) ),
	Histograms Only,
	By( :age, :sex )
)));

nw &amp;lt;&amp;lt; journal window();&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 01:39:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54864#M31019</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2018-04-12T01:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Line scan data from contour plots in jmp</title>
      <link>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54870#M31023</link>
      <description>&lt;P&gt;Hi Morgan,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again. Much appreciate it. Will modify my scripts accordingly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yoga&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 03:26:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/54870#M31023</guid>
      <dc:creator>Yoga</dc:creator>
      <dc:date>2018-04-12T03:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Line scan data from contour plots in jmp</title>
      <link>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/55411#M31339</link>
      <description>&lt;P&gt;Hi Morgan,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There were a few (minor) syntax errors in the sample code you sent for my example. It took me some time&amp;nbsp; (am very new to jmp scripting) to fix it but it finally works like I want. Thanks again for the help. I am attaching the modified script below for others who may want it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also realized that if the script is stored in the data table, I don't need to specify any (long) location path. Strangely I can't save a new script file to the data table. It has to be saved as as a separate jsl file. To work-around, I open an already existing script in my data table and modify it to input the new script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 00:39:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/55411#M31339</guid>
      <dc:creator>Yoga</dc:creator>
      <dc:date>2018-04-24T00:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Line scan data from contour plots in jmp</title>
      <link>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/55412#M31340</link>
      <description>&lt;P&gt;Yoga,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are multple methods to add a script to a data table.&amp;nbsp; I think JMP could make it easier. As an FYI, this script shows just 3 methods to add a script.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
myScript = Expr(Distribution( Column( :Height, :Weight ), By( :sex )) );

//---hard coded method below
//dt &amp;lt;&amp;lt; New Script("New Script",Distribution( Column( :Height, :Weight ), By( :sex ))  );

//--or use the syntax below that uses expression substitution then Eval() to run it
//Eval( Substitute(Expr( dt &amp;lt;&amp;lt; New Script( "New Script", _xx ) ), Expr(_xx), NameExpr(myScript) ) );

//---or use Eval Expr() that does the substitution and Eval() that runs it
Eval( Eval Expr(dt &amp;lt;&amp;lt; New Script("New Script", Expr(NameExpr( myScript) ) ) ) );&lt;/CODE&gt;&amp;nbsp;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 01:53:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Getting-Line-scan-data-from-contour-plots-in-jmp/m-p/55412#M31340</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2018-04-24T01:53:33Z</dc:date>
    </item>
  </channel>
</rss>

