AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
April 22, 2021 12:26PM
Adding on to Paul's sage advice, here are a few more GUI tips.

1. AFNI_PBAR_THREE. Set this environment variable that has three panes that you can drag up and down. It's useful for windowing the overlay in a more flexible way. The middle bar is the main colorbar, but you can set above and below to solid colors.
2. Paned color scales. Below the colorbar, you can select what's usually a "**" for a continuous color scale and choose a specific number of panes, up to 20. Each of the panes can be dragged by the bars at the edge of each color. You can also select the color by clicking on it.
3. Make a new color map. At the top of the colorbar, you can choose to save the palette. That will be a text file you can edit that has RGB encoded in hexadecimal by every two characters. Change the number of lines that contain "#000000" to control how big the gap is. Change the name of the palette in the file so that it will show up in the color scale list with a new name too. The file looks like this:
cat testpal.pal 
Spectrum:red_to_blue+biggap
#ff0b00
#ff0f00
#ff1200
#ff1500
#ff1800
#ff1b00
...
#000000
#000000
...

Load the modified palette file with the "Read in palette" function with the right click at the Olay text. Select the palette to load it into the colorbar selections. Right click on the colorbar to "Choose colorscale" and choose the new colorscale.



Edited 1 time(s). Last edit at 04/23/2021 10:14AM by Daniel Glen.
Subject Author Posted

Colorscale gap width?

cchen April 21, 2021 03:53PM

Re: Colorscale gap width?

ptaylor April 21, 2021 08:07PM

Re: Colorscale gap width?

cchen April 22, 2021 11:04PM

Re: Colorscale gap width?

Daniel Glen April 22, 2021 12:26PM

Re: Colorscale gap width?

cchen April 22, 2021 11:07PM