Name: Francky Leyn
E-mail: Franck...@esat.kuleuven.ac.be
Subject: thickness of axes and tic marks
OS: Solaris 2.6
Gnuplot version/patchlevel: 3.7/0
Gnuplot driver: postscript
text:
Hi,
I have 2 questions:
1) If I write
plot 'cc_fd.dat' title "fd" with lines linetype 1 linewidth 10
in what unit is the linewidth 10 then expressed? Postscript points, mm?
2) The axes I get are to small. The should be thicker. Is there
a command allowing to make the axes and tics mark thicker,
and give then a thickness equal to that of the plotted data?
I not, can one mess with the postscript to achieve this,
and if yes, how?
Best regards,
Francky
_______________________________________________________________________________
Francky Leyn
K.U.Leuven - ESAT MICAS mailto:Franck...@esat.kuleuven.ac.be
Kardinaal Mercierlaan 94 - 91.21 Tel : ++32 - (0)16 32.10.85 __o
B-3001 Heverlee (Leuven) - Belgium Fax : ++32 - (0)16 32.19.75 \<,
______________________________________________________________________()/ ()__
> 1) If I write
> plot 'cc_fd.dat' title "fd" with lines linetype 1 linewidth 10
> in what unit is the linewidth 10 then expressed? Postscript points, mm?
10 times what it would normally be, i.e. the default is 'linewidth 1'.
This is true for all terminals, as far as they support the linewidth
feature at all.
For postscript, the default linewidth seems to be 5 Postscript units,
by looking at the sources.
> 2) The axes I get are to small. The should be thicker. Is there
> a command allowing to make the axes and tics mark thicker,
> and give then a thickness equal to that of the plotted data?
There is. The 'linewidth' option can also be used in the 'set border'
command, and that will modify the width of both the border and the
tic marks:
set border 31 lw 10.0
That won't look nice, though. The axis and tic label positioning
doesn't take linewidths into account, so the labels will partly
overwritten if you make the border lines *too* thick.
--
Hans-Bernhard Broeker (bro...@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.
>Gnuplot version/patchlevel: 3.7/0
>
>Gnuplot driver: postscript
>
>1) If I write
> plot 'cc_fd.dat' title "fd" with lines linetype 1 linewidth 10
> in what unit is the linewidth 10 then expressed? Postscript points, mm?
Let's see ... "linewidth 10" should be 10 times the default, which for the
postscript terminal is half a point.
>2) The axes I get are to small. The should be thicker. Is there
> a command allowing to make the axes and tics mark thicker,
> and give then a thickness equal to that of the plotted data?
The "set border" command lets you change the width of the axes, and IIRC the
tics marks are the same width as the axes. The same "linewidth" scheme is
used for "set border" and "plot", so making them all equal width should be
simple. Check "help set border" for details.
> I not, can one mess with the postscript to achieve this,
> and if yes, how?
If you can't get "set border" to do the job, let me know and I'll show you
how to hack the PostScript.
Dick Crawford, aka craw...@arete.com