Name

gf_colormap — Return a colormap, or change the current colormap

Calling Sequence

c=gf_colormap(name)

Description

Return a colormap, or change the current colormap.

name can be:

  • 'tripod'

  • 'chouette'

  • 'froid'

  • 'tank'

  • 'earth'

Examples

 
m2   = gf_mesh('triangles grid',[0:.1:1],[0:.1:1]);
mf2  = gf_mesh_fem(m2,1);
gf_mesh_fem_set(mf2 ,'fem',gf_fem('FEM_PK(2,2)'));//,gf_integ('IM_TRIANGLE(5)'));
U2  = gf_mesh_fem_get_eval(mf2,list('x.*y'));

gf_workspace('push');
sl2 = gf_slice(list('none'),m2,2);

h = scf();
h.colormap = gf_colormap('froid');

drawlater;
gf_plot_slice(sl2);
drawnow;
 

See Also

gf_plot, gf_plot_slice