I want to use matlab plots in my ConTeXt document, but preprocess them in Inkscape. I wonder if there is some recommended workflow.
So far what I'm doing is this:
- save matlab figure as 'fig', so I can reuse the figure in matlab. Just in case
- use plot2svg to create a SVG from matlab (actually I've patched the original to gzip the svg.)
- edit plot in Inkscape
- Here is one of my problems: use edited plot ConTeXt
I'm using MkII (pdfTex), since I have had some problems(with layout, no euler font and others) with MkIV(which actually supports SVG) and I think it is still beta.
I want to import the gzipped SVG directly in my ConTeXt document, but see no way how to import the document. The method mentioned in the wiki does not work either. Is there a way to convert the file automatically with Inkscape to e.g. pdf?
Maybe my workflow is not the best for the task, so I also wonder if there is a better way to create, edit and use figures/plots in my documents.