- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » linux save plot to file
linux save plot to file
Re: linux save plot to file
I don't think is possible (yet) from command line.
Why do you want the png file?
- adrpo
- 885 Posts
Re: linux save plot to file
I suggest you use dygraph-combined.js from http://dygraphs.com/download.html for that.
You generate .csv files via: simulate(Model, outputFormat="csv") then you plot them using dygraph-combined.js.
You get interactive plots like these:
https://test.openmodelica.org/libraries … .diff.html
click on javascript.
Alternatively you could use python to plot the .mat file:
http://www.j-raedler.de/projects/dymat/
Alternatively you can use gnuplot to plot the csv files to png:
https://blogs.it.ox.ac.uk/networks/2011 … h-gnuplot/
Alternatively you could use octave to plot the mat file to png.
- adrpo
- 885 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » linux save plot to file