Page 1 of 1

Generate plots automatically

Posted: Wed Apr 09, 2014 3:24 am
by lode
Hello,

I’m struggling with the results of muscle analysis. The results of the moment generating capacity during a gait trail from a muscle analysis gives strange values and differ from the results of the moment generating capacity in a simple plot of the same trial. As the plot shows the correct values, I would like to use them. However, within my dataset I need to generate over one thousand plots, so this would be a lot of manual work.
I was wondering if it is possible to generate a series of plots automatically through command line or the Matlab API? I couldn’t find a related topic on the forum.

Thanks in advance for any advice!

Best regards,
Lode

Re: Generate plots automatically

Posted: Sun Apr 27, 2014 8:22 pm
by jimmy
Hi Lode,

the Matlab/python API's dont have the functionality to plot some of the muscle properties. However, the GUI scripting shell does. An example of plotting muscle properties can be found in the GUI scripting folder (with the 3.2 distro). Tutorial 1 and 2 scripts both plot muscle properties.

You can also export the output into files to use in matlab later.

Hope that helps,
-james