Ho letteralmente appena iniziato a imparare JMP e JSL.
Ho difficoltà a trovare informazioni sulla sintassi di funzioni, comandi, ecc.
Non riesco a trovare la maggior parte delle cose né nel documento "JSL Syntax Reference" né online. Avete suggerimenti per un elenco completo di tutto Funzioni e comandi JSL?
Ad esempio, in questo momento sto solo cercando di tracciare un grafico che specifica i nomi e i colori della legenda. Voglio che la "Leggenda 1" appaia nel penultimo slot.
Rubando alcuni script diversi online, ho messo insieme quanto segue:
Graph Builder(
Size( 779, 677 ),
Show Control Panel( 0 ),
Variables( X( :X ), Y( :Y ), Wrap( :Items ), Color( :Name( "Legends" ) ) ),
Elements( Points( X, Y, Legend( 8 ) ) ),
SendToReport(
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
8,
Level Name( 0, "Legend 7", Item ID( "Legend 7", 1 ) ),
Level Name( 1, "Legend 2", Item ID( "Legend 2", 1 ) ),
Level Name( 2, "Legend 3", Item ID( "Legend 3", 1 ) ),
Level Name( 3, "Legend 4", Item ID( "Legend 4", 1 ) ),
Level Name( 4, "Legend 5", Item ID( "Legend 5", 1 ) ),
Level Name( 5, "Legend 6", Item ID( "Legend 6", 1 ) ),
Level Name( 6, "Legend 1", Item ID( "Legend 1", 1 ) ),
Level Name( 7, "Legend 8", Item ID( "Legend 8", 1 ) ),
Properties( 0, {Line Color( 36 )} ),
Properties( 1, {Line Color( -15343117 )} ),
Properties( 2, {Line Color( -15343117 )} ),
Properties( 3, {Line Color( -15343117 )} ),
Properties( 4, {Line Color( -15343117 )} ),
Properties( 5, {Line Color( -15343117 )} ),
Properties( 6, {Line Color( 40 )} ),
Properties( 7, {Line Color( 24 )} )
)}
)
)
);Non funziona... Si chiama "Legend 1", "Legend 7" e basta.
Grazie in anticipo per qualsiasi aiuto!