Generate plots automatically

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Lode Bosmans
Posts: 12
Joined: Sat Feb 14, 2009 9:36 am

Generate plots automatically

Post by Lode Bosmans » Wed Apr 09, 2014 3:24 am

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

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: Generate plots automatically

Post by jimmy d » Sun Apr 27, 2014 8:22 pm

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

POST REPLY