next up previous
Next: Creating Equations Up: General Graphical Niceties Previous: Handling Matlab figures

Making a Colour Bar

A suitable colour bar is an important addition to a slide showing an activation image. Colour bars may be created in Matlab using the makecolourbar() function. These may then be saved to either a Macintosh PICT file or an IRIS RGB file using the functions described in section 4.3. Please type help makecolourbar in Matlab for more information.

One thing to note is that the number of colours in the colour map should be increased from the default 64 before creating the colour bar. Since the colour bar will be printed on a high-resolution slide, it makes sense to have the largest number of colours possible. For example, you might produce a spectral colour bar with a range of -10 to 10 with the commands:

colormap (spectral(256));
makecolourbar (-10,10);



Mark Wolforth (wolforth@bic.mni.mcgill.ca)