cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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

Recommended Articles