The axis settings dialog box has an option to Reverse Order. Is there a way to select this option from JSL?
Go to Solution.
Jun 23, 2011
Not directly it seems, but setting Max as Min and Min as Max has the same effect. For example axisbox<<max(0)<<min(100); reverses the axis and set the limit to 100 and 0.
To reverse axis while retaining the current axis settings, this should generally work.
Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = Bivariate( Y( :weight ), X( :height ), FitLine );
rbiv = biv << report;
axisbox = rbiv[axis box( 1 )];
// Reverse axis
as = axisbox << get script;
axisbox << Max( Arg( as ) ) << Min( Arg( as ) );