Hi Julien,
here you go with an example I am using. IMHO there is not a single bad thing
to be said about the arrow quality. I am using gnuplot 4.2.5 on linux -
just take a look on the example!
CUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUT
#!/usr/bin/gnuplot
#
# Demonstrate optimized pdf-output
#
# quite a big number, but who cares - the larger the better ...
set samples 1000
set terminal postscript enhanced landscape color colortext \
solid linewidth 2.0 defaultplex \
palfuncparam 2000,0.003 \
butt "Arial-bold" 18
set output "dummy.ps"
set xrange [-1.0:1.0]
set yrange [0:1.0]
#
set grid
unset key
set xlabel " " # important, should be whitespace not "no" - character!
set ylabel " " # important, should be whitespace not "no" - character!
# this makes sure that the arrows come centered relative to the text.
set arrow 1 filled size graph 0.035,8 lt 16 lw 1 from graph -0.12,0.55 to
graph -0.12,0.8
set arrow 2 filled size graph 0.035,8 lt 16 lw 1 from graph 0.55,-0.12 to
graph 0.72,-0.12
# _if_ you use arrows you should not use [xy]label but in the way depicted
above!
set label 1 '{/Helvetica-bold=22 t/s}' center at graph 0.5,-0.12
set label 2 '{/Symbol-bold=22 W}' rotate center at graph -0.12,0.5
#
set title "{/Helvetica-bold=28 Just a parabola}"
plot x*x w l lw 2
#
# Closing the output file ....
set output
# Those two only if you have epstopdf (should come with Miktex, maybe you'll
# have to specify a path to it ....)
system ("epstopdf dummy.ps")
# system ("gnuplotps2pdf dummy.ps")
# The very same for acrobat reader (or anything that can display pdf)
# system ("xpdf dummy.pdf")
system ("acroread dummy.pdf")
CUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUT
The only issue you might be confronted with is the fact that the 4.2 series of
"regular" gnuplot does not support umlauts and similar characters for the utf8
terminal - hence, depending on your operating system, your results may vary.
The way of placing the axis arrows here is the best I can suggest.
Unfortunately gnuplot does not allow to set aligned arrows with "regular" x-
and y-labels hence you have to help yourself.
Hope this helps,
pdf attached - do not know whether it can pass through into the mailing list.
Take care
Dieter Jurzitza
Am Freitag 14 August 2009 14:45:54 schrieb micmac:
> Hi, thanks for your questions:
>
> I am using a ps terminale (set term post color)
*****
--
-----------------------------------------------------------
|
\
/\_/\ |
| ~x~ |/-----\ /
\ /- \_/
^^__ _ / _ ____ /
<°°__ \- \_/ | |/ | |
|| || _| _| _| _|
if you really want to see the pictures above - use some font
with constant spacing like courier! :-)
-----------------------------------------------------------
|