<?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: Graph Builder in Loop: How do I maintain Y-axis scale across each column? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Graph-Builder-in-Loop-How-do-I-maintain-Y-axis-scale-across-each/m-p/77349#M36158</link>
    <description>&lt;P&gt;Try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Variables(
		X( :Visit Description ),
		Y( column(i) ),
		Overlay( :TRT01 )
	),
	Elements( Line( X, Y, Legend( 9 ), Error Bars( "Standard Error" ) ) ),
	SendToReport(
		Dispatch(
			{},
			eval(column(i)&amp;lt;&amp;lt;get name), // Column Name (i)?
			ScaleBox,
			{Min( -1.3 ), Max( 0.3 ), Inc( 0.2 ), Minor Ticks( 1 )}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 01 Oct 2018 23:59:01 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2018-10-01T23:59:01Z</dc:date>
    <item>
      <title>Graph Builder in Loop: How do I maintain Y-axis scale across each column?</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-in-Loop-How-do-I-maintain-Y-axis-scale-across-each/m-p/77340#M36151</link>
      <description>&lt;P&gt;Hi JMP Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just ran into a little problem with the auto-scalling of axis in the GB platform.&lt;/P&gt;&lt;P&gt;I wish to loop through 100 columns to plot some data on a fixed Y scale (i.e. Min = -1.3, Max = 0.2, Increment = 0.2).&lt;/P&gt;&lt;P&gt;When I save the script from GB, the SendToReport &amp;gt; Dispatch command refers to the Y Axis by its label ("Y-Axis") which will change for each column when I loop through my 100 columns. Thus, how do I replace&amp;nbsp;the expression on line #11 with a relative reference (I tried: Column Name (i) without success).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the snippet of the code I'm trying to Loop through:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Variables(
		X( :Visit Description ),
		Y( column(i) ),
		Overlay( :TRT01 )
	),
	Elements( Line( X, Y, Legend( 9 ), Error Bars( "Standard Error" ) ) ),
	SendToReport(
		Dispatch(
			{},
			"Y AXIS", // Column Name (i)?
			ScaleBox,
			{Min( -1.3 ), Max( 0.3 ), Inc( 0.2 ), Minor Ticks( 1 )}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;NOTE: I tried to Lock the axis without success.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TS&lt;/P&gt;</description>
      <pubDate>Mon, 01 Oct 2018 23:02:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-in-Loop-How-do-I-maintain-Y-axis-scale-across-each/m-p/77340#M36151</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2018-10-01T23:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder in Loop: How do I maintain Y-axis scale across each column?</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-in-Loop-How-do-I-maintain-Y-axis-scale-across-each/m-p/77349#M36158</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Variables(
		X( :Visit Description ),
		Y( column(i) ),
		Overlay( :TRT01 )
	),
	Elements( Line( X, Y, Legend( 9 ), Error Bars( "Standard Error" ) ) ),
	SendToReport(
		Dispatch(
			{},
			eval(column(i)&amp;lt;&amp;lt;get name), // Column Name (i)?
			ScaleBox,
			{Min( -1.3 ), Max( 0.3 ), Inc( 0.2 ), Minor Ticks( 1 )}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 01 Oct 2018 23:59:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-in-Loop-How-do-I-maintain-Y-axis-scale-across-each/m-p/77349#M36158</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-10-01T23:59:01Z</dc:date>
    </item>
  </channel>
</rss>

