JMP-Community-Frage: Graph Builder mit lokalem Datenfilter liefert in JMP 16 falsche Ergebnisse – funktioniert in JMP 14Hallo,
I have the following JSL code that creates a Graph Builder plot inside a For loop. It works correctly in JMP 14 but produces wrong output in JMP 16.
JMP 14 Code (funktioniert einwandfrei):
</CODE></PRE>
<PRE>gb = Expr(
dt << Graph Builder(
Size( 635, 338 ),
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, bat}),
Where( :Source Table == dt_name )
)
),
SendToReport(
Dispatch(
{},
"Time Point Months",
ScaleBox,
{Min( -0.1 ), Max( maxvalts ), Inc( 2 ), Minor Ticks( 1 )}
),
Dispatch(
{},
"graph title",
TextEditBox,
{Set Text( numPar[i] || " vs. Time Point" )}
),
Dispatch( {},
"Y title",
TextEditBox,
{Set Text( yTitleText)}
),
Dispatch(
{},
"Result",
ScaleBox,
{Format( "Fixed Dec", 10, 3 ),
Min( Eval( minval )),
Max( Eval( maxval )),
Inc( Eval( (maxval - minval) / 10 ))}
)
)
)
);
col1 << Append(gb);<BR /><BR /><BR /><STRONG>Did the Graph Builder syntax or Local Data Filter behavior change between JMP 14 and JMP 16? How should I rewrite this to work correctly in JMP 16?</STRONG></PRE>
<PRE data-v-136e9b6a=""><CODE class="language-javascript hljs" data-v-136e9b6a="">
Fortgeschrittene statistische ModellierungAutomatisierung und SkripterstellungVerbraucher- und MarktforschungInhaltsorganisationDatenexploration und -visualisierungVersuchsplanungQualitäts- und ProzessentwicklungZuverlässigkeitsanalyseBetreff: JMP-Community-Frage Titel: Graph Builder mit lokalem Datenfilter liefert falsche Ausgabe in JMP 16 – funktioniert in JMP 14Erstellen Sie das Diagramm manuell in JMP16 und kopieren Sie das Skript aus dem Graph Builder.
Betreff: JMP-Community-Frage Titel: Graph Builder mit lokalem Datenfilter liefert falsche Ausgabe in JMP 16 – funktioniert in JMP 14Ich erstelle die Grafik manuell, und das Skript lautet wie folgt: (Die Grafikausgabe ist als "1" angehängt.)
Graph Builder(
Size( 635, 580 ),
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(
Close Outline( 1 ),
Add Filter(
columns( :Component, :Batch, :Source Table ),
Where( :Component == "Bacterial Endotoxin" ),
Where( :Source Table == "Subset of Stab_IcoSema_test1_test2_test4" ),
Display( :Component, N Items( 15 ), Find( Set Text( "" ) ) ),
Display( :Batch, N Items( 6 ) ),
Display( :Source Table, N Items( 2 ), "List Display" )
)
),
SendToReport(
Dispatch(
{},
"Time Point Months",
ScaleBox,
{Min( -0.1 ), Max( 19.395 ), Inc( 2 ), Minor Ticks( 1 )}
),
Dispatch( {}, "Result", ScaleBox, {Format( "Fixed Dec", 10, 3 )} ),
Dispatch(
{},
"graph title",
TextEditBox,
{Set Text( "Bacterial Endotoxin vs. Time Point" )}
),
Dispatch(
{},
"Y title",
TextEditBox,
{Set Text( "Content of semaglutide" )}
)
)
);
Ich möchte den lokalen Datenfilter komplett entfernen, aber wenn ich ihn entferne, erhalte ich diese Ausgabe: Screenshot 2
Betreff: JMP-Community-Frage Titel: Graph Builder mit lokalem Datenfilter liefert falsche Ausgabe in JMP 16 – funktioniert in JMP 14Wie kann ich es unsichtbar machen?
Betreff: JMP-Community-Frage Titel: Graph Builder mit lokalem Datenfilter liefert falsche Ausgabe in JMP 16 – funktioniert in JMP 14Sie möchten es vollständig ausblenden? Sie können den Rahmen ausblenden und dann beispielsweise den Titel des Rahmens auf "" setzen. Damit sollten Sie dem gewünschten Ergebnis schon recht nahekommen.
Betreff: JMP-Community-Frage Titel: Graph Builder mit lokalem Datenfilter liefert falsche Ausgabe in JMP 16 – funktioniert in JMP 14Wie kann ich es zusammenklappen? Was meinst du?
dt << Graph Builder(
Size( 635, 338 ),
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(
Close Outline( 1 ),
Add Filter(
columns( :Component, :Batch, :Source Table ),
Where( :Component == numPar[i] ),
Where( :Batch == {cyc, bat}),
Where( :Source Table == dt_name )
)
),
SendToReport(
Dispatch(
{},
"Time Point Months",
ScaleBox,
{Min( -0.1 ), Max( maxvalts ), Inc( 2 ), Minor Ticks( 1 )}
),
Dispatch(
{},
"graph title",
TextEditBox,
{Set Text( numPar[i] || " vs. Time Point" )}
),
Dispatch( {},
"Y title",
TextEditBox,
{Set Text( yTitleText)}
),
Dispatch(
{},
"Result",
ScaleBox,
{Format( "Fixed Dec", 10, 3 ), Min( Eval( minval )), Max( Eval( maxval )), Inc( Eval( (maxval - minval) / 10 ))},
)
)
)
Betreff: JMP-Community-Frage Titel: Graph Builder mit lokalem Datenfilter liefert falsche Ausgabe in JMP 16 – funktioniert in JMP 14Sie klicken auf das graue Dreieck, um das Rahmenfeld auszublenden (sodass die Filter ausgeblendet werden), und stellen dann den Titel auf leer ein.
Daraus ergibt sich Folgendes

dazu

Ich besitze JMP16 nicht, aber das Skript dürfte diesem hier sehr ähnlich sein.
Graph Builder(
Size(658, 555),
Show Control Panel(0),
Variables(X(:height), Y(:weight)),
Elements(Points(X, Y, Legend(7)), Smoother(X, Y, Legend(8))),
Local Data Filter(
Close Outline(1),
Title(""),
Add Filter(
columns(:name),
Where(
:name == {"ALFRED", "ALICE", "AMY", "BARBARA", "CAROL", "CHRIS",
"CLAY", "DANNY", "DAVID", "EDWARD", "ELIZABETH"}
),
Display(
:name,
N Items(15),
Find(Set Text(""), Contains Terms(1), Contains Phrase(0))
)
)
)
);