Ask Your Question
0

Insert .xvg graph file (drawn from grace), into LibreOffice writer

asked 2017-12-20 08:51:15 +0200

cyf01 gravatar image

updated 2017-12-22 05:08:44 +0200

Hello, I have a graph which is in a .xvg/.agr format which is graph drawn from frace. and now i am writing an article so, i want to insert the graph into LibreOffice. how do i do this..?? I tried going to insert option but couldn't get suitable options to do this.

Any suggestions are appreciated...

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2017-12-22 10:20:25 +0200

RGB-es gravatar image

updated 2017-12-22 10:29:06 +0200

You need to change file format before using it on Writer.

It's almost a decade since I last used (xm)grace so I don't remember how good (or bad) its SVG support was, but I'm sure you can export into EPS from Grace quite easily. Problem is, of course, LibreOffice do not support EPS so you'll need an image converter tool. On Linux you can use epstopdf to create a single page PDF and then pdf2svg to convert that PDF into SVG, which is well supported by LibreOffice. The route (after creating an EPS file from grace, of course) would be something like

epstopdf graph.eps --outfile=graph.pdf

and then

pdf2svg graph.pdf useful-graph.svg

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-12-20 08:51:15 +0200

Seen: 76 times

Last updated: Dec 22 '17