<?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: Decimals on y axis on plots in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Decimals-on-y-axis-on-plots/m-p/837344#M101380</link>
    <description>&lt;P&gt;Modify it in the graph builder, get the script from red triangle menu and then make changes based on that&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Variables(X(:weight), Y(:height)),
	Elements(Points(X, Y, Legend(3))),
	SendToReport(Dispatch({}, "height", ScaleBox, {Format("Fixed Dec", 12, 3)}))
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 07 Feb 2025 10:47:42 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2025-02-07T10:47:42Z</dc:date>
    <item>
      <title>Decimals on y axis on plots</title>
      <link>https://community.jmp.com/t5/Discussions/Decimals-on-y-axis-on-plots/m-p/837334#M101379</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I use a simple JMP add-in that outputs some plots. Is there anything I could do to change the decimal precision of the y-axis without having to manually adjust it each time?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How it is now:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ConvergentWhale_2-1738924133694.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/72651iF1708A08BEA5EA9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ConvergentWhale_2-1738924133694.png" alt="ConvergentWhale_2-1738924133694.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;how i would like it :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ConvergentWhale_1-1738924123282.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/72650i14BC7000BE0C54C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ConvergentWhale_1-1738924123282.png" alt="ConvergentWhale_1-1738924123282.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The script that i use is this :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;					
					gb1 = Expr( 
						Graph Builder(
						Size( 635, 338 ),
						invisible,
						Show Control Panel( 0 ),
						Variables( X( :Time Point Months ), Y( :Result ), Overlay( :Batch ) ),
						Elements(
							Points( X, Y, Legend( 1 ) ),
							Line Of Fit( X, Y, Legend( 2 ), Confidence of Fit( 0 ) )
						),
						Local Data Filter(
							invisible,
							Add Filter(
								columns( :Component, :Batch, :Source Table ),
								Where( :Component == numPar[i] ),
								Where( :Batch == {cyc[k], bat[k]} ),
								Where( :Source Table == dt_name )
							)
						),
						SendToReport(
							Dispatch(
								{},
								"Time Point Months",
								ScaleBox,
								{Min( -0.1 ), Max( maxvalts ), Inc( 2 ), Minor Ticks( 1 )}
							),
							Dispatch(
								{},
								"Result",
								ScaleBox,
								{Min( Eval( minval )), Max( Eval( maxval )), Inc( Eval( (maxval - minval) / 10 ))}
							),
							Dispatch(
								{},
								"graph title",
								TextEditBox,
								{Set Text( numPar[i] || " vs. Time Point " )}
							),
							Dispatch(
								{},
								"Y title",
								TextEditBox,
								{Set Text( yTitleText )}
							)
						  )
						);	
					)&lt;/CODE&gt;&lt;/PRE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 10:30:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Decimals-on-y-axis-on-plots/m-p/837334#M101379</guid>
      <dc:creator>ConvergentWhale</dc:creator>
      <dc:date>2025-02-07T10:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Decimals on y axis on plots</title>
      <link>https://community.jmp.com/t5/Discussions/Decimals-on-y-axis-on-plots/m-p/837344#M101380</link>
      <description>&lt;P&gt;Modify it in the graph builder, get the script from red triangle menu and then make changes based on that&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Variables(X(:weight), Y(:height)),
	Elements(Points(X, Y, Legend(3))),
	SendToReport(Dispatch({}, "height", ScaleBox, {Format("Fixed Dec", 12, 3)}))
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Feb 2025 10:47:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Decimals-on-y-axis-on-plots/m-p/837344#M101380</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-02-07T10:47:42Z</dc:date>
    </item>
  </channel>
</rss>

