Shaded pseudo color

Use shading to represent secondary information of an image

Vous suivez désormais cette soumission

shadedpcolor displays one dataset in color, and a second by varying the intensity of the pixels in the image. We use this for displaying the vertical gradients in a field on top of the field itself. It really makes the field more three-d. A similar effect can be achieved by using lighting, but this is much more deterministic.

For the above picture I ran:

shadedpcolor(x,z,U,(dU),[-1 1]/4,[-1 1]/300,0.7,cmp,0);
axis ij;
shadedcolorbar('v',[-1 1]/4,0.7,cmp);

Citation pour cette source

Jody Klymak (2026). Shaded pseudo color (https://fr.mathworks.com/matlabcentral/fileexchange/14157-shaded-pseudo-color), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

Inspiré par : freezeColors / unfreezeColors

A inspiré : Perceptually improved colormaps, dcolor

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0