gnuplot -e 'set terminal svg; set output "out.svg"; set datafile separator ","; plot "data.csv" using 2:4 with lines'
Render a line chart as an SVG vector image
The svg terminal writes a scalable vector graphic instead of a bitmap, so out.svg stays sharp at any zoom level. SVG output is ideal for web pages and documents. The rest of the command mirrors the PNG recipe: comma separator and columns 2 against 4. Vector files also remain editable in illustration tools.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.