<?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: Line turns to smoother when created from JSL script. in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844809#M101917</link>
    <description>&lt;P&gt;This doesn't work for me .&amp;nbsp;&lt;BR /&gt;I tried it again .&amp;nbsp;&lt;BR /&gt;I did not create a smoother manually . I created Line and added points to it and changed it to curve. Copied the script (same as the one in description) . But the same script is creating smoother not Line.&lt;/P&gt;&lt;P&gt;Q- When you run your script, what do you see on the control panel on the left side Points and Line? or Points and Smoother? For me , I see points and smoother on running my Line script.&lt;BR /&gt;Can you try adding more points to your code little in zigzag form and then run your script ?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Feb 2025 15:17:51 GMT</pubDate>
    <dc:creator>HV0508</dc:creator>
    <dc:date>2025-02-27T15:17:51Z</dc:date>
    <item>
      <title>Line turns to smoother when created from JSL script.</title>
      <link>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844776#M101912</link>
      <description>&lt;P&gt;Can anyone help me identify what am I doing wrong here&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Size(984, 563),
	Show Control Panel(1),
	Variables(X(:X), Y(As Column(Y))),
	Elements(Line(X, Y, Legend(3), Connection("Curve")), Points(X, Y, Legend(4)))
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;My line turns to a smoother , I want it to touch all the points with a curve connection . I created the chart from console of JMP and it worked fine , I even copied the JSL from the session script but turns out whenever I run it through JSL it gives me a smoother .&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I have one more question - The smoother gets drawn on continuous Numeric column . I though maybe changing it to nominal might have some impact and it did not get created at all(no line nor the smoother) . Does line not work on nominal type Numeric column ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 14:45:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844776#M101912</guid>
      <dc:creator>HV0508</dc:creator>
      <dc:date>2025-02-27T14:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Line turns to smoother when created from JSL script.</title>
      <link>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844789#M101914</link>
      <description>&lt;P&gt;You are using Curve connection and not Line so that gives you smoothing. Also it might not be able to connect all the points if there are many values for same X-axis values unless you enable Row order.&lt;/P&gt;
