Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -- [ Colors ] --
- skitour = "#006EB8"
- mycolor = skitour
- # -- [ Scaling ] --
- # SKITOUR
- skiKM = 75.2
- skiHM = 0.376
- myscaleKM = skiKM
- myscaleHM = skiHM
- file = 'hoehe.dat'
- reset
- unset key
- stats file u 3:2 nooutput
- set xrange [STATS_min_x:STATS_max_x]
- set yrange [STATS_min_y - 30:STATS_max_y]
- set y2range [STATS_min_y - 30:STATS_max_y]
- # -- [ Labels ] --
- set label 2 "Brochkogeljoch (3423m)" at 5.00,3462 point pointtype 7 offset -0.5,0.3 tc rgb "#006EB8" right
- set label 3 "Skidepot (3705m)" at 7.297,3705 point pointtype 7 offset -0.5,0.3 tc rgb "#006EB8" right
- set label 4 "Wildspitze (3770m)" at STATS_pos_max_y,STATS_max_y point pointtype 7 offset 0.3,0.3 tc rgb "#006EB8"
- set label 5 "Mitterkarjoch (3468m)" at 8.821,3509 point pointtype 7 offset 0.3,0.3 tc rgb "#006EB8"
- set label 6 "Breslauer Hütte (2840m)" at 12.075,2896 point pointtype 7 offset 0.3,0.3 tc rgb "#006EB8"
- # -- [ Terminal ] --
- w = floor(STATS_max_x * 75.2)
- h = floor((STATS_max_y - STATS_min_y) * 0.376)
- set terminal pngcairo size w,h enhanced font 'Cambria,15'
- set output 'hoehenprofil.png'
- set multiplot
- # -- [ Grid and Tics ] --
- set xtics 5
- #set ytics 200
- #set ytics format ""
- unset border
- unset xtics
- unset ytics
- unset x2tics
- set y2tics border 200
- set format x "%g km"
- set format y2 "%g m"
- set border 8 lt 0 lw 3 lc rgb "black"
- #set ytic scale 0
- set xtics
- set grid y2 lt 0 lw 3 lc rgb "black"
- set style fill transparent solid 0.45 noborder
- # Plot the regular graph
- plot file u 3:2 w filledcurve x1 lc rgb "black" , \
- file u 3:2 w lines lt 1 lw 5 lc rgb mycolor
- # calculate the size of the area to hide (left of the summit)
- s = (STATS_pos_max_y / STATS_max_x) - 0.1
- set size s,1
- unset grid
- unset xtics
- unset y2tics
- set style fill solid noborder
- set nolabel
- set noborder
- ###
- # UNCOMMENT THIS LINE TO APPLY THE (flawed) OVERLAY
- ###
- #plot [0:STATS_pos_max_y] file u 3:2 w filledcurve x2 lc rgb "white"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement