[Thread Prev][Thread Next][Index]
Re: Custom line colors
Thank you all for your tests and examples. It sounds like it's time to
revisit this question and allow for more line colors. We have an idea
for a means of defining line colors using the colors in a color
palette. This
would make it easy to define a lot of colors, and it wouldn't exclude
the existing method of redefining any pen with PPL PEN settings.
Ansley Manke
Billy Kessler wrote:
I also tried Jaison's script, on a Sun Blade running Solaris 8 and
Openwindows, and found that the colors of previously-drawn lines
became recolored after a few lines were drawn. This is from a new
Ferret session with no resizing or reshaping of windows.
This led to an amusing experiment:
1) Make Jaison's script, test_colors.jnl:
ppl color,$2,$3,$4,$5
plot/i=1:100/over/color=$2/line/nolab sin(3.14*i/100)-$1/100
2) Give the following commands in Ferret:
plot/i=1:100/col=1/line/nolab sin(3.14*i/100) ! initial line
repeat/j=1:100 go test_colors.jnlb `j` 3 `j` `100-j` `100-j`
Or for something even stranger:
repeat/j=1:100 go test_colors.jnlb `j` 3 `abs(100*randn(j))` `100-abs(100*randn(j))`
`100-abs(100*randn(j))`
Fun with computers ....
But this makes me agree with Lynn that only 6 new colors can be used.
Billy K
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement