cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
See how to use JMP Live to centralize and share reports within groups. Webinar with Q&A April 4, 2pm ET.
Choose Language Hide Translation Bar
View Original Published Thread

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

lutz_eckart_pyr
Level I

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