<?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 Hiding graph in Bivariate analysis? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Hiding-graph-in-Bivariate-analysis/m-p/324267#M57351</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a script which include a Bivariate analysis, however I would like to have just the Linear Fit statistics table show&amp;nbsp; up, and hide the graph itself.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;this_dt &amp;lt;&amp;lt; Bivariate(
		Y( Column(this_dt, this_cols[j])),
		X( :"Time (Months)" ),
		By( :"Lot Number" ),
		Fit Line,
		Invisible
)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;As you can see I included the Invisible condition in Bivariate( ), but the graph is still showing up in my JRN file, and I am not sure how to get rid of it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Jun 2023 11:06:57 GMT</pubDate>
    <dc:creator>DanAlexander</dc:creator>
    <dc:date>2023-06-11T11:06:57Z</dc:date>
    <item>
      <title>Hiding graph in Bivariate analysis?</title>
      <link>https://community.jmp.com/t5/Discussions/Hiding-graph-in-Bivariate-analysis/m-p/324267#M57351</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a script which include a Bivariate analysis, however I would like to have just the Linear Fit statistics table show&amp;nbsp; up, and hide the graph itself.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;this_dt &amp;lt;&amp;lt; Bivariate(
		Y( Column(this_dt, this_cols[j])),
		X( :"Time (Months)" ),
		By( :"Lot Number" ),
		Fit Line,
		Invisible
)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;As you can see I included the Invisible condition in Bivariate( ), but the graph is still showing up in my JRN file, and I am not sure how to get rid of it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:06:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hiding-graph-in-Bivariate-analysis/m-p/324267#M57351</guid>
      <dc:creator>DanAlexander</dc:creator>
      <dc:date>2023-06-11T11:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding graph in Bivariate analysis?</title>
      <link>https://community.jmp.com/t5/Discussions/Hiding-graph-in-Bivariate-analysis/m-p/324291#M57353</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;biv = this_dt &amp;lt;&amp;lt; Bivariate(
		Y( Column(this_dt, this_cols[j])),
		X( :"Time (Months)" ),
		By( :"Lot Number" ),
		Fit Line,
		Invisible
);

biv rep = biv &amp;lt;&amp;lt; Report;

// one way
biv rep[PictureBox(1)] &amp;lt;&amp;lt; Delete;

// other way
biv rep[PictureBox(1)] &amp;lt;&amp;lt; Visibility( "Collapse" );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Oct 2020 15:06:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hiding-graph-in-Bivariate-analysis/m-p/324291#M57353</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-10-20T15:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding graph in Bivariate analysis?</title>
      <link>https://community.jmp.com/t5/Discussions/Hiding-graph-in-Bivariate-analysis/m-p/324296#M57358</link>
      <description>&lt;P&gt;Thank you for your suggestion.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also found an alternative solution which I can write within Bivariate().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;SendToReport( Dispatch( {}, "", ListBox, {Visibility( "Collapse" )} ) )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The above line hides the box containing the Bivariate plot.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 15:40:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hiding-graph-in-Bivariate-analysis/m-p/324296#M57358</guid>
      <dc:creator>DanAlexander</dc:creator>
      <dc:date>2020-10-20T15:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding graph in Bivariate analysis?</title>
      <link>https://community.jmp.com/t5/Discussions/Hiding-graph-in-Bivariate-analysis/m-p/324324#M57365</link>
      <description>I see you have ways to hide it but I would ask why?  The plot is my favorite part of bivariate (unless you have multitudes of them in which case I would use response screening).  Happy World Stats Day!</description>
      <pubDate>Tue, 20 Oct 2020 16:31:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hiding-graph-in-Bivariate-analysis/m-p/324324#M57365</guid>
      <dc:creator>KarenC</dc:creator>
      <dc:date>2020-10-20T16:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding graph in Bivariate analysis?</title>
      <link>https://community.jmp.com/t5/Discussions/Hiding-graph-in-Bivariate-analysis/m-p/324329#M57369</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using the Bivariate function just to generate Linear fit statistics for my main graph. I am using V List box and H List box to generate a plot using graph builder, and then Bivariate to generate the linear fit statistics for each lot number in an H List box beside the plot. Each graph builder plot may have up to 20-30 Bivariates associated with it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you can suggest a better alternative, I would love to hear it! Below is an example of my script, sorry if it is confusing, I had to hide specific file paths and columns names.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;		// Generating Graphs
setup = Function({dt}, {Default Local},
	
	dt = Open ( "file.JMP" );
	dt &amp;lt;&amp;lt; Select Where(:"column example" == "string example" );
	cfg1 = EvalList({dt &amp;lt;&amp;lt; Data View, { "col1", "col2", "col3", "coln"}});
	EvalList({cfg1});
	
);

build_graphs = Function({cfgs}, {Default Local},
	win = New Window( "window", vlb = V List Box() );

	ncfg = NItems(cfgs);	
	
	for(i = 1, i &amp;lt;= ncfg, i++,
		{this_dt, this_cols} = cfgs[i];
		ncols = NItems(this_cols);
		for(j = 1, j &amp;lt;= ncols, j++,
			vlb &amp;lt;&amp;lt; Append(H List Box (
					this_dt &amp;lt;&amp;lt; Graph Builder(
						Show Control Panel( 0 ),
						Size( 600, 400),
						Variables(
							X( :"X axis" ), 
							Y( Column(this_dt, this_cols[j]) ), 
							Overlay( :"overlay" ) 		
						),
						Elements( 
							Points( X, Y, Legend(12) )
						),
						SendToReport(
							Dispatch(
								{},
								"",
								ScaleBox,
								{Format( "Fixed Dec", 10, 0 ), Min(0), Max(50), Inc(6),
								Minor Ticks(0)}
								)	
							)
						),
						this_dt &amp;lt;&amp;lt; Bivariate(
							Y( Column(this_dt, this_cols[j])),
							X( :"X axis" ),
							By( :"overlay" ),
							Fit Line,
							SendToReport( Dispatch( {}, "", ListBox, {Visibility( "Collapse" )} ) )
							)
						));			
			)
		);
		win		
	);
	

dt = Open ( "file.JMP" );
cfgs = setup(dt);
Show(cfgs);
win = build_graphs(cfgs);
Show(win);
win &amp;lt;&amp;lt; Save Journal("file.jrn", embed data(1));
			&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Oct 2020 16:49:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hiding-graph-in-Bivariate-analysis/m-p/324329#M57369</guid>
      <dc:creator>DanAlexander</dc:creator>
      <dc:date>2020-10-20T16:49:42Z</dc:date>
    </item>
  </channel>
</rss>

