The command 'set labelToggle' seems to be the only one to hide/show labels without affecting the label text. But as far as I know it is not possible to go into a defined status without affecting the label text. But this would be very helpful for a set of selected/specified atoms where some labels are hidden and some are displayed. I would like to suggest to add 'on/off' options to this command, e.g.:
set labelToggle ON [atom-expression]
set labelToggle OFF [atom-expression]
Since these options wouldn't fully fit to the 'toggle' an alternative solution could be:
display labels [atom-expression]
hide labels [atom-expression]
Kind regards,
Rolf
Good news -- this just somehow did not get documented
select _O
label hide
label display
I also note that you can use
select label == ""
select label != ""
select label = "N" (not case specific)
select label like "A*" (case specific; allows wildcard)