## in rgb color code
## r (red) = FF0000 = 255*256*256 = 255* 65536
## g (green) = 00FF00 = 255*256
## b (blue) = 0000FF = 255
## cos.dat contains
## # x y pointsize r (0<=r<=1) g (0<=g<=1) b (0<=b<=1)
## 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 1.0000000
## 5.00000007E-02 0.99875027 4.99167070E-02 1.66666675E-02 4.99791689E-02 0.99875027
## 0.10000000 0.99500418 9.93346721E-02 3.33333351E-02 9.98334214E-02 0.99500418
## 0.15000001 0.98877108 0.14776011 5.00000007E-02 0.14943814 0.98877108
## ............
## 0 <= r,g,b < 1
rgb(r,g,b) = int(r*256)*65536 + int(g*256)*256 + int(b*256)
set term postscript eps color enhanced
set output 'inputdefined_pslc.eps'
set notitle
set nokey
# input difined point size
#plot 'cos.dat' u 1:2:($3*3) with p pt 7 ps var lc 7
# input difined point color
#plot 'cos.dat' u 1:2:(rgb($4,$5,$6)) with p pt 7 ps 1 lc rgb variable
# input difined point size and point color
plot 'cos.dat' u 1:2:($3*3):(rgb($4,$5,$6)) with p pt 7 ps var lc rgb variable