<?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: Making Graph Builder's &amp;quot;Size&amp;quot; scale to axes in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Making-Graph-Builder-s-quot-Size-quot-scale-to-axes/m-p/781712#M96454</link>
    <description>&lt;P&gt;Looks like you replicated the process in the question well.&amp;nbsp; I was hoping someone might know of a shift-click option or something else that would help with the scaling.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Aug 2024 19:18:06 GMT</pubDate>
    <dc:creator>BHarris</dc:creator>
    <dc:date>2024-08-14T19:18:06Z</dc:date>
    <item>
      <title>Making Graph Builder's "Size" scale to axes</title>
      <link>https://community.jmp.com/t5/Discussions/Making-Graph-Builder-s-quot-Size-quot-scale-to-axes/m-p/781682#M96448</link>
      <description>&lt;P&gt;Suppose I have a dataset of flaws found on a surface of manufactured products that looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;SN&lt;/TD&gt;&lt;TD&gt;X(cm)&lt;/TD&gt;&lt;TD&gt;Y(cm)&lt;/TD&gt;&lt;TD&gt;Diameter(cm)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0001&lt;/TD&gt;&lt;TD&gt;2.3&lt;/TD&gt;&lt;TD&gt;1.15&lt;/TD&gt;&lt;TD&gt;0.04&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0001&lt;/TD&gt;&lt;TD&gt;2.7&lt;/TD&gt;&lt;TD&gt;0.44&lt;/TD&gt;&lt;TD&gt;0.12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0001&lt;/TD&gt;&lt;TD&gt;1.5&lt;/TD&gt;&lt;TD&gt;2.6&lt;/TD&gt;&lt;TD&gt;0.35&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0002&lt;/TD&gt;&lt;TD&gt;5.4&lt;/TD&gt;&lt;TD&gt;1.9&lt;/TD&gt;&lt;TD&gt;0.17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0002&lt;/TD&gt;&lt;TD&gt;3.1&lt;/TD&gt;&lt;TD&gt;4.1&lt;/TD&gt;&lt;TD&gt;0.59&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Graph Builder given that I Local-Data-Filter the SN, and plot X(cm)-&amp;gt;X, Y(cm)-&amp;gt;Y, and Diameter(cm)-&amp;gt;Size, is there a way to make the resulting dot sizes be drawn to scale on the plot?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 18:40:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Making-Graph-Builder-s-quot-Size-quot-scale-to-axes/m-p/781682#M96448</guid>
      <dc:creator>BHarris</dc:creator>
      <dc:date>2024-08-14T18:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Making Graph Builder's "Size" scale to axes</title>
      <link>https://community.jmp.com/t5/Discussions/Making-Graph-Builder-s-quot-Size-quot-scale-to-axes/m-p/781710#M96452</link>
      <description>&lt;P&gt;easy solution, but not perfectly scaled&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Byron_JMP_0-1723662764659.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67131i9B046019435A35A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Byron_JMP_0-1723662764659.png" alt="Byron_JMP_0-1723662764659.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Solving the problem with just a little clicking around:&lt;/P&gt;
