Impossible to say why it wouldn't work as a script as you didn't provide the script and JMP version. If you are changing the column with Column Switcher, enable "Retain Axis Settings"

Alo, you could set that to your column's axis column property (and then you could create a tag for it to make it easier to add to other columns).

If you are usually creating similar type of plots, you could save it as a preset.
-Jarmo