Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
SET PALETTE ON A CIFTI FILE wb_command -cifti-palette <cifti-in> - the cifti input <mode> - the mapping mode <cifti-out> - output - the output cifti file [-column] - select a single column for scalar maps <column> - the column number or name [-pos-percent] - percentage min/max for positive data coloring <pos-min-%> - the percentile for the least positive data <pos-max-%> - the percentile for the most positive data [-neg-percent] - percentage min/max for negative data coloring <neg-min-%> - the percentile for the least negative data <neg-max-%> - the percentile for the most negative data [-pos-user] - user min/max values for positive data coloring <pos-min-user> - the value for the least positive data <pos-max-user> - the value for the most positive data [-neg-user] - user min/max values for negative data coloring <neg-min-user> - the value for the least negative data <neg-max-user> - the value for the most negative data [-interpolate] - interpolate colors <interpolate> - boolean, whether to interpolate [-disp-pos] - display positive data <display> - boolean, whether to display [-disp-neg] - display positive data <display> - boolean, whether to display [-disp-zero] - display data closer to zero than the min cutoff <display> - boolean, whether to display [-palette-name] - set the palette used <name> - the name of the palette [-thresholding] - set the thresholding <type> - thresholding setting <test> - show values inside or outside thresholds <min> - lower threshold <max> - upper threshold [-inversion] - specify palette inversion <type> - the type of inversion NOTE: The output file must be a different file than the input file. For scalar maps, by default the palette is changed for every map, specify -column to change only one map. Palette settings not specified will be taken from the first column for scalar maps, and from the existing file palette for other mapping types. The <mode> argument must be one of the following: MODE_AUTO_SCALE MODE_AUTO_SCALE_ABSOLUTE_PERCENTAGE MODE_AUTO_SCALE_PERCENTAGE MODE_USER_SCALE The <name> argument to -palette-name must be one of the following: ROY-BIG-BL videen_style Gray_Interp_Positive Gray_Interp PSYCH-FIXED RBGYR20 RBGYR20P RYGBR4_positive RGRBR_mirror90_pos Orange-Yellow POS_NEG_ZERO red-yellow blue-lightblue FSL power_surf black-red black-green black-blue black-red-positive black-green-positive black-blue-positive blue-black-green blue-black-red red-black-green fsl_red fsl_green fsl_blue fsl_yellow RedWhiteBlue cool-warm spectral RY-BC-BL magma JET256 PSYCH PSYCH-NO-NONE ROY-BIG clear_brain fidl raich4_clrmid raich6_clrmid HSB8_clrmid POS_NEG Special-RGB-Volume The <type> argument to -thresholding must be one of the following: THRESHOLD_TYPE_OFF THRESHOLD_TYPE_NORMAL THRESHOLD_TYPE_FILE The <test> argument to -thresholding must be one of the following: THRESHOLD_TEST_SHOW_OUTSIDE THRESHOLD_TEST_SHOW_INSIDE The <type> argument to -inversion must be one of the following: OFF POSITIVE_WITH_NEGATIVE POSITIVE_NEGATIVE_SEPARATE