[Thread Prev][Thread Next][Index]

Re: How do I get thicker pen size than @C15?




Here's the hard way to do it: Edit the postscript.

1. Make the lines you want to be thicker a unique color
   (That you don't use anywhere else in the plot).
   For the purposes of this discussion say it is color 5.
2. Produce a color-lined postscript file with Fprint -l cps.
3. Edit the postscript:
a. You will find a color definition table that looks like this:

ct 1 [0.000000 0.000000 0.000000] put
ct 2 [1.000000 0.000000 0.000000] put
ct 3 [0.000000 1.000000 0.000000] put
ct 4 [0.000000 0.000000 1.000000] put
ct 5 [0.000000 1.000000 1.000000] put
ct 6 [1.000000 0.000000 1.000000] put

This defines the colors for lines 1-6. (Note that there may be
two such tables, the first being for font colors). Change ct 5 
to be black (or whatever rgb value you want):

ct 5 [0.000000 0.000000 0.000000] put

Another fancy thing you can do with this is to make thick, gray-
shaded lines:

ct 5 [0.600000 0.600000 0.600000] put

b. change the line width for line 5 to be thicker:
   Search for occurrences of "5 o", which indicate line 5, 
   and change the line width command (lw) before each one:

Change "1.000000 lw" to "4.000000 lw"

That will make a line 4 times thicker than a plain line.
Values up to at least 9 are allowed.

If you have only a few lines to do then this process is fairly easy.
In general you can mess with the "lw" statements in postscript and
change the line thicknesses. You will have to do this if you have
dashed lines (so you cannot use Fprint -l cps to identify them by
color).  In that case trial and error usually works.

Billy K



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement