<?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: Combine 3 journals into 1 journal in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Combine-3-journals-into-1-journal/m-p/219959#M44016</link>
    <description>&lt;P&gt;To accomplish what you are looking for, is to simply Append() the journals together.&amp;nbsp; The example below creates a new journal window, appends the 3 journals together, and then saves it as a PDF.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;&lt;FONT style="background-color: #ffffff;"&gt;nw=new window("final",&amp;lt;&amp;lt;journal);&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;nw&amp;lt;&amp;lt;append(Journal_1);
nw&amp;lt;&amp;lt;append(Journal_2);
nw&amp;lt;&amp;lt;append(Journal_3);

nw &amp;lt;&amp;lt; Save PDF( "$TEMP/example.pdf" );

open("$TEMP/example.pdf");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Documentation on working with journals is covered in the Scripting Guide&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; Help==&amp;gt;Books==&amp;gt;Scripting Guide&lt;/P&gt;</description>
    <pubDate>Sat, 03 Aug 2019 10:43:15 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2019-08-03T10:43:15Z</dc:date>
    <item>
      <title>Combine 3 journals into 1 journal</title>
      <link>https://community.jmp.com/t5/Discussions/Combine-3-journals-into-1-journal/m-p/219949#M44015</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to combine 3 journals file into 1, and save the final journal in PDF format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Journal_1 = Journal:G_Si_Wafer_Table&lt;/P&gt;&lt;P&gt;Journal_2 = Journal:G_Si_Wafer_Mapping&lt;/P&gt;&lt;P&gt;Journal_3 = Journal:G_Si_Wafer_Reject_Pareto&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to combine 3 Journals into 1, how to save as PDF, and how to close all 3 journals after save a PDF.&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>Sat, 03 Aug 2019 09:31:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Combine-3-journals-into-1-journal/m-p/219949#M44015</guid>
      <dc:creator>bsl</dc:creator>
      <dc:date>2019-08-03T09:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 3 journals into 1 journal</title>
      <link>https://community.jmp.com/t5/Discussions/Combine-3-journals-into-1-journal/m-p/219959#M44016</link>
      <description>&lt;P&gt;To accomplish what you are looking for, is to simply Append() the journals together.&amp;nbsp; The example below creates a new journal window, appends the 3 journals together, and then saves it as a PDF.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;&lt;FONT style="background-color: #ffffff;"&gt;nw=new window("final",&amp;lt;&amp;lt;journal);&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;nw&amp;lt;&amp;lt;append(Journal_1);
nw&amp;lt;&amp;lt;append(Journal_2);
nw&amp;lt;&amp;lt;append(Journal_3);

nw &amp;lt;&amp;lt; Save PDF( "$TEMP/example.pdf" );

open("$TEMP/example.pdf");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Documentation on working with journals is covered in the Scripting Guide&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; Help==&amp;gt;Books==&amp;gt;Scripting Guide&lt;/P&gt;</description>
      <pubDate>Sat, 03 Aug 2019 10:43:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Combine-3-journals-into-1-journal/m-p/219959#M44016</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-08-03T10:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 3 journals into 1 journal</title>
      <link>https://community.jmp.com/t5/Discussions/Combine-3-journals-into-1-journal/m-p/219972#M44019</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I don't know why the all 3 journals still does not append to the final journal. This is the error from log.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Not a display in access or evaluation of 'append' , append( "Journal_1" ) /*###*/&lt;/P&gt;&lt;P&gt;In the following script, error marked by /*###*/&lt;BR /&gt;nw = New Window( "final", &amp;lt;&amp;lt;journal );&lt;BR /&gt;nw &amp;lt;&amp;lt; append( "Journal_1" ) /*###*/;&lt;BR /&gt;nw &amp;lt;&amp;lt; append( "Journal_2" );&lt;BR /&gt;nw &amp;lt;&amp;lt; append( "Journal_3" );&lt;BR /&gt;nw &amp;lt;&amp;lt; Save PDF( "$TEMP/example.pdf" );&lt;BR /&gt;Open( "$TEMP/example.pdf" );&lt;/P&gt;</description>
      <pubDate>Sun, 04 Aug 2019 04:48:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Combine-3-journals-into-1-journal/m-p/219972#M44019</guid>
      <dc:creator>bsl</dc:creator>
      <dc:date>2019-08-04T04:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 3 journals into 1 journal</title>
      <link>https://community.jmp.com/t5/Discussions/Combine-3-journals-into-1-journal/m-p/219973#M44020</link>
      <description>&lt;P&gt;You have quotes around "journal_1".&amp;nbsp; In my script, I am assuming that Journal_1 was a JSL variable pointing to the journal.&amp;nbsp; Is this not the case?&lt;/P&gt;</description>
      <pubDate>Sun, 04 Aug 2019 12:45:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Combine-3-journals-into-1-journal/m-p/219973#M44020</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-08-04T12:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 3 journals into 1 journal</title>
      <link>https://community.jmp.com/t5/Discussions/Combine-3-journals-into-1-journal/m-p/219974#M44021</link>
      <description>&lt;P&gt;I have 3 individual journals and named as Journal_1, Journal_2, &amp;amp; Journal_3 respectively. Each journal has Bar chart, pie char...etc.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Aug 2019 13:12:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Combine-3-journals-into-1-journal/m-p/219974#M44021</guid>
      <dc:creator>bsl</dc:creator>
      <dc:date>2019-08-04T13:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 3 journals into 1 journal</title>
      <link>https://community.jmp.com/t5/Discussions/Combine-3-journals-into-1-journal/m-p/219975#M44022</link>
      <description>&lt;P&gt;Here is an annotated script that should help you understand the issue&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

// Open sample data
dt = Open( "$SAMPLE_DATA/big class.jmp" );

// Create 2 journal windows, naming them what appears to be "Journal_1"
// and "Journal_2"
// Also assign the JSL variables j1 and j2 to the journals
j1 = New Window( "Journal_1", &amp;lt;&amp;lt;journal, dt &amp;lt;&amp;lt; bivariate( x( :weight ), y( :height ) ) );

j2 = New Window( "Journal_2", &amp;lt;&amp;lt;journal, dt &amp;lt;&amp;lt; oneway( x( :sex ), y( :weight ) ) );

// Create an empty journal window to move the other journals into
jFinal = New Window( "Final", &amp;lt;&amp;lt;journal );

// There are 2 methods below that can be used to append the journals to the 
// final journal
// ^Journal pointer final^ &amp;lt;&amp;lt; append( ^Journal pointer Journal_1^);
// jFinal &amp;lt;&amp;lt; append( j1 );
// or
// window("final journal window name") &amp;lt;&amp;lt; append( window("journal 1 window name"));
// window("Journal: Final") &amp;lt;&amp;lt; append( window( "Journal: Journal_1"))

jFinal &amp;lt;&amp;lt; append( j1 );

Window( "Journal: Final" ) &amp;lt;&amp;lt; append( Window( "Journal: Journal_2" ) );

// The real name of the journal window is the key.  Even though the code gives the name of
// the journal windows as "Journal_1", "Journal_2" and "Final", that is not the actual name.
// "Journal: Journal_1" etc. is the name.  However, if one explictly assigns a name to
// journal, such as
//  j1 &amp;lt;&amp;lt; set window title( "Journal_1" );
// the window's name will be "Journal_1"

jFinal2 = New Window( "Final 2" );
jFinal2 &amp;lt;&amp;lt; set window title( "Final 2" );
j1 &amp;lt;&amp;lt; set window title( "Journal_1" );
j2 &amp;lt;&amp;lt; set window title( "Journal_2" );

Window( "Final 2" ) &amp;lt;&amp;lt; append( Window( "Journal_1" ) );
Window( "Final 2" ) &amp;lt;&amp;lt; append( Window( "Journal_2" ) );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 04 Aug 2019 14:05:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Combine-3-journals-into-1-journal/m-p/219975#M44022</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-08-04T14:05:41Z</dc:date>
    </item>
  </channel>
</rss>

