Program: MK3DCOLORBAR

  mk3dcolorbar.........creates a 3D colorbar
 
  call: handle=mk3dcolorbar;
        handle=mk3dcolorbar(direction);
        handle=mk3dcolorbar(direction,ticks);
        handle=mk3dcolorbar(direction,ticks,radius,length);
 
             direction: direction of colorbar. possible values:
                        'hor': horizontal colorbar
                        'vert': vertical colorbar
                        default: 'hor'
             ticks: values at which labels are written
                    ticks(1) is the leftmost/lowermost label
                    ticks(length(ticks)) is the rightmost/uppermost label
                    tick values are in units of caxis.
                    default: []
             radius: radius of the colorbar
                     default: 1/40 of length
             length: length of the colorbar
                     default: 1/3 of axis qidth (or height, depending on direction)
 
  result: handle: list of handles to created objects
                  which represent the colorbar
 
  the colorbar is realized as a colored cylinder in order
  to show not only the used colors but also the effect
  of lighting.
 
  Martin Knapmeyer, 02.07.2003

Read M-File Source Code


eof.