Troff "grap" question
Ken Keirnan
kjk at pbhyf.PacBell.COM
Thu Dec 1 02:35:01 AEST 1988
In article <618 at wc11.idca.tds.philips.nl> ekkel at idca.tds.PHILIPS.nl (Erik Ekkel) writes:
>I want to use the troff "grap" preprocessor to plot a graph. The problem is
>that the input has as x-coordinate weeknumbers. So the range of the
>x-axis is e.g. 8801:8852, 8901:8952, ..........
>
>How can i tell "grap" that there is a gap in the x-axis; that week 8901 is the
>successor of week 8852 and NOT 8900 !
If you know the number of points along the x-axis in advance, one way would be
to specify the number of x-axis intervals with the "coord" keyword and then
make the week numbers tick labels. For example if you have 52 points on the
x-axis:
coord x 0,52
ticks bot out at 1 "8801",2 "8802" ...
or whatever interval you want between ticks. I know this is messy, but nothing
else comes to mind.
--
Ken Keirnan - Pacific Bell - {att,bellcore,sun,ames,pyramid}!pacbell!pbhyf!kjk
San Ramon, California kjk at pbhyf.PacBell.COM
More information about the Comp.unix.questions
mailing list