cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Register to attend Discovery Summit 2025 Online: Early Users Edition, Sept. 24-25.
  • New JMP features coming to desktops everywhere this September. Sign up to learn more at jmp.com/launch.
Choose Language Hide Translation Bar
HV0508
Level III

Line turns to smoother when created from JSL script.

Can anyone help me identify what am I doing wrong here 

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)))
)


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 .


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 ? 

12 REPLIES 12
HV0508
Level III

Re: Line turns to smoother when created from JSL script.

ignore dtMaxF, dtMaxR  (i will remove this from code ) . I am attaching the complete script for you to analyze

 

 

jthi
Super User

Re: Line turns to smoother when created from JSL script.

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 (Insert one expression into another using Eval Insert, Eval Expr, Parse, and Substitute ) .

-Jarmo
HV0508
Level III

Re: Line turns to smoother when created from JSL script.

Okay let me try that . Umm so far all formulas are working , but let me check it again

Recommended Articles