reset
set encoding utf8
set term svg size 600, 400             # qt, windows, wxt, svg, png, jpg etc. (qt erlaubt Export nach SVG und PNG)
                                       # Werden Zeichnungen von einem Terminal exportiert, so sind die Ergebnisse nicht
                                       # mit denen der standardspezifischen Terminals identisch.
set size 1, 1
set   autoscale                        # scale axes automatically
unset log                              # remove any log-scaling
unset label                            # remove any previous labels
unset arrow
set xtics auto                          # set xtics automatically
set ytics auto                          # set ytics automatically
set title "Lichtkegel und Partikelhorizont" font ", 25"    # Titel der Zeichnung
set xlabel "Eigendistanz Mrd. Lichtjahre" font ", 25"  # Bezeichnung x-Achse (waagerecht)
set ylabel "Mrd. Jahre" font ", 25"                    # Bezeichnung y-Achse (senkrecht)
set tics font ", 19" 
set xrange [0:6]                       # set x-Achse, 0-6 Mrd. Lichtjahre
set x2range [0:6]   
set yrange [0:0.8]                     # set y-Achse (t-Achse, 0-0.8 Mrd. Jahre)
set y2range [0:0.8]                    # zusätzlich rechte Achse
set datafile fortran                   # damit auch FORTRAN-D- und -G-Formate interpretiert werden können. Es wird aber momentan kein Gebrauch davon gemacht.
set datafile separator comma
unset key
#set key top right
#set key top center
#set key box
#set key left bottom
#set key bmargin 

set x2tics
set y2tics
#set border 7
unset border
set border
#set ytics nomirror
set rmargin 7
set key off

set output "abb6-3-phys.svg"
plot "Z42.TXT" using 2:1 with lines lw 1.5 lt rgb "red" title columnheader(2),\
     "Z42.TXT" using 3:1 with lines lw 1.5 lt rgb "green" title columnheader(3),\
     "Z42.TXT"  using 4:1 with lines lw 1.5 lt rgb "orange" title columnheader(5),\
     "ZORTCMB14.TXT"  using 2:1 with lines lw 1.5 lt rgb "blue" title columnheader(2),\
     "ZORTCMB21.TXT"  using 2:1 with lines lw 1.5 lt rgb "blue" title columnheader(2),\
     "Z21.TXT"  using 2:1 with lines lw 1.5 lt rgb "black" title columnheader(2),\
     "Z14.TXT"  using 2:1 with lines lw 1.5 lt rgb "black" title columnheader(2)

