Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » openmana
  • » Profile

Posts

Posts

Mar-30-15 03:57:16
Need a command-line option for plot() (call under OMSHELL) to directly save the graph as...

Thanks, Adrian.

I will try out the .csv file based approach.

Cheers,
Satya

Mar-28-15 06:55:53
Need a command-line option for plot() (call under OMSHELL) to directly save the graph as...

I am working on integrating a web application with OpenModelica. I am using the JavaOMC API from Google Code to programmatically invoke OpenModelica simulation and plot functionality. But the plot() call is throwing up the OMPLOT window. It would be great to be able to directly save the graph as an image file in a standard format such as .png, so as to be able to display the image in a webpage.

I am not sure whether OpenModelica OMPLOT lacks support for this feature or  the JavaOMC API does not provide support for this feature - I rather feel the former is the case.

Can somebody guide me as to:

1. Whether OMPLOT supports the feature described?
2. If yes, what are the command-line switches to be provided?

Thanks,
Satya

  • Index
  • » Users
  • » openmana
  • » Profile
You are here: