cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

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