<?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 Aligning graphs from graph builder horizontally in journal - JMP17 in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Aligning-graphs-from-graph-builder-horizontally-in-journal-JMP17/m-p/693363#M87872</link>
    <description>&lt;P&gt;Hi I am looking to have graphs from graph builder side by side in a journal. Currently graphs are vertically arranged in journal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;new = new window("final", &amp;lt;&amp;lt; journal,
	vb = V List Box(

        ob = Outline Box( "OWL vs KESTREL_RX_SENSITIVITY",
        	outline box(" QFN BAND 0")
        );
         
	)
);


dt1_band0 = open("C:\Users\NXF90574\Documents\NXP\VIshal\OWL_Kestrel_dvt2\DATA\DATA UPDATE\Subset of Subset of Subset of Owl_Kestrel_Dvt2_Test_names_TTT_NTV_band0.jmp");
dt1_band0_table = open("C:\Users\NXF90574\Documents\NXP\VIshal\OWL_Kestrel_dvt2\DATA\DATA UPDATE\band0_wfm.jmp");


for (
i = 1, i&amp;lt;=Nrows(dt1_band0_table), i++ ,

dt1_band0 &amp;lt;&amp;lt; Select where(contains( :wfmFile , dt1_band0_table:wfmFile[i]) );
dt1_subset = dt1_band0 &amp;lt;&amp;lt; subset (Output table("Owl_Kestrel_band0_subset.jmp"), Selected Rows( 1 ), selected columns( 0 ));


dt1_subset_graph = dt1_subset&amp;lt;&amp;lt; Graph Builder(
	Size( 1115, 553 ),
	Variables(
		X( :rxChnl ),
		Y( :Sens_2 ),
		Group X( :VDD1 ),
		Group Y( :Temp ),
		Overlay( :Silicon )
	),
	Elements( Line( X, Y, Legend( 12 ) ) ),
	SendToReport(
		Dispatch( {}, "rxChnl", ScaleBox, {Label Row( Show Major Grid( 1 ) )} ),
		Dispatch(
			{},
			"Sens_2",
			ScaleBox,
			{Format( "Best", 12 ),
			Inc( 1 ), Minor Ticks( 0 ), Label Row(
				{Show Major Grid( 1 ), Show Minor Grid( 1 ), Show Minor Labels( 0 )}
			)}
		),
		
		Dispatch(
			{},
			"graph title",
			TextEditBox,
			{Set Text( "Sensitivity vs. rxChnl" )}
		),
		Dispatch( {}, "Y title", TextEditBox, {Set Text( "Sensitivity" )} )
		
	)
	
);	

jrn2 = New Window( "j2", &amp;lt;&amp;lt;Journal,

    vb = V List Box(

        ob = Outline Box( dt1_band0_table:wfmFile[i]);
);

);

jrn2 &amp;lt;&amp;lt; Append( V List Box( (dt1_subset_graph  &amp;lt;&amp;lt; Report) &amp;lt;&amp;lt; Clone Box));

//jrn2 &amp;lt;&amp;lt; Save pdf ("C:\Users\NXF90574\Documents\NXP\VIshal\trial\1mbps.pdf");

new &amp;lt;&amp;lt;append (jrn2);


);

dt1_band0 &amp;lt;&amp;lt; save as("C:\Users\NXF90574\Documents\NXP\VIshal\OWL_Kestrel_dvt2\DATA\DATA UPDATE\Subset of Subset of Subset of Owl_Kestrel_Dvt2_Test_names_TTT_NTV_band0.jmp");

close all(data tables, nosave);

new &amp;lt;&amp;lt; Save Journal("C:\Users\NXF90574\Documents\NXP\VIshal\OWL_Kestrel_dvt2\DATA\DATA UPDATE\final_band0_corners.jrn");

