How to call 'display on cortex' manually

Hi, Brainstorm group! Sorry to bother you

  • I want to consult if there is a way to call this 'Display on cortex' function in the Matlab command line, because i want to use this fancy function to display my algorithm results in A manual script.
    image

  • and it will leads up to asking the question of if there are some methods to manually set the threshold as shown following:


    Thank you for your patient reply in advance

The online tutorial "Scripting" contains a lot of useful information for writing Brainstorm scripts, including the list of display functions that can be called from the command line:
https://neuroimage.usc.edu/brainstorm/Tutorials/Scripting#Reference:_Display_functions

For detailed help on the parameters, read the header of the functions directly in the .m files.
Let us know if anything is unclear (or better: open pull requests on github to suggest improvements).

You can find examples in the scripts distributed with the various online tutorials.
Examples:
https://github.com/brainstorm-tools/brainstorm3/blob/master/toolbox/script/tutorial_introduction.m#L106
https://github.com/brainstorm-tools/brainstorm3/blob/master/toolbox/script/tutorial_introduction.m#L640