&lt;P&gt;Without row order&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1740667748906.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73411iB9924CA74A865442/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1740667748906.png" alt="jthi_0-1740667748906.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;With row order (I did sort the data by weight first)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1740667774919.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73412i510E7B45CF53642D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1740667774919.png" alt="jthi_1-1740667774919.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 14:49:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844789#M101914</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-02-27T14:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Line turns to smoother when created from JSL script.</title>
      <link>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844796#M101915</link>
      <description>&lt;P&gt;&lt;BR /&gt;This is what I achieve when using code - .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HV0508_5-1740668168720.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73418iD42FD61EF354A3A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HV0508_5-1740668168720.png" alt="HV0508_5-1740668168720.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HV0508_0-1740667945239.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73413iE1B9810304C3FC09/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HV0508_0-1740667945239.png" alt="HV0508_0-1740667945239.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when manually I add a line&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HV0508_1-1740667991275.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73414iE0B28B0A4945B0D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HV0508_1-1740667991275.png" alt="HV0508_1-1740667991275.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Next - I change the connection to curve&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HV0508_2-1740668030076.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73415i837245CD0726D926/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HV0508_2-1740668030076.png" alt="HV0508_2-1740668030076.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HV0508_3-1740668046105.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73416i0BFC64124998BA03/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HV0508_3-1740668046105.png" alt="HV0508_3-1740668046105.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HV0508_4-1740668132774.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73417iF76725E99284F779/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HV0508_4-1740668132774.png" alt="HV0508_4-1740668132774.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;I achieve what I desire . A curve touching all of my points .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So how can I achieve this via my code?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 14:56:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844796#M101915</guid>
      <dc:creator>HV0508</dc:creator>
      <dc:date>2025-02-27T14:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Line turns to smoother when created from JSL script.</title>
      <link>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844798#M101916</link>
      <description>&lt;P&gt;Smoother (with points) is the default for some column selections, that could be the reason why JMP is using it for your graph. How does JMP created script look like if you get it from the smoother version?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For me this seems work ok.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = New Table("Untitled",
	Add Rows(7),
	Compress File When Saved(1),
	New Column("Column 1", Numeric, "Continuous", Format("Best", 12), Set Values([1, 2, 3, 4, 5, 6, 7])),
	New Column("Column 2", Numeric, "Continuous", Format("Best", 12), Set Values([100, 89, 60, 50, 40, 20, 10]))
);

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size(528, 454),
	Show Control Panel(0),
	Variables(X(:Column 1), Y(:Column 2)),
	Elements(Points(X, Y, Legend(3)), Line(X, Y, Legend(6), Connection("Curve")))
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1740668430283.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73419iF82E5AFE2A0792C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1740668430283.png" alt="jthi_0-1740668430283.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 15:06:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844798#M101916</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-02-27T15:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Line turns to smoother when created from JSL script.</title>
      <link>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844809#M101917</link>
      <description>&lt;P&gt;This doesn't work for me .&amp;nbsp;&lt;BR /&gt;I tried it again .&amp;nbsp;&lt;BR /&gt;I did not create a smoother manually . I created Line and added points to it and changed it to curve. Copied the script (same as the one in description) . But the same script is creating smoother not Line.&lt;/P&gt;&lt;P&gt;Q- When you run your script, what do you see on the control panel on the left side Points and Line? or Points and Smoother? For me , I see points and smoother on running my Line script.&lt;BR /&gt;Can you try adding more points to your code little in zigzag form and then run your script ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 15:17:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844809#M101917</guid>
      <dc:creator>HV0508</dc:creator>
      <dc:date>2025-02-27T15:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Line turns to smoother when created from JSL script.</title>
      <link>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844813#M101918</link>
      <description>&lt;P&gt;Which JMP version are you running? I'm running 18.1.2. Did you try running my script? Can you provide your data table?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = New Table("Untitled",
	Add Rows(10),
	Compress File When Saved(1),
	New Column("Column 1", Numeric, "Continuous", Format("Best", 12), Set Values([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])),
	New Column("Column 2", Numeric, "Continuous", Format("Best", 12), Set Values([100, 80, 90, 60, 70, 40, 30, 35, 20, 10]))
);

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Variables(X(:Column 1), Y(:Column 2)),
	Elements(Points(X, Y, Legend(3)), Line(X, Y, Legend(6), Connection("Curve")))
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1740670344995.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73431iE56A074A97ABFB5D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1740670344995.png" alt="jthi_0-1740670344995.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 15:35:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844813#M101918</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-02-27T15:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Line turns to smoother when created from JSL script.</title>
      <link>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844818#M101919</link>
      <description>&lt;P&gt;My JMP version is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HV0508_0-1740670971504.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73435i89A5B2794B13B9A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HV0508_0-1740670971504.png" alt="HV0508_0-1740670971504.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have renamed the columns , and also deleted the other columns except my X and Y . Check if this works for you .&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 15:49:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844818#M101919</guid>
      <dc:creator>HV0508</dc:creator>
      <dc:date>2025-02-27T15:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Line turns to smoother when created from JSL script.</title>
      <link>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844820#M101920</link>
      <description>&lt;P&gt;Seems fine?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1740671612136.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73437i3FA930546CD3B60B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1740671612136.png" alt="jthi_0-1740671612136.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;Names Default To Here(1);

