summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/spectrum.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/spectrum.asy')
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/spectrum.asy2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/spectrum.asy b/Master/texmf-dist/doc/asymptote/examples/spectrum.asy
index a5d576921cf..95c5f8a0d1b 100644
--- a/Master/texmf-dist/doc/asymptote/examples/spectrum.asy
+++ b/Master/texmf-dist/doc/asymptote/examples/spectrum.asy
@@ -11,7 +11,7 @@ pen nm2rgb(real wl, real gamma=0.8, bool intensity=true) {
if(wl > 510 && wl <= 580) {rgb=((wl-510)/70,1,0);}
if(wl > 580 && wl <= 645) {rgb=(1,(645-wl)/65,0);}
if(wl > 645 && wl <= 780) {rgb=(1,0,0);}
-
+
real Intensity=1;
if(intensity) {
if(wl >= 700) {Intensity=0.3+0.7*(780-wl)/80;}