&lt;P&gt;In graph builder I put X and Y on the X and Y axis boxes, then drug SN to the color role and Diameter to the size role.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's what the script would look like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Size( 409, 391 ),
	Variables(
		X( :"X(cm)"n ),
		Y( :"Y(cm)"n ),
		Color( :SN ),
		Size( :"Diameter(cm)"n )
	),
	Elements( Points( X, Y, Legend( 9 ) ) )
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 20:04:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Making-Graph-Builder-s-quot-Size-quot-scale-to-axes/m-p/781710#M96452</guid>
      <dc:creator>Byron_JMP</dc:creator>
      <dc:date>2024-08-14T20:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Making Graph Builder's "Size" scale to axes</title>
      <link>https://community.jmp.com/t5/Discussions/Making-Graph-Builder-s-quot-Size-quot-scale-to-axes/m-p/781712#M96454</link>
      <description>&lt;P&gt;Looks like you replicated the process in the question well.&amp;nbsp; I was hoping someone might know of a shift-click option or something else that would help with the scaling.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 19:18:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Making-Graph-Builder-s-quot-Size-quot-scale-to-axes/m-p/781712#M96454</guid>
      <dc:creator>BHarris</dc:creator>
      <dc:date>2024-08-14T19:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Making Graph Builder's "Size" scale to axes</title>
      <link>https://community.jmp.com/t5/Discussions/Making-Graph-Builder-s-quot-Size-quot-scale-to-axes/m-p/781715#M96456</link>
      <description>&lt;P&gt;I think you might have to do this with a graphic script. Below is very quick and hacky solution, it can give an idea what you could possibly do&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = New Table("Untitled",
	Add Rows(5),
	Compress File When Saved(1),
	New Column("SN", Numeric, "Continuous", Format("Best", 12), Set Values([1, 1, 1, 2, 2])),
	New Column("X(cm)", Numeric, "Continuous", Set Values([2.2999999999999998, 2.7000000000000002, 1.5, 5.4000000000000004, 3.1000000000000001])),
	New Column("Y(cm)", Numeric, "Continuous", Set Values([1.1499999999999999, 0.44, 2.6000000000000001, 1.8999999999999999, 4.0999999999999996])),
	New Column("Diameter(cm)",
		Numeric,
		"Continuous",
		Set Values([0.040000000000000001, 0.12, 0.34999999999999998, 0.17000000000000001, 0.58999999999999997])
	)
);

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size(518, 454),
	Show Control Panel(0),
	Lock Scales(1),
	Variables(X(:"X(cm)"n), Y(:"Y(cm)"n), Size(:"Diameter(cm)"n)),
	Elements(Points(X, Y, Legend(5))),
	Local Data Filter(Add Filter(columns(:SN), Modeling Type(:SN, Nominal)))
);

frame = Report(gb)[FrameBox(1)];

