|
From: Dr. I. D. J. <die...@t-...> - 2009-04-26 09:23:24
|
Hi Alice,
two hints for you:
1.) do not place the labels with
set label 1 "Faradaykonstante aus Steigung der Geraden" at 9.5,7.0
I would recommed you to do it like
set label 1 "Faradaykonstante aus Steigung der Geraden" at graph 0.7,0.4
where "0.7" is equal to 9.5/xrange (your current x-axes value for the label).
The value "0.7" is therefors surely wrong as I do not know your current xrange
setting. The same needs to be done for the yrange, i.e. "0.4" in my example
should be calculated as "7.0/yrange".
The reason for this is simple: given you have to modify the xrange, yrange
settings, the placement of your labels in the graph will remain constant. You
do not have to modify those settings every other time you change ranges.
2.) for the digits behind the comma you need to use the sprintf syntax:
set label 3 sprintf("%4.1",a) at graph 0.8,0.6
will give you 4 digits in total and one behind the comma - adapt this to what
you actually need.
Hope this helps,
take care
Dieter Jurzitza
Am Sonntag 26 April 2009 10:30:03 schrieb Alice5785:
> Thanks a lot! I think I finally got it :)
>
> That was my label first:
******
--
-----------------------------------------------------------
|
\
/\_/\ |
| ~x~ |/-----\ /
\ /- \_/
^^__ _ / _ ____ /
<°°__ \- \_/ | |/ | |
|| || _| _| _| _|
if you really want to see the pictures above - use some font
with constant spacing like courier! :-)
-----------------------------------------------------------
|