close all(journals, nosave):&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The main data table I am using is&amp;nbsp;&lt;CODE class=" language-jsl"&gt;dt1_band0&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;I am running a for loop by looping for different column values from a column in data table&lt;CODE class=" language-jsl"&gt;dt1_band0_table&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;I have created a journal "&lt;CODE class=" language-jsl"&gt;new &lt;/CODE&gt;" - every time a graph is generated within for loop its getting added to a journal "&lt;CODE class=" language-jsl"&gt;jrn2&lt;/CODE&gt;"&lt;/P&gt;&lt;P&gt;In the end I am appending "&lt;CODE class=" language-jsl"&gt;jrn2&lt;/CODE&gt;" to "&lt;CODE class=" language-jsl"&gt;new&lt;/CODE&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my final journal saved as pdf looks like this:&lt;/P&gt;&lt;P&gt;This is one page of my pdf&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vharibal_0-1698908522801.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58250iDC4FE7F189CB2153/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vharibal_0-1698908522801.png" alt="vharibal_0-1698908522801.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to have these graphs side by side instead of vertically aligned&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>Thu, 02 Nov 2023 07:04:12 GMT</pubDate>
    <dc:creator>vharibal</dc:creator>
    <dc:date>2023-11-02T07:04:12Z</dc:date>
    <item>
      <title>Aligning graphs from graph builder horizontally in journal - JMP17</title>
      <link>https://community.jmp.com/t5/Discussions/Aligning-graphs-from-graph-builder-horizontally-in-journal-JMP17/m-p/693363#M87872</link>
      <description>&lt;P&gt;Hi I am looking to have graphs from graph builder side by side in a journal. Currently graphs are vertically arranged in journal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;new = new window("final", &amp;lt;&amp;lt; journal,
	vb = V List Box(

        ob = Outline Box( "OWL vs KESTREL_RX_SENSITIVITY",
        	outline box(" QFN BAND 0")
        );
         
	)
);


dt1_band0 = open("C:\Users\NXF90574\Documents\NXP\VIshal\OWL_Kestrel_dvt2\DATA\DATA UPDATE\Subset of Subset of Subset of Owl_Kestrel_Dvt2_Test_names_TTT_NTV_band0.jmp");
dt1_band0_table = open("C:\Users\NXF90574\Documents\NXP\VIshal\OWL_Kestrel_dvt2\DATA\DATA UPDATE\band0_wfm.jmp");


for (
i = 1, i&amp;lt;=Nrows(dt1_band0_table), i++ ,

dt1_band0 &amp;lt;&amp;lt; Select where(contains( :wfmFile , dt1_band0_table:wfmFile[i]) );
dt1_subset = dt1_band0 &amp;lt;&amp;lt; subset (Output table("Owl_Kestrel_band0_subset.jmp"), Selected Rows( 1 ), selected columns( 0 ));


dt1_subset_graph = dt1_subset&amp;lt;&amp;lt; Graph Builder(
	Size( 1115, 553 ),
	Variables(
		X( :rxChnl ),
		Y( :Sens_2 ),
		Group X( :VDD1 ),
		Group Y( :Temp ),
		Overlay( :Silicon )
	),
	Elements( Line( X, Y, Legend( 12 ) ) ),
	SendToReport(
		Dispatch( {}, "rxChnl", ScaleBox, {Label Row( Show Major Grid( 1 ) )} ),
		Dispatch(
			{},
			"Sens_2",
			ScaleBox,
			{Format( "Best", 12 ),
			Inc( 1 ), Minor Ticks( 0 ), Label Row(
				{Show Major Grid( 1 ), Show Minor Grid( 1 ), Show Minor Labels( 0 )}
			)}
		),
		
		Dispatch(
			{},
			"graph title",
			TextEditBox,
			{Set Text( "Sensitivity vs. rxChnl" )}
		),
		Dispatch( {}, "Y title", TextEditBox, {Set Text( "Sensitivity" )} )
		
	)
	
);	

jrn2 = New Window( "j2", &amp;lt;&amp;lt;Journal,

    vb = V List Box(

        ob = Outline Box( dt1_band0_table:wfmFile[i]);
);

);

jrn2 &amp;lt;&amp;lt; Append( V List Box( (dt1_subset_graph  &amp;lt;&amp;lt; Report) &amp;lt;&amp;lt; Clone Box));

//jrn2 &amp;lt;&amp;lt; Save pdf ("C:\Users\NXF90574\Documents\NXP\VIshal\trial\1mbps.pdf");

new &amp;lt;&amp;lt;append (jrn2);


);

dt1_band0 &amp;lt;&amp;lt; save as("C:\Users\NXF90574\Documents\NXP\VIshal\OWL_Kestrel_dvt2\DATA\DATA UPDATE\Subset of Subset of Subset of Owl_Kestrel_Dvt2_Test_names_TTT_NTV_band0.jmp");

close all(data tables, nosave);

new &amp;lt;&amp;lt; Save Journal("C:\Users\NXF90574\Documents\NXP\VIshal\OWL_Kestrel_dvt2\DATA\DATA UPDATE\final_band0_corners.jrn");

