Domanda della community JMP: Graph Builder con filtro dati locale produce un output errato in JMP 16, mentre funziona in JMP 14.CIAO,
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.
Codice JMP 14 (funziona correttamente):
</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="">
Modellazione statistica avanzataAutomazione e scriptingRicerca sui consumatori e sul mercatoOrganizzazione dei contenutiEsplorazione e visualizzazione dei datiProgettazione degli esperimentiIngegneria della qualità e dei processiAnalisi di affidabilitàOggetto: Domanda della community JMP Titolo: Graph Builder con filtro dati locale produce un output errato in JMP 16 - funziona in JMP 14Crea il grafico manualmente in JMP16 e copia lo script dal generatore di grafici.
Oggetto: Domanda della community JMP Titolo: Graph Builder con filtro dati locale produce un output errato in JMP 16 - funziona in JMP 14Lo traccio manualmente e lo script è questo: (l'output del grafico è stato allegato come "1")
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" )}
)
)
);
Il problema è che vorrei rimuovere completamente il filtro dati locale, ma quando lo rimuovo ottengo questo risultato: screenshot 2
Oggetto: Domanda della community JMP Titolo: Graph Builder con filtro dati locale produce un output errato in JMP 16 - funziona in JMP 14Quindi come posso renderlo invisibile?
Oggetto: Domanda della community JMP Titolo: Graph Builder con filtro dati locale produce un output errato in JMP 16 - funziona in JMP 14Vorresti nasconderlo completamente? Puoi comprimere la casella di contorno e quindi impostare il titolo della casella di contorno su "", ad esempio. Dovrebbe essere un buon risultato.
Oggetto: Domanda della community JMP Titolo: Graph Builder con filtro dati locale produce un output errato in JMP 16 - funziona in JMP 14Come posso farlo collassare? Cosa intendi?
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 ))},
)
)
)
Oggetto: Domanda della community JMP Titolo: Graph Builder con filtro dati locale produce un output errato in JMP 16 - funziona in JMP 14Fai clic sul triangolo grigio per comprimere la cornice (in modo che nasconda i filtri), quindi imposta il titolo su vuoto.
Da questo

a questo

Non ho JMP16 ma lo script è molto probabilmente molto simile a questo
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))
)
)
)
);