I have created a simple example plot, which I have as a pdf file. I use Inkscape to create an SVG file. However, the file gets very large, which I think is caused by the black lines. Inkscape draws each line individually. Is there any way to compress the black lines into one element, which in turn should drastically reduce the size of the SVG? Or are there other approaches how to achieve a comparable size to the PDF file (16 KB vs. 310 KB)?
I know it's possible to delete metadata, etc., but that doesn't solve my problem.