<?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 export multiple windows created by Lineup Box to a single pdf? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-export-multiple-windows-created-by-Lineup-Box-to-a-single/m-p/535977#M75821</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm a JMP novice using JMP 16.0.0 on a Mac. &amp;nbsp;I'm trying to write a script that will open and rearrange .txt files generated by&amp;nbsp;an electroretinography instrument and its software. The files include repeated time series (time and voltage values) in columns, which I stack and plot in JMP 16.0.0 using the Lineup Box feature. Currently I generate two Lineup Box windows (see attachment). In the final step, I'd like to be able to use JSL to export the multigraph windows to a pdf as I can in JMP, but I have been unable to find a way to do this. &amp;nbsp;Ideally, both windows would be merged in one pdf document.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to export windows created by Lineup Box in JSL? &amp;nbsp;Or can someone direct me to a suitable resource for achieving this goal (maybe I need to understand how to use Dashboard to assemble graphs for export)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your time!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lineup Box output.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44908iAC3133D9A0C23AF9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lineup Box output.png" alt="Lineup Box output.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 17:08:13 GMT</pubDate>
    <dc:creator>MPK</dc:creator>
    <dc:date>2023-06-09T17:08:13Z</dc:date>
    <item>
      <title>How to export multiple windows created by Lineup Box to a single pdf?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-export-multiple-windows-created-by-Lineup-Box-to-a-single/m-p/535977#M75821</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm a JMP novice using JMP 16.0.0 on a Mac. &amp;nbsp;I'm trying to write a script that will open and rearrange .txt files generated by&amp;nbsp;an electroretinography instrument and its software. The files include repeated time series (time and voltage values) in columns, which I stack and plot in JMP 16.0.0 using the Lineup Box feature. Currently I generate two Lineup Box windows (see attachment). In the final step, I'd like to be able to use JSL to export the multigraph windows to a pdf as I can in JMP, but I have been unable to find a way to do this. &amp;nbsp;Ideally, both windows would be merged in one pdf document.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to export windows created by Lineup Box in JSL? &amp;nbsp;Or can someone direct me to a suitable resource for achieving this goal (maybe I need to understand how to use Dashboard to assemble graphs for export)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your time!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lineup Box output.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44908iAC3133D9A0C23AF9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lineup Box output.png" alt="Lineup Box output.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 17:08:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-export-multiple-windows-created-by-Lineup-Box-to-a-single/m-p/535977#M75821</guid>
      <dc:creator>MPK</dc:creator>
      <dc:date>2023-06-09T17:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to export multiple windows created by Lineup Box to a single pdf?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-export-multiple-windows-created-by-Lineup-Box-to-a-single/m-p/535998#M75822</link>
      <description>&lt;P&gt;Throw your whole linup box in a journal and use this bit of code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//Define setup information to save in pdf
jrn = current journal();
jrn &amp;lt;&amp;lt; Set page setup( margins( 0.5, 0.5, 0.5, 0.5 ), scale( 0.4 ), portrait( 1 ), paper size( "A4" ) );
jrn &amp;lt;&amp;lt; Save PDF( "report.pdf" );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 Aug 2022 15:07:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-export-multiple-windows-created-by-Lineup-Box-to-a-single/m-p/535998#M75822</guid>
      <dc:creator>pauldeen</dc:creator>
      <dc:date>2022-08-22T15:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to export multiple windows created by Lineup Box to a single pdf?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-export-multiple-windows-created-by-Lineup-Box-to-a-single/m-p/536025#M75823</link>
      <description>&lt;P&gt;Is there a reason that you use separate windows for each line up box? Could you use one window and partition it using a container box such as an outline box or panel box? You can then save all of them as a single PDF.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you use JMP Pro? If so, then you should look into the &lt;A href="https://www.jmp.com/support/help/en/16.2/#page/jmp/functional-data-explorer.shtml#" target="_self"&gt;Functional Data Explorer&lt;/A&gt;. It is made for data like your data.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 15:47:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-export-multiple-windows-created-by-Lineup-Box-to-a-single/m-p/536025#M75823</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2022-08-22T15:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to export multiple windows created by Lineup Box to a single pdf?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-export-multiple-windows-created-by-Lineup-Box-to-a-single/m-p/536043#M75824</link>
      <description>&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response. &amp;nbsp;I used separate windows because the each window includes graphs with a different y-axis scale. &amp;nbsp;But I didn't know about container boxes, which I'll look into. &amp;nbsp;I don't have access to JMP Pro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 16:23:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-export-multiple-windows-created-by-Lineup-Box-to-a-single/m-p/536043#M75824</guid>
      <dc:creator>MPK</dc:creator>
      <dc:date>2022-08-22T16:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to export multiple windows created by Lineup Box to a single pdf?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-export-multiple-windows-created-by-Lineup-Box-to-a-single/m-p/536054#M75825</link>
      <description>&lt;P&gt;Here is a very rough sketch of the flow. Your own script already has more detail about the plots, but this might help you understand the direction that I was suggesting. JMP windows can be very dynamic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here( 1 );

