Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # plots a rotated map of a 5-column data matrix file
- # col 1 and 5 are filled with zeroes
- # 2-4 are data columns
- set term windows
- set title "ping history"
- unset key
- set tic scale 0
- set cbrange [0:5]
- set cblabel "Score"
- unset cbtics
- unset title
- set view map
- unset colorbox
- set ylabel 'ping test no.'
- set xtics ('ping' 1, 'timeout' 2, 'N/A' 3)
- set xtics rotate
- set ytics rotate
- set term png size 1400,2400 font 'Verdana,16'
- # set palette model RGB
- # set palette defined ( 0 "white", 25 "green", 35 "yellow", 50 "red", 1000 "red", 2000 "black" )
- splot 'data.txt' matrix with image # dummy plotting
- set output 'pinggraph.png'
- set yrange[0:GPVAL_DATA_Y_MAX]
- splot 'data.txt' matrix with image
- unset output
- set term windows
- !pinggraph.png
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement