cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar

How can I set reverse order of axis scale using jsl without specifiying Min and Max values?

Elements( Points( X, Y, Legend( 38 ) ) ),

{},

"row",

ScaleBox,

{Min( 65 ), Max( 0 ), Inc( 5 ), Minor Ticks( 1 )}

),

1 REPLY 1
txnelson
Super User

Re: How can I set reverse order of axis scale using jsl without specifiying Min and Max values?

Here is the example JSL from the scripting index (Help==>Scripting Index) on specifying how to reverse the scale

12660_pastedImage_0.png

Names Default To Here( 1 );

Open( "$sample_data/big class.jmp" );

gb = Graph Builder(

       Variables( X( :height ), Y( :weight ) ),

       Elements( Points( X, Y ), Smoother( X, Y ) )

);

gbr = Report( gb );

gbr[axisbox( 1 )] << Reversed Scale( 1 );

Jim