Sunday, January 27, 2008

IDL color tables

It often happens that when I go to a new computer and run IDL, the color tables don't work. The simplest fix to try is usually the following:

IDL> device,decomposed=0

Then loading the color table is as simple as:

IDL> loadct,1 ;; or no number will list the available color tables