close all(journals, nosave):&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The main data table I am using is&amp;nbsp;&lt;CODE class=" language-jsl"&gt;dt1_band0&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;I am running a for loop by looping for different column values from a column in data table&lt;CODE class=" language-jsl"&gt;dt1_band0_table&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;I have created a journal "&lt;CODE class=" language-jsl"&gt;new &lt;/CODE&gt;" - every time a graph is generated within for loop its getting added to a journal "&lt;CODE class=" language-jsl"&gt;jrn2&lt;/CODE&gt;"&lt;/P&gt;&lt;P&gt;In the end I am appending "&lt;CODE class=" language-jsl"&gt;jrn2&lt;/CODE&gt;" to "&lt;CODE class=" language-jsl"&gt;new&lt;/CODE&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my final journal saved as pdf looks like this:&lt;/P&gt;&lt;P&gt;This is one page of my pdf&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vharibal_0-1698908522801.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58250iDC4FE7F189CB2153/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vharibal_0-1698908522801.png" alt="vharibal_0-1698908522801.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to have these graphs side by side instead of vertically aligned&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>Thu, 02 Nov 2023 07:04:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Aligning-graphs-from-graph-builder-horizontally-in-journal-JMP17/m-p/693363#M87872</guid>
      <dc:creator>vharibal</dc:creator>
      <dc:date>2023-11-02T07:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning graphs from graph builder horizontally in journal - JMP17</title>
      <link>https://community.jmp.com/t5/Discussions/Aligning-graphs-from-graph-builder-horizontally-in-journal-JMP17/m-p/693383#M87874</link>
      <description>&lt;P&gt;Try using &lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/display-functions.shtml?os=win&amp;amp;source=application#ww2592811" target="_blank" rel="noopener"&gt;H List Box()&lt;/A&gt;&amp;nbsp;(Or Lineup Box()) instead of V List Box(). This can also be a good read&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/construct-display-boxes-for-new-windows.shtml" target="_blank"&gt;Construct Display Boxes for New Windows (jmp.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 07:39:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Aligning-graphs-from-graph-builder-horizontally-in-journal-JMP17/m-p/693383#M87874</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-11-02T07:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning graphs from graph builder horizontally in journal - JMP17</title>
      <link>https://community.jmp.com/t5/Discussions/Aligning-graphs-from-graph-builder-horizontally-in-journal-JMP17/m-p/693413#M87876</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here below an example with horizontally aligned graphs using the command H List Box().&amp;nbsp; H List Box helps you to organize horizontally your elements, whereas V List box it is vertically. You can also use the command Line up Box to organize in columns or the commands V Split Box / H Split Box if you want to specify also the proportions taken by each graphs in the journal space&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;
dt1 = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt2 = Open( "$SAMPLE_DATA/Big Class Families.jmp" );

	
jrn = New Window( "Journal",
	&amp;lt;&amp;lt;Journal, 

	Outline Box( "Horizontally aligned graphs",
		H List Box(
			dt1 &amp;lt;&amp;lt; Graph Builder( Show Control Panel( 0 ), Variables( X( :height ), Y( :weight ) ), Elements( Points( X, Y ), Smoother( X, Y ) ) ),
			dt2 &amp;lt;&amp;lt; Graph Builder(
				Show Control Panel( 0 ),
				Variables( X( :height ), Y( :weight ) ),
				Elements( Points( X, Y, Legend( 4 ) ), Line Of Fit( X, Y, Legend( 6 ) ) )
			);

		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Nov 2023 08:39:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Aligning-graphs-from-graph-builder-horizontally-in-journal-JMP17/m-p/693413#M87876</guid>
      <dc:creator>SophieCuvillier</dc:creator>
      <dc:date>2023-11-02T08:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning graphs from graph builder horizontally in journal - JMP17</title>
      <link>https://community.jmp.com/t5/Discussions/Aligning-graphs-from-graph-builder-horizontally-in-journal-JMP17/m-p/693625#M87897</link>
      <description>As H List Box and V List Box are actually the same object, just with a different option, you can later chance the Llayout by sending the message&lt;BR /&gt;Horizontal(1) to the display box.</description>
      <pubDate>Thu, 02 Nov 2023 16:21:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Aligning-graphs-from-graph-builder-horizontally-in-journal-JMP17/m-p/693625#M87897</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-11-02T16:21:54Z</dc:date>
    </item>
  </channel>
</rss>

