Shaded pseudo color
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);
Cita come
Jody Klymak (2025). Shaded pseudo color (https://www.mathworks.com/matlabcentral/fileexchange/14157-shaded-pseudo-color), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Riconoscimenti
Ispirato da: freezeColors / unfreezeColors
Ispirato: Perceptually improved colormaps, dcolor
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
shadedpcol/
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |