Page 1 of 1

Change time value into percentage of motion time

Posted: Fri Mar 15, 2024 3:00 am
by manon5683
Hello there,

I am working on data from a trial of an experiment and the time has been limited (manually, I guess) from 1.960 to 2.750 . I would prefer on my graphic representation a percentage of motion on x-axis. How can I modify these values on OpenSim 4.4, please?

Juliet

Re: Change time value into percentage of motion time

Posted: Fri Mar 29, 2024 4:20 pm
by ongcf
Results from your simulation can be loaded into other software (e.g., MATLAB, Python, Excel) so that you can create and adjust plots specific for your use case.

Re: Change time value into percentage of motion time

Posted: Tue Apr 02, 2024 2:24 am
by manon5683
Okay thank you for your answer!

Re: Change time value into percentage of motion time

Posted: Wed Apr 03, 2024 12:56 pm
by kernalnet
Hi, I had provided a Jython script for OpenSim GUI here: https://github.com/opensim-org/opensim-gui/issues/1497

Copy the code and paste it in a text file with .py extension, and run it in OpenSim. More info about GUI scripting can be found here: https://opensimconfluence.atlassian.net ... in+the+GUI

Hope this helps.