File: maketable.howto

package info (click to toggle)
skyview 3.4.2+repack-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 2,176 kB
  • sloc: java: 29,396; makefile: 18; sh: 1
file content (13 lines) | stat: -rw-r--r-- 236 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Commands used to create a b-w inverse colortable for the java version
of Skyview
IDL> r=indgen(256)
IDL> r=(r-255)*(-1)
IDL> r=byte(r)
IDL> g=r
IDL> b=r
IDL> xx=[[r],[g],[b]]  
IDL> openw,1,"inverse.bin"
IDL> writeu,1,xx
IDL> close,1