SEEG contact locations

How can I using code replicate 'Display contacts as spheres' in the iEEG panel

panel_ieeg('SetDisplayMode', 'sphere');

and then in the MRI viewer replicate toggling off 'Display labels' ?

figure_3d('ViewSensors', hFig, [], 1);

See this procedure for finding callback functions:
https://neuroimage.usc.edu/brainstorm/Tutorials/Scripting#Find_interface_callback_functions