help > Adjusting color for ROI figure
Jan 22, 2025  06:01 PM | Tom Willems
Adjusting color for ROI figure

Hello


 


I would like to create a figure that illustrates the ROIs that were analysed.


I found an example where the region color is determined by statistical values, but can it be just freely assigned via rgb value?


my example: 

import gl
gl.resetdefaults()
gl.azimuthelevation(240, 15)
gl.azimuthelevation(240, 15);
gl.meshload('aal.mz3')
gl.atlasstatmap('aal.mz3', 
            'surficetemp.mz3', 
    (23,24,31,32,37,38,39,40,45,46,85,86,89,90), 
    (0.5, 0.5, 1,1, 2, 2,3, 3, 4,4,5,5, 10,10))
gl.meshload('BrainMesh_ICBM152.mz3')
gl.shaderxray(0.5, 0.5)
gl.overlayload('surficetemp.mz3');



Many thanks in advance
Tom

Threaded View

TitleAuthorDate
Adjusting color for ROI figure
Tom Willems Jan 22, 2025
Chris Rorden Jan 23, 2025