dt = Open("$DOWNLOADS/data_jmp.jmp");

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Variables(X(:X), Y(:Y)),
	Elements(Line(X, Y, Legend(5), Connection("Curve")), Points(X, Y, Legend(6)))
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Feb 2025 15:54:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844820#M101920</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-02-27T15:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Line turns to smoother when created from JSL script.</title>
      <link>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844827#M101922</link>
      <description>&lt;P&gt;Yeah same is working for me individually&amp;nbsp; , why is it not working from a loop :(&lt;/img&gt; . What is wrong . Can you check this script once -&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;createDashboard = Function({dtMaxF, dtMaxR, normMeanColsF, normMeanColsR, direction}, 
 
	New Window(direction || " Dashboard",
		Tab Box(
			"Maximum Values",
			V List Box(
				For(i = 1, i &amp;lt;= N Items(normalizedColumns), i++,
					Graph Builder(
						Size(984, 563),
						Show Control Panel(1),
						Variables(X(:X), Y(As Column(normalizedColumns[i]))),
						Elements(
							Line(X, Y, Legend(5), Connection("Curve")),
							Points(X, Y, Legend(6))
						)
					)
				)
			),
			"Normalized Average Values",
			V List Box(
				For(i = 1, i &amp;lt;= N Items(normMeanColsF), i++,
					Graph Builder(
						Size(984, 563),
						Show Control Panel(1),
						Variables(X(:X), Y(As Column(normMeanColsF[i]))),
						Elements(
							Line(X, Y, Legend(5), Connection("Curve")),
							Points(X, Y, Legend(6))
						)
					)
				),
				For(i = 1, i &amp;lt;= N Items(normMeanColsR), i++,
					Graph Builder(
						Size(984, 563),
						Show Control Panel(1),
						Variables(X(:X), Y(As Column(normMeanColsR[i]))),
						Elements(
							Line(X, Y, Legend(5), Connection("Curve")),
							Points(X, Y, Legend(6))
						)
					)
				)
			)
		)
	)
);
 
 
createDashboard(
	dtMaxForward, dtMaxReverse, normalizedMeanColumns, normalizedMeanColumns, "Analysis"
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Feb 2025 16:13:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844827#M101922</guid>
      <dc:creator>HV0508</dc:creator>
      <dc:date>2025-02-27T16:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Line turns to smoother when created from JSL script.</title>
      <link>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844828#M101923</link>
      <description>&lt;P&gt;What at dtMaxF, dtMaxR used for in the function? Where is normalizedColumns coming from to the function?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 16:20:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844828#M101923</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-02-27T16:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Line turns to smoother when created from JSL script.</title>
      <link>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844830#M101924</link>
      <description>&lt;P&gt;ignore &lt;SPAN&gt;dtMaxF, dtMaxR&amp;nbsp; (i will remove this from code ) .&amp;nbsp;&lt;/SPAN&gt;I am attaching the complete script for you to analyze&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 14:49:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844830#M101924</guid>
      <dc:creator>HV0508</dc:creator>
      <dc:date>2025-02-28T14:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Line turns to smoother when created from JSL script.</title>
      <link>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844832#M101925</link>
      <description>&lt;P&gt;Start with something very small. You can start by scripting single graph if your table creations are working properly. Then expand to few different graphs possibly from different tables. You are missing table references when plotting and your formulas might not behave as you expect (&lt;LI-MESSAGE title="Insert one expression into another using Eval Insert, Eval Expr, Parse, and Substitute" uid="48998" url="https://community.jmp.com/t5/JSL-Cookbook-Archived/Insert-one-expression-into-another-using-Eval-Insert-Eval-Expr/m-p/48998#U48998" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;) .&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 17:00:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844832#M101925</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-02-27T17:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Line turns to smoother when created from JSL script.</title>
      <link>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844855#M101926</link>
      <description>&lt;P&gt;Okay let me try that . Umm so far all formulas are working , but let me check it again&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 17:47:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Line-turns-to-smoother-when-created-from-JSL-script/m-p/844855#M101926</guid>
      <dc:creator>HV0508</dc:creator>
      <dc:date>2025-02-27T17:47:19Z</dc:date>
    </item>
  </channel>
</rss>