Eval(EvalExpr(
	frame &amp;lt;&amp;lt; Add Graphics Script(
		cur_gb = Expr(Report(gb));
		fb = cur_gb[FrameBox(1)];
		ms = fb &amp;lt;&amp;lt; Find Seg(Marker Seg(1));
		xs = ms &amp;lt;&amp;lt; Get X Values;
		ys = ms &amp;lt;&amp;lt; Get Y Values;
		For(i = 1, i &amp;lt;= N Items(xs), i++,
			dt = cur_gb &amp;lt;&amp;lt; Get Data Table;
			m_rows = dt &amp;lt;&amp;lt; Get Rows Where(:"X(cm)"n == xs[i] &amp;amp; :"Y(cm)"n);
			diam = dt[m_rows, "Diameter(cm)"][1];
			Circle({xs[i], ys[i]}, diam/2);
		);
	);	
));
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_3-1723663153330.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67132i100A5857D45B3B26/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_3-1723663153330.png" alt="jthi_3-1723663153330.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also read how Circle's radius behaves &lt;A href="https://www.jmp.com/support/help/en/18.0/#page/jmp/graphics-functions.shtml?os=win&amp;amp;source=application#ww2626013" target="_blank"&gt;https://www.jmp.com/support/help/en/18.0/#page/jmp/graphics-functions.shtml?os=win&amp;amp;source=application#ww2626013&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 19:19:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Making-Graph-Builder-s-quot-Size-quot-scale-to-axes/m-p/781715#M96456</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-08-14T19:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Making Graph Builder's "Size" scale to axes</title>
      <link>https://community.jmp.com/t5/Discussions/Making-Graph-Builder-s-quot-Size-quot-scale-to-axes/m-p/781741#M96461</link>
      <description>&lt;P&gt;Thanks, &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt; -- you obviously have an impressive command of jsl!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This feels like a capability that JMP should have, and seems like it would be easy to fold into the marker size settings (at least from a UI perspective).&amp;nbsp; I'll add it to the wish-list.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 21:06:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Making-Graph-Builder-s-quot-Size-quot-scale-to-axes/m-p/781741#M96461</guid>
      <dc:creator>BHarris</dc:creator>
      <dc:date>2024-08-14T21:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Making Graph Builder's "Size" scale to axes</title>
      <link>https://community.jmp.com/t5/Discussions/Making-Graph-Builder-s-quot-Size-quot-scale-to-axes/m-p/782018#M96519</link>
      <description>&lt;P&gt;Wish-list item posted here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.jmp.com/t5/JMP-Wish-List/Graph-Builder-Enable-axes-aware-sizing-of-dots-with-Size-drop/idi-p/781753" target="_blank"&gt;Graph Builder: Enable axes-aware sizing of dots with Size drop-zone - JMP User Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt; -- ok to copy/paste your example image above into the wish-list item?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 20:51:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Making-Graph-Builder-s-quot-Size-quot-scale-to-axes/m-p/782018#M96519</guid>
      <dc:creator>BHarris</dc:creator>
      <dc:date>2024-08-15T20:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Making Graph Builder's "Size" scale to axes</title>
      <link>https://community.jmp.com/t5/Discussions/Making-Graph-Builder-s-quot-Size-quot-scale-to-axes/m-p/782080#M96529</link>
      <description>&lt;P&gt;Of course. You could modify it a bit to use "FILL" argument in Circle so it would look something like this (might be a good idea to hide legend when you do this as the circles contain the size information not the underlaying markers)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1723781494787.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67192i0E39E5298BCFDA55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1723781494787.png" alt="jthi_0-1723781494787.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 04:12:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Making-Graph-Builder-s-quot-Size-quot-scale-to-axes/m-p/782080#M96529</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-08-16T04:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Making Graph Builder's "Size" scale to axes</title>
      <link>https://community.jmp.com/t5/Discussions/Making-Graph-Builder-s-quot-Size-quot-scale-to-axes/m-p/798068#M97386</link>
      <description>&lt;P&gt;I'm not quite following this entire discussion, but I thought a few notes might be relevant.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;There is a "Size to Isometric" command in Right Click &amp;gt; Graph &amp;gt; Size/Scale &amp;gt; Size To Isometric. It sizes the graph so that the X and Y have the same values per pixel. It doesn't persist though.&lt;/LI&gt;
&lt;LI&gt;The size variable is represented as circle area, not diameter.&lt;/LI&gt;
&lt;LI&gt;A few versions ago we added the Marker Draw Expo functionality to markers and Graph Builder (called Shape Expressions under Points red-triangle menu).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XanGregg_0-1726088683422.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/68156i4FCA89E2EEDCF876/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XanGregg_0-1726088683422.png" alt="XanGregg_0-1726088683422.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Size( 496, 501 ),
	Show Control Panel( 0 ),
	Lock Scales(1),
	Variables( X( :"X(cm)"n ), Y( :"Y(cm)"n ) ),
	Elements(
		Points( X, Y, Legend( 5 ),
			Set Shape Expression(
				Expr(
					Function( {this seg, this row, x, y, pixel size, row state},
						{r = :"Diameter(cm)"n / 2},
						Oval( x - r, y + r, x + r, y - r, 1 )
					)
				)
			)
		)
	),
	Local Data Filter( Add Filter( columns( :SN ), Modeling Type( :SN, Nominal ) ) ),
	SendToReport(
		Dispatch( {}, "Graph Builder", FrameBox, {Size To Isometric} )
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Sep 2024 21:06:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Making-Graph-Builder-s-quot-Size-quot-scale-to-axes/m-p/798068#M97386</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2024-09-11T21:06:25Z</dc:date>
    </item>
  </channel>
</rss>

