Here is a script that will work, providing the data table the distributions were run on is the current active data table, and the distributions are either the only distributions window, or else it was the last distributions window you had viewed
Names Default To Here( 1 );
// Find the window with the Distributions
For( i = 1, i <= N Items( Window() ), i++,
Show( i, Window( i ) << get window title );
If( Char( Word( -1, Window( i ) << get window title ) ) == "Distribution",
dist = Window( i );
Break();
);
);
// Find the current data table to get a list of all possible continuous columns
dt = Current Data Table();
// Get the list of columns
collist = dt << get column names( string, continuous );
// Do a brute strength pass throug all columns in the data table and
// attempt to change the axis settings
For( i = 1, i <= N Items( collist ), i++,
Eval( Substitute( Expr( Try( dist[1][__col__][axis box( 1 )] << inc( .1 ) ) ), Expr( __col__ ), collist[i] ) );
Eval( Substitute( Expr( Try( dist[1][__col__][axis box( 1 )] << show minor ticks( 0 ) ) ), Expr( __col__ ), collist[i] ) );
);
Jim