Quando si genera un grafico bivariato (ad esempio), la dimensione della casella di testo è troppo ridotta per la scrittura interna.
Dopo aver eseguito lo script devo premere CTRL, fare clic con il pulsante destro del mouse sulla casella di testo e scegliere "Testo a capo", quindi scegliere la dimensione desiderata.
C'è un modo per scegliere la dimensione predefinita? o qualche modo per aggiungere allo script per generare la trama con la dimensione del testo a capo desiderata?
Per esempio:
risultato della casella di testo

Risultati della casella di testo che desidero

Il codice JSL che sto utilizzando: Y,X può essere qualsiasi dato numerico. legenda nominale come Tubo_1, Casa_2, ... (riga di riferimento non importante)
Bivariate(
Y( :Y_column ),
X( :X_column),
by(),
Automatic Recalc( 1 ),
Group By(:Some_column),
Fit Spline( 0.1, Standardized,{REPORT(0)} ),
SendToReport(
Dispatch({},"1",ScaleBox,{Format( "m/d/y", 10 ), Interval( "Day" ), Inc( 4 ), Minor Ticks( 1 ),Rotated Labels( "Vertical" )}),
Dispatch({},"2",ScaleBox,{Add Ref Line( eval(Some_Line_set_in_global), "DashDotDot", "Black", "UCL", 2 ),Add Ref Line( eval(Some_Line_set_in_global), "DashDotDot", "Black", "LCL", 2 )}),
Dispatch({},"3",ScaleBox,{Rotated Labels( "Vertical" )}),
Dispatch({},"Bivar Plot",FrameBox,{Marker Size( 1 ), Marker Selection Mode( "Unselected Faded" ),{Frame Size( 390, 270 ), Marker Size( MSB ), Line Width Scale( 1 )},
Row Legend(:Some_column,Color( 1 ),Color Theme( "JMP Default" ),Marker( 0 ), Marker Theme( "" ),Continuous Scale( 0 ),Reverse Scale( 0 ),Excluded Rows( 0 ))}
)
)
);Questo
Ciao, puoi procedere come segue. Ti consigliamo di leggere come navigare nell'"Albero di visualizzazione" di JMP per vedere come vengono costruiti i report e il comando xPath(), per la praticità che offre.
Ciò che è necessario qui è rispondere a due domande:
1) In che tipo di struttura risiede il testo e
2) Qual è il modo migliore per accedere a queste strutture nel modo più comodo possibile, se possibile contemporaneamente.
Il messaggio << mostra la struttura ad albero può essere utile con 1), mentre xPath() può spesso essere utile con 2).
Esegui il seguente script. Ho inserito uno stop ( ) dopo aver usato il messaggio << show tree structure. Esamina la struttura ad albero e noterai che il testo che vuoi modificare si trova in ciascuna delle strutture TextEditBox subordinate a PictureBox( 2 ) nel report.

Sapendo questo, creeresti il resto dello script come ho fatto io. Nello script finale, ovviamente, ometteresti le righe con rep << show tree structure e stop( );
Names Default To Here(1);
dt = astable((1::20)` || ((3::60::3)` + J(20,1,randomnormal())), <
<COLUMN names=""></COLUMN> Fit Where(
:groupgroupgroupgroupgroupgroup == "d",
Fit Spline( 0.1, {Line Color( {66, 112, 221} )} )
)
);
rep = report(biv);
rep << show tree structutre;
stop ();
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Use the tree structure to notice where the smoothing fit descriptions lie.
// They are in the 2nd picturebox of the report.
//get the picture box holding the spline fit descriptions
picBox = report(biv)[picturebox(2)];
// set the width of the textEditBoxes within the picture box, all at once, using xPath
// width is in pixels... use something you know will be well long enough.
( picBox << xPath("//TextEditBox") ) << set wrap width ( 1000 );
Saluti,
Brady
Sto lavorando con JMP14, ha funzionato quando ho modificato il comando "set wrap width (1000)" in "set wrap (1000)"
Funziona benissimo
Grazie
Bere