// open data files

// prepare data table for Graph Builder

// create window
nw = New Window( "Functions",
	vlb = V List Box()
);

// append new content
vlb &amp;lt;&amp;lt; Append(
	V List Box(
		Outline Box( "B6-3553m_DAplot",
			Line Up Box( N Col( 4 ),
				// series of Graph Builder platfomrs
			)
		)
	)
);

// append more new content
vlb &amp;lt;&amp;lt; Append(
	V List Box(
		Outline Box( "B6-3553m_LAplot",
			Line Up Box( N Col( 4 ),
				// series of Graph Builder platfomrs
			)
		)
	)
);

nw &amp;lt;&amp;lt; Save PDF( "path/file" );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 Aug 2022 17:13:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-export-multiple-windows-created-by-Lineup-Box-to-a-single/m-p/536054#M75825</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2022-08-22T17:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to export multiple windows created by Lineup Box to a single pdf?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-export-multiple-windows-created-by-Lineup-Box-to-a-single/m-p/536059#M75826</link>
      <description>&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although your suggestion to "Throw your whole lineup box in a journal" was initially frightening to a newbie, I cast about the web for syntax, and at the top of the script added a new journal window with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;new window(sample||"_ERG", &amp;lt;&amp;lt;journal);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and then followed each section of code that created a Lineup Box window with:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;current report()&amp;lt;&amp;lt;journal;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;At the end of the script I adjusted your code to match my window names:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;jrn = current journal();
jrn &amp;lt;&amp;lt; Set page setup( margins( 0.5, 0.5, 0.5, 0.5 ), scale( 0.4 ), portrait( 1 ), paper size( "A4" ) );
jrn &amp;lt;&amp;lt; Save PDF( sample||"_ERG.pdf" );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This worked almost perfectly! &amp;nbsp;I've attached screenshots (pardon the resolution) of the JSL saved .pdf (first attachment) and of the journal window manually exported as a pdf from JMP (second attachment). &amp;nbsp;If possible I'd like to scrub the "Graph Builder" control headers from the JSL output (as in the JMP output) and enlarge the plots a bit, but other than that you provided the solution I was looking for. &amp;nbsp;Thanks very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Mark&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saved from JSL.png" style="width: 735px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44913iA93E6BBEDABCF3CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Saved from JSL.png" alt="Saved from JSL.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Exported from JMP.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44914i9163FF32B174128B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Exported from JMP.png" alt="Exported from JMP.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 17:33:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-export-multiple-windows-created-by-Lineup-Box-to-a-single/m-p/536059#M75826</guid>
      <dc:creator>MPK</dc:creator>
      <dc:date>2022-08-22T17:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to export multiple windows created by Lineup Box to a single pdf?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-export-multiple-windows-created-by-Lineup-Box-to-a-single/m-p/536104#M75827</link>
      <description>&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks. &amp;nbsp;Your framework is much more elegant than my kludgy script (which is too embarrassing to share). &amp;nbsp;I hope to give it a try as it may offer a better approach to accommodate slight changes in the experiment that arise from different instrument settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 18:27:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-export-multiple-windows-created-by-Lineup-Box-to-a-single/m-p/536104#M75827</guid>
      <dc:creator>MPK</dc:creator>
      <dc:date>2022-08-22T18:27:30Z</dc:date>
    </item>
  </channel>
</rss>

