Colormap erstellen < Matlab < Mathe-Software < Mathe < Vorhilfe
|
| Status: |
(Frage) überfällig | | Datum: | 20:27 Fr 26.04.2013 | | Autor: | mikexx |
| Aufgabe | Erstellen Sie eine eigene colormap mit 256 Farbtönen, um einen Farbübergang von Grün nach Weiß zu erreichen.
Hinweis: Werder-Grün ist 0% rot, 61% grün, 35% blau. |
Hey, ich würd diese colormaß mal clmap nennen und sie so erstellen:
| 1: | r=linspace(0,1,256);
| | 2: | g=linspace(0.61,1,256);
| | 3: | b=linspace(0.35,1,256);
| | 4: |
| | 5: | clmap=colormap([r;g;b]'); |
Was sagt Ihr dazu?
VG
mikexx
|
|
| |
|
| Status: |
(Mitteilung) Reaktion unnötig | | Datum: | 21:20 So 28.04.2013 | | Autor: | matux |
$MATUXTEXT(ueberfaellige_frage)
|
|
|
|