<?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 How to generate multiple plots in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230683#M45743</link>
    <description>&lt;P&gt;I wrote a JMP script where I plot data based on my original data. After I manipulate data, I plot it again, but now it can only show the plot for data after manipulation, not the plot for original data. I would like to compare two. Could anyone help with this? Below is the script I used to plot the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Size( 748, 531 ),
	Show Control Panel( 0 ),
	Automatic Recalc( 0 ),
	Variables( X( :X_NOM_BIN ), Y( :Y_NOM_BIN ), Color( :Name( "Mean(UPDATED THICKNESS" ) ) ),
	Elements( Points( X, Y, Legend( 6 ) ) )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 25 Oct 2019 11:36:34 GMT</pubDate>
    <dc:creator>aaronjiang</dc:creator>
    <dc:date>2019-10-25T11:36:34Z</dc:date>
    <item>
      <title>How to generate multiple plots</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230683#M45743</link>
      <description>&lt;P&gt;I wrote a JMP script where I plot data based on my original data. After I manipulate data, I plot it again, but now it can only show the plot for data after manipulation, not the plot for original data. I would like to compare two. Could anyone help with this? Below is the script I used to plot the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Size( 748, 531 ),
	Show Control Panel( 0 ),
	Automatic Recalc( 0 ),
	Variables( X( :X_NOM_BIN ), Y( :Y_NOM_BIN ), Color( :Name( "Mean(UPDATED THICKNESS" ) ) ),
	Elements( Points( X, Y, Legend( 6 ) ) )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 Oct 2019 11:36:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230683#M45743</guid>
      <dc:creator>aaronjiang</dc:creator>
      <dc:date>2019-10-25T11:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate multiple plots</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230796#M45765</link>
      <description>&lt;P&gt;I am not sure if you manipulate the data in the X role, the Y role, or both roles. You could save the manipulated data in a new column. You could also stack the original and manipulated data into one column and automatically create a label column to indicate which data is before and which data is after the manipulation.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 14:35:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230796#M45765</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-10-25T14:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate multiple plots</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230801#M45770</link>
      <description>&lt;P&gt;Here is a more detailed description of my problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, if I have a data table below (dt):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A B&lt;/P&gt;&lt;P&gt;1 2&lt;/P&gt;&lt;P&gt;2 4&lt;/P&gt;&lt;P&gt;3 6&lt;/P&gt;&lt;P&gt;4 8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I manipulate data to make another table (dtNew)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A B&lt;/P&gt;&lt;P&gt;1 4&lt;/P&gt;&lt;P&gt;2 8&lt;/P&gt;&lt;P&gt;3 10&lt;/P&gt;&lt;P&gt;4 12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I want to plot this two on separate plots. How can I do that?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 15:01:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230801#M45770</guid>
      <dc:creator>aaronjiang</dc:creator>
      <dc:date>2019-10-25T15:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate multiple plots</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230805#M45774</link>
      <description>&lt;P&gt;I see. Select Tables &amp;gt; Join. Change the Match option to Row Number. Now you have both data sets in the same table.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 15:13:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230805#M45774</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-10-25T15:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate multiple plots</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230806#M45775</link>
      <description>&lt;P&gt;Thanks. But how to use JMP script to address this? I am creating a script that can do everything by just one click&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 15:15:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230806#M45775</guid>
      <dc:creator>aaronjiang</dc:creator>
      <dc:date>2019-10-25T15:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate multiple plots</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230807#M45776</link>
      <description>&lt;P&gt;And i want to have separate plots. One plot for table dt, another plot for table dtNew. Basically showing two plots on separate graphs.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 15:18:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230807#M45776</guid>
      <dc:creator>aaronjiang</dc:creator>
      <dc:date>2019-10-25T15:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate multiple plots</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230808#M45777</link>
      <description>&lt;P&gt;Here is a very simple example on one way to do this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );

dt &amp;lt;&amp;lt; select where( :SEX == "F" );

dt2 = dt &amp;lt;&amp;lt; subset( selected rows( 1 ), selected columns( 0 ) );

dt &amp;lt;&amp;lt; bivariate( x( :Height ), y( :weight ) );

dt2 &amp;lt;&amp;lt; bivariate( x( :Height ), y( :weight ) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
Open( "$SAMPLE_DATA/big class.jmp" );

data table("big class") &amp;lt;&amp;lt; select where( :SEX == "F" );

data table("big class") &amp;lt;&amp;lt; subset( selected rows( 1 ), selected columns( 0 ) );

data table("big class") &amp;lt;&amp;lt; bivariate( x( :Height ), y( :weight ) );

data table("Subset of big class") &amp;lt;&amp;lt; bivariate( x( :Height ), y( :weight ) );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 Oct 2019 15:24:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230808#M45777</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-10-25T15:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate multiple plots</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230817#M45779</link>
      <description>&lt;P&gt;Thanks. What if I have a third dimension to plot a heat map plot. What function should be used in plotting (rather than bivariate)?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 17:10:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230817#M45779</guid>
      <dc:creator>aaronjiang</dc:creator>
      <dc:date>2019-10-25T17:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate multiple plots</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230818#M45780</link>
      <description>&lt;P&gt;Here is what I have. It always generate the second plot, but not the first. Could you tell me why?&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;dtSum &amp;lt;&amp;lt; Graph Builder(
	Size( 748, 531 ),
	Show Control Panel( 0 ),
	Automatic Recalc( 0 ),
	Variables( X( :X_NOM_BIN ), Y( :Y_NOM_BIN ), Color( :UPDATED THICKNESS 1 ) ),
	Elements( Points( X, Y, Legend( 6 ) ) )
);

dtSum6 &amp;lt;&amp;lt; Graph Builder(
	Size( 748, 531 ),
	Show Control Panel( 0 ),
	Automatic Recalc( 0 ),
	Variables( X( :X_NOM_BIN ), Y( :Y_NOM_BIN ), Color( :Name( "RESIDUAL1_Normalized" ) ) ),
	Elements( Points( X, Y, Legend( 6 ) ) )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 11:56:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230818#M45780</guid>
      <dc:creator>aaronjiang</dc:creator>
      <dc:date>2019-10-28T11:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate multiple plots</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230819#M45781</link>
      <description>&lt;P&gt;You can use Graph Builder to generate a Heat Map, or you can use a Cell Map.&lt;/P&gt;
&lt;P&gt;You should take a look at the documentation&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; Help==&amp;gt;Books==&amp;gt;Essential Graphing&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 17:55:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230819#M45781</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-10-25T17:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate multiple plots</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230820#M45782</link>
      <description>&lt;P&gt;What are the messages in the log?&lt;/P&gt;
&lt;P&gt;What is the value of the variable DTSUM?&amp;nbsp; If you put&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; show(DTSUM);&lt;/P&gt;
&lt;P&gt;just before&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; dtSum &amp;lt;&amp;lt; Graph Builder(&lt;/P&gt;
&lt;P&gt;it will print to the log what the value is......it needs to have the value of&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; dtSum = Data Table( "your data table name" )&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 18:01:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-generate-multiple-plots/m-p/230820#M45782</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-10-25T18:01:18Z</dc:date>
    </item>
  </channel>
</rss>

