<?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: JMP15 Graph Builder does not update Map after changing -XY coordinates file in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JMP15-Graph-Builder-does-not-update-Map-after-changing-XY/m-p/400480#M65157</link>
    <description>&lt;P&gt;I addressed this problem to JMP support team. They answered me that this bug is fixed in the version 16, while for versions 15.x&amp;nbsp;no&amp;nbsp;release were in plan.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jul 2021 07:45:27 GMT</pubDate>
    <dc:creator>antonio-domenic</dc:creator>
    <dc:date>2021-07-13T07:45:27Z</dc:date>
    <item>
      <title>JMP15 Graph Builder does not update Map after changing -XY coordinates file</title>
      <link>https://community.jmp.com/t5/Discussions/JMP15-Graph-Builder-does-not-update-Map-after-changing-XY/m-p/335041#M58257</link>
      <description>&lt;P&gt;&lt;BR /&gt;old working JMP13 script does not work anymore with JMP15. The script changes the coordinates of -XY map file and neither Graph Builder updates nor the changed map appear creating a new graph builder instance. Just opening a new session new map is shown. It looks like that a sort of caching prevent updates.&lt;/P&gt;&lt;P&gt;Is it possible to fix or workaround this behavior?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt2 = open("C:/TEMP/map-Name.jmp");
dt3 = open("C:/TEMP/map-XY.jmp");
dt= open("C:/TEMP/map.jmp");

new window("shift up",
	gb = dt &amp;lt;&amp;lt; Graph Builder(
		Size( 1381, 885 ),
		Variables( Shape( :xy ) ),
		Elements( Map Shapes( Legend( 6 ) ) )
	);

	text box("shift up selected columns by 10"),
	button box("up",
		rws= dt&amp;lt;&amp;lt; Get Selected Rows();
		if(nrows(rws),
			r=[];
			for(j=1, j&amp;lt;=nitems(rws), j++,
				sh= dt[rws[j],"X"];
				dt &amp;lt;&amp;lt; select where(:X == sh);
				rw= dt &amp;lt;&amp;lt; get selected rows;
				r= r |/ rw;
				
			);
			
			
			for(i=1, i&amp;lt;=nitems(r), i++,
						dt[r[i],"bottom"]=dt[r[i],"bottom"] + 10;
						dt[r[i],"top"]=dt[r[i],"top"] + 10;

			);
			rws= r;
			values= column(dt,"xy")[rws];
				
			rws= dt2 &amp;lt;&amp;lt; get rows where( Contains( values, :Name ) );
			shapes= column(dt2,"Shape ID")[rws];
			
			rws = dt3 &amp;lt;&amp;lt;  get rows where(Contains( shapes, :Name("Shape ID") ) );
			sy = column(dt3,"Y1") &amp;lt;&amp;lt; get values;
			for(i=1, i&amp;lt;=nrows(rws), i++,
					sy[rws[i]] = sy[rws[i]] + 10;
			);
			column(dt3, "Y1") &amp;lt;&amp;lt; set values(sy);
			dt3&amp;lt;&amp;lt;save("C:\TEMP\map-XY.jmp");
			//the following the way used to update graph builder with JMP13
				//window:gb &amp;lt;&amp;lt;reshow;
				//ColumnSwitcherObject = window:gb &amp;lt;&amp;lt; Column Switcher( :xy, {:xy} );
				//ColumnSwitcherObject &amp;lt;&amp;lt; Next;
				//ColumnSwitcherObject &amp;lt;&amp;lt; run;
				//ColumnSwitcherObject &amp;lt;&amp;lt; remove column switcher;
		,
			caption("nothing selected");
		);	
	),
);	&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Jun 2023 21:58:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP15-Graph-Builder-does-not-update-Map-after-changing-XY/m-p/335041#M58257</guid>
      <dc:creator>antonio-domenic</dc:creator>
      <dc:date>2023-06-09T21:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: JMP15 Graph Builder does not update Map after changing -XY coordinates file</title>
      <link>https://community.jmp.com/t5/Discussions/JMP15-Graph-Builder-does-not-update-Map-after-changing-XY/m-p/400408#M65150</link>
      <description>&lt;P&gt;I've got this same problem right now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's driving me crazy...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm going to attempt a delete symbols approach and see if I can get JMP to let go of the stale reference.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 22:18:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP15-Graph-Builder-does-not-update-Map-after-changing-XY/m-p/400408#M65150</guid>
      <dc:creator>xxvvcczz</dc:creator>
      <dc:date>2021-07-12T22:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: JMP15 Graph Builder does not update Map after changing -XY coordinates file</title>
      <link>https://community.jmp.com/t5/Discussions/JMP15-Graph-Builder-does-not-update-Map-after-changing-XY/m-p/400480#M65157</link>
      <description>&lt;P&gt;I addressed this problem to JMP support team. They answered me that this bug is fixed in the version 16, while for versions 15.x&amp;nbsp;no&amp;nbsp;release were in plan.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 07:45:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP15-Graph-Builder-does-not-update-Map-after-changing-XY/m-p/400480#M65157</guid>
      <dc:creator>antonio-domenic</dc:creator>
      <dc:date>2021-07-13T07:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: JMP15 Graph Builder does not update Map after changing -XY coordinates file</title>
      <link>https://community.jmp.com/t5/Discussions/JMP15-Graph-Builder-does-not-update-Map-after-changing-XY/m-p/402048#M65295</link>
      <description>&lt;P&gt;My organization doesn't have JMP 16, we barely have major rollout of 15 :(&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Guess I have to workaround by redrawing, bummer. Thanks for answer!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 16:38:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP15-Graph-Builder-does-not-update-Map-after-changing-XY/m-p/402048#M65295</guid>
      <dc:creator>xxvvcczz</dc:creator>
      <dc:date>2021-07-19T16:38:03Z</dc:date>
    </item>
  </channel>
</rss>

