memleak: Fix terminals, use SVG by default.
This commit is contained in:
parent
d2cfb71f3e
commit
c2952852d4
@ -23,7 +23,7 @@ if (ARGC > 1) {
|
||||
set title sprintf('%s memory consumption over time', myprog)
|
||||
set key left top
|
||||
set xlabel 'Time (Hours)'
|
||||
set ylabel 'MiB (USS \& PSS)'
|
||||
set ylabel 'MiB (USS, PSS)'
|
||||
set y2label 'MiB (RSS)' textcolor 'dark-orange'
|
||||
|
||||
set xdata time
|
||||
@ -37,15 +37,18 @@ set ytics 10 nomirror # 1 tic every 10 MiB.
|
||||
set mytics 2 # 1 mtic every 5 MiB.
|
||||
set y2tics 10 nomirror textcolor 'dark-orange'
|
||||
set my2tics 2
|
||||
set grid xtics ytics mxtics mytics lc "gray50",lc "gray"
|
||||
set grid xtics ytics mxtics mytics lc "gray50" lw 0.75, lc "gray" lw 0.5
|
||||
|
||||
# myfont = "Source Sans Pro,12"
|
||||
|
||||
myfont = "Source Sans Pro,12"
|
||||
# set terminal qt enhanced font myfont
|
||||
# set terminal svg enhanced background rgb 'white' size 1200,900 dynamic font myfont
|
||||
# set terminal qt enhanced size 1200,900 font myfont
|
||||
|
||||
# set terminal png enhanced notransparent size 1200,900 font myfont
|
||||
# set output sprintf("%s memory consumption over time.png", myprog)
|
||||
set terminal png enhanced notransparent size 1200,900 font myfont
|
||||
set output sprintf("%s memory consumption over time.png", myprog)
|
||||
|
||||
myfont = "Source Sans Pro,16"
|
||||
set terminal svg enhanced background rgb 'white' size 1200,900 dynamic font myfont
|
||||
set output sprintf("%s memory consumption over time.svg", myprog)
|
||||
|
||||
plot infile every 3::0 using ((timecolumn(2) - mystarttime)):($3/1024) title 'USS' \
|
||||
with linespoints linewidth 2 pointtype 7 pointsize 0.5 linecolor 'dark-violet', \
|
||||
|
Loading…
x
Reference in New Issue
Block a user