reset
set encoding utf8
set term svg size 600, 800             # qt, windows, wxt, svg, png, jpg etc. (gt 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 PH(7)" 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 [-5:25]                      # set x-Achse, -5 bis 85 Mrd. Lichtjahre
set x2range [-5:25]   
set yrange [0:22]                      # set y-Achse (t-Achse, 0-22 Mrd. Jahre)
set y2range[0:22]
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
set ytics nomirror
set rmargin 7
set key off

set output "abb6-2-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),\
     "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),\
     "Z7.TXT"  using 2:1 with lines lw 1.5 lt rgb "black" title columnheader(2),\
     "ZCMB.TXT"  using 2:1 with lines lw 1.5 lt rgb "black" title columnheader(2),\
     "LINIE14-46.TXT"  using 2:1 with lines lw 5 lt rgb "black" title columnheader(2),\
     "LINIE21-82.TXT"  using 2:1 with lines lw 5 lt rgb "black" title columnheader(2),\
     "LINIE14-45.TXT"  using 2:1 with lines lw 5 lt rgb "orange10" title columnheader(2),\
     "LINIE21-80.TXT"  using 2:1 with lines lw 5 lt rgb "orange10" title columnheader(2),\
     "LINIE14-8.TXT"  using 2:1 with lines lw 5 lt rgb "magenta" title columnheader(2),\
     "LINIE21-23.TXT"  using 2:1 with lines lw 5 lt rgb "magenta" title columnheader(2),\
   "MINIE21-23.TXT"  using 2:1 with lines lw 5 lt rgb "magenta" dt 3 title columnheader(2),\
   "MINIE14-8.TXT"  using 2:1 with lines lw 5 lt rgb "magenta" dt 3 title columnheader(2),\
     "Z42G1.TXT"  using 2:1 with lines lw 1.5 lt rgb "blue" title columnheader(2),\
     "Z42G2.TXT"  using 2:1 with lines lw 1.5 lt rgb "blue" title columnheader(2),\
     "Z42G3.TXT"  using 2:1 with lines lw 1.5 lt rgb "blue" title columnheader(2),\
     "Z42G4.TXT"  using 2:1 with lines lw 1.5 lt rgb "blue" title columnheader(2),\
     "Z42POS7.TXT" using 2:1 with lines lw 2.5 lt rgb "orange10" title columnheader(2),\
     "Z42POSCMB.TXT" using 2:1 with lines lw 2.5 lt rgb "orange10" title columnheader(2),\
     "SF42MA0.TXT"  using 2:1 with lines lw 1.5 lt rgb "black" title columnheader(2),\
     "LINIE7-M5-25.TXT"  using 2:1 with lines lw 1.5 lt rgb "black" dt 5 title columnheader(2),\
     "RACHSE25.TXT" using 3:2 with linespoints lt rgb "black" pt "\U+2014" lw 2 title columnheader(2)
