Subscribe Bookmark RSS Feed

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

lutz_eckart_pyr

Community Member

Joined:

Aug 31, 2016

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

{},

"row",

ScaleBox,

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

),

1 REPLY
txnelson

Super User

Joined:

Jun 22, 2012

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