Hi Emil,

one option is to use Python, which has modules to

- load .mat files (as well as CVS etc.)
- make excellent figures (more or less like Matlab)
- save in SVG format

See for example here:

http://mathesaurus.sourceforge.net/matlab-numpy.html

http://stackoverflow.com/questions/1057666/using-python-to-replace-matlab-how-to-import-data

I guess the whole thing would require one or two days of work, for people already familiar with Python. Basically, one has to reverse-engineer Dymola's tload.m and tnindex.m m-files, rewrite them in Python and then use the matplotlib for output.

If anybody attempts to do this, it would be nice to share it as open source :)

                                Francesco

Il 18/05/2011 15.31, Martin Sjölund ha scritto:
Hi Emil,

As far as I know Dymola exports icons and diagrams to png and print
(i.e. postscript; which is vector graphics but not suitable for
editing). Maybe the Windows version has more functionality; I wouldn't
know.

Currently, OpenModelica/OMEdit only exports diagrams to png. I don't
believe it should be all too hard to add svg export for diagrams and
icons though; also see:
https://openmodelica.org:8443/cb/issue/1498

Poke Adeel and maybe he can take the time to add the feature.

--
Martin Sjölund

On 2011-05-18 14:49 , Emil Larsson wrote:
Hi,
is it possible to export graphics (annotations, icons) from Dymola to a
vector program, for example Inkscape?

// Emil





--
Francesco Casella - Ph.D.
Dipartimento di Elettronica e Informazione
Politecnico di Milano
Via Ponzio 34/5
I-20133 MILANO - ITALY

Tel:    +39-02-2399-3465 (Leonardo)
        +39-02-2399-7749 (Polo di Cremona)
Fax:    +39-02-2399-3412
e-mail: [email protected]
web:    http://home.dei.polimi.it/casella
Skype:  callto://francesco.casella

Reply via email to