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 11, 2003 10:01AM
New environment variables: AFNI_1DPLOT_COLOR_xx

This variable lets you set the colors used in the 1dplot program (and other similar graphs). Here, "xx" is a number from "01" to "19". The value of the environment variable must be in the form "rgbi:rf/gf/bf", where each color intensity (rf, gf, bf) is a number between 0.0 and 1.0. For example, "rgbi:1.0/1.0/0.0" is yellow. By default, the first 4 colors are defined as the equivalents of

setenv AFNI_1DPLOT_COLOR_01 rgbi:0.0/0.0/0.0 == BLACK
setenv AFNI_1DPLOT_COLOR_02 rgbi:0.9/0.0/0.0 == RED
setenv AFNI_1DPLOT_COLOR_03 rgbi:0.0/0.7/0.0 == GREEN
setenv AFNI_1DPLOT_COLOR_04 rgbi:0.0/0.0/0.9 == BLUE

You can alter these colors. The largest color number you define will be the last color index used; if more line colors are needed, they will cycle back to color 01. If you leave a gap (e.g., you define color 06 but not 05), then the undefined colors are black.

You can't use other X11 ways of specifying colors, since 1dplot might be run without using X11 (i.e., with the "-ps" option).

bob cox

This change is in the source and linux_glibc22 distributions now.
Subject Author Posted

1dplot colors

Lukas Pezawas April 10, 2003 11:22PM

Re: 1dplot colors

bob cox April 11, 2003 09:09AM

Re: 1dplot colors - FIXED

bob cox April 11, 2003 10:01AM

Thanks

Lukas Pezawas April 11, 2003 12:51PM

Re: 1dplot colors - FIXED

bob cox April 11, 2003 01:44PM