set title "Weight loss rate" set ylabel "Pounds per week" #set y2label "r^2" set term png size 1400,900 set output "rate-graph.png" set timefmt "%Y-%m-%d" set xdata time set format x "%b\n%d" #set xrange ["2018-02-18":] plot "rate" using 1:2 with lines lw 3 title "Rate", \ #"rate" using 1:3 with lines lw 1 title "r^2" axes x1y2