<?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: [JMP12 JSL for Graph Builder] Failed to add new element into each position in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JMP12-JSL-for-Graph-Builder-Failed-to-add-new-element-into-each/m-p/804113#M98162</link>
    <description>&lt;P&gt;Thanks for your help! After several tries on your solution it worked but not for every time. So I modified my code and found that it may be induced by the code used for changing the marker size/mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;TotalFrame = gb &amp;lt;&amp;lt; xpath("//FrameBox");
For(ii = 1, ii &amp;lt;= N Items(TotalFrame), ii++,
	gb &amp;lt;&amp;lt; SendToReport(
		Dispatch( {}, "Graph Builder", FrameBox( ii ), {Marker Size( 2 ), Marker Drawing Mode( "Outlined" )} ),
	);
);

For( jj = 1 ...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After swithing the position, the chart was drawn currently:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;For( jj = 1 ...

TotalFrame...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I don't know the reason though the problem has been solved...&lt;/P&gt;&lt;P&gt;Thanks again!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Oct 2024 02:53:41 GMT</pubDate>
    <dc:creator>Clanlope</dc:creator>
    <dc:date>2024-10-08T02:53:41Z</dc:date>
    <item>
      <title>[JMP12 JSL for Graph Builder] Failed to add new element into each position</title>
      <link>https://community.jmp.com/t5/Discussions/JMP12-JSL-for-Graph-Builder-Failed-to-add-new-element-into-each/m-p/803818#M98128</link>
      <description>&lt;P&gt;Hi, currently I hope to add new element into each position for my chart, chart with one X-axis and several Y-axes;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so I use the code below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;For(jj = 1, jj &amp;lt;= 20, jj++,

gb &amp;lt;&amp;lt; Elements( Position( 1, jj ), Points( X, Y , Legend( 1 )), Smoother( X, Y , Legend( 2 ) ) );

);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the chart created with this code still with 1 elements only, I right click the chart there are 2 elements shown though.&lt;/P&gt;&lt;P&gt;When I perform redo analyse, the new chart created as expected but I don't know why.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since I am now using JMP12, is it caused by the dated version?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 07:52:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP12-JSL-for-Graph-Builder-Failed-to-add-new-element-into-each/m-p/803818#M98128</guid>
      <dc:creator>Clanlope</dc:creator>
      <dc:date>2024-10-07T07:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: [JMP12 JSL for Graph Builder] Failed to add new element into each position</title>
      <link>https://community.jmp.com/t5/Discussions/JMP12-JSL-for-Graph-Builder-Failed-to-add-new-element-into-each/m-p/803828#M98129</link>
      <description>&lt;P&gt;I don't have access to JMP12 to test this, but it might be enough if you evaluate jj&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Eval(
	EvalExpr(
		gb &amp;lt;&amp;lt; Elements(Position(1, Expr(jj)), Points(X, Y, Legend(1)), Smoother(X, Y, Legend(2)))
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Oct 2024 08:03:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP12-JSL-for-Graph-Builder-Failed-to-add-new-element-into-each/m-p/803828#M98129</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-10-07T08:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: [JMP12 JSL for Graph Builder] Failed to add new element into each position</title>
      <link>https://community.jmp.com/t5/Discussions/JMP12-JSL-for-Graph-Builder-Failed-to-add-new-element-into-each/m-p/803857#M98138</link>
      <description>&lt;P&gt;I tested the JSL under JMP 12.2 and in order to get the Legend to appear correctly I needed to make a minor change.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1728300074995.png" style="width: 680px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/68864iC9EBEBCBFAAC6CB9/image-dimensions/680x440?v=v2" width="680" height="440" role="button" title="txnelson_0-1728300074995.png" alt="txnelson_0-1728300074995.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );
dt &amp;lt;&amp;lt; New Column( "Ratio", formula( :Height / :Weight ) );
gb = Graph Builder( Variables( X( :age ), Y( :height ), Y( :weight ), Y( :ratio ) ) );
For( jj = 1, jj &amp;lt;= 20, jj++,
	Eval(
		Eval Expr(
			gb &amp;lt;&amp;lt; Elements(
				Position( 1, Expr( jj ) ),
				Points( X, Y, Legend( Expr( jj * 2 ) ) ),
				Smoother( X, Y, Legend( Expr( jj * 2 + 1 ) ) )
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Oct 2024 11:21:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP12-JSL-for-Graph-Builder-Failed-to-add-new-element-into-each/m-p/803857#M98138</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-10-07T11:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: [JMP12 JSL for Graph Builder] Failed to add new element into each position</title>
      <link>https://community.jmp.com/t5/Discussions/JMP12-JSL-for-Graph-Builder-Failed-to-add-new-element-into-each/m-p/804101#M98160</link>
      <description>&lt;P&gt;and for later versions of JMP?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 21:23:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP12-JSL-for-Graph-Builder-Failed-to-add-new-element-into-each/m-p/804101#M98160</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-10-07T21:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: [JMP12 JSL for Graph Builder] Failed to add new element into each position</title>
      <link>https://community.jmp.com/t5/Discussions/JMP12-JSL-for-Graph-Builder-Failed-to-add-new-element-into-each/m-p/804113#M98162</link>
      <description>&lt;P&gt;Thanks for your help! After several tries on your solution it worked but not for every time. So I modified my code and found that it may be induced by the code used for changing the marker size/mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;TotalFrame = gb &amp;lt;&amp;lt; xpath("//FrameBox");
For(ii = 1, ii &amp;lt;= N Items(TotalFrame), ii++,
	gb &amp;lt;&amp;lt; SendToReport(
		Dispatch( {}, "Graph Builder", FrameBox( ii ), {Marker Size( 2 ), Marker Drawing Mode( "Outlined" )} ),
	);
);

For( jj = 1 ...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After swithing the position, the chart was drawn currently:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;For( jj = 1 ...

TotalFrame...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I don't know the reason though the problem has been solved...&lt;/P&gt;&lt;P&gt;Thanks again!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 02:53:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP12-JSL-for-Graph-Builder-Failed-to-add-new-element-into-each/m-p/804113#M98162</guid>
      <dc:creator>Clanlope</dc:creator>
      <dc:date>2024-10-08T02:53:41Z</dc:date>
    </item>
  </channel>
</rss>

