LinuxLaci

plot_time

Jul 27th, 2019
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.59 KB | None | 0 0
  1. set terminal pngcairo size 1200,600 enhanced font 'Verdana'
  2. set output sprintf('%s.png', filename)
  3. set timefmt '%d/%m/%Y %H:%M:%S'
  4. set xdata time
  5. set format x '%H:%M:%S'
  6. set grid ytics lc rgb "#bbbbbb" lw 2 lt 1
  7. set yr [1000:4500]
  8. set title "Processzor terhelés"
  9. set xlabel "Time (Hour:Minute:Second) "
  10. set ylabel "MHz "
  11. plot "t_log.txt" using 5:2 with lines title "core:1" linewidth 3,\
  12.      "t_log.txt" using 5:3 with lines title "core:2" linewidth 3,\
  13.      "t_log.txt" using 5:4 with lines title "core:3" linewidth 3,\
  14.      "t_log.txt" using 5:5 with lines title "core:4" linewidth 1
  15. replot
Advertisement
Add Comment
Please, Sign In to add comment