Ottieni la proprietà 'By' quando usi SendToByGroup JSLCiao,
Ho una domanda riguardante Variability Chart usando lo script JSL. Ho un grafico di variabilità usando SendToGroupBy. In questo script JSL faccio uno screenshot di ogni grafico creato da SendToGroupBy. Ma voglio aggiungere al file png il nome della proprietà in base al quale è raggruppato. Nell'esempio seguente, voglio aggiungere il nome del file png FileName con Example1. Come posso ottenere quel valore della proprietà di accesso? Ogni aiuto sarebbe apprezzato.


Automazione e scriptingFinestreRe: Ottieni la proprietà 'By' quando usi SendToByGroup JSL<< Ottieni dove Expr potrebbe funzionare
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
dists = dt << Distribution(
By(:Sex),
SendToByGroup(
{:sex == "F"},
Continuous Distribution(Column(:weight), Normal Quantile Plot(1))
),
SendToByGroup({:sex == "M"}, Continuous Distribution(Column(:weight)))
);
For Each({dist}, dists,
show(dist << Get Where Expr);
);Re: Ottieni la proprietà 'By' quando usi SendToByGroup JSLCiao Jarmo,
Thank you for your reply. Unfortunately, when I try the sample script returns dist << Get Where Expr Distribution[]. Am I missing something? Should there be some expression to access the dist obj?
Re: Ottieni la proprietà 'By' quando usi SendToByGroup JSLQuale versione di JMP stai utilizzando? Penso che potrebbe essere una novità in JMP18.
Re: Ottieni la proprietà 'By' quando usi SendToByGroup JSLSto utilizzando JMP 17.0.0
Re: Ottieni la proprietà 'By' quando usi SendToByGroup JSLInvio la risposta che ho ricevuto dal supporto JMP qui per visibilità. Funziona per JMP 17.0.0
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dists = dt << Distribution(
By( :Sex ),
SendToByGroup(
{:sex == "F"},
Continuous Distribution( Column( :weight ), Normal Quantile Plot( 1 ) )
),
SendToByGroup( {:sex == "M"}, Continuous Distribution( Column( :weight ) ) )
);
For Each( {dist}, dists, expr = dist << get script;
Print( Arg( Extract Expr( expr, Where( Wild() ) ) ) )
);dist<< Ottieni dove Expr funziona per JMP 18
Re: Ottieni la proprietà 'By' quando usi SendToByGroup JSLQuesto è ciò che avrei suggerito anche per le versioni precedenti di JMP. E l'ho fatto anche in JMP18, finché non ho scoperto che JMP18 ha pochi messaggi utili riguardo all'uso di by e where nelle piattaforme (almeno << Get Where Expr e << Get By Levels).