Plot Tool not Displaying Information After Static Optimization

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Aaron Henry
Posts: 32
Joined: Tue Dec 03, 2019 8:47 am

Plot Tool not Displaying Information After Static Optimization

Post by Aaron Henry » Mon Feb 17, 2020 11:54 am

Hello,
I have recently run a static optimization on a thoracolumbar spine model through the MatLab interface. The model outputs the static optimization forces in a NMB_StaticOptimization_force.sto file. I am now trying to use the plot tool in the GUI to plot the muscle forces from the file, as there are hundreds of individual muscles in the model and the GUI provides easy access to muscle groups and singular muscles. However, when trying to plot the muscle tensions the plot does not display any data for a muscle. I have opened the .sto file and found that there is data for each muscle, but it is not being plotted in the tool. How might I fix this problem?
Thanks,
Aaron

Tags:

User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

Re: Plot Tool not Displaying Information After Static Optimization

Post by Ayman Habib » Mon Feb 17, 2020 3:45 pm

Hi Aaron,

The plot tool operates in multiple modes, if plotting data from a file please make sure you select the file as a source, (rather than using the built in tools to plot quantities related to muscles in a model). If you selected a file as source, the file contains data and the data is not shown in the plotter window then please file a bug and attach the file or try to attach it here if not too big and we'll take a look. Please indicate what version of the software was used to create the file and to plot.

Best regards,
-Ayman

User avatar
Aaron Henry
Posts: 32
Joined: Tue Dec 03, 2019 8:47 am

Re: Plot Tool not Displaying Information After Static Optimization

Post by Aaron Henry » Wed Feb 19, 2020 7:21 am

Hi Ayman,
I was using the load file feature of the plot tool. I am attaching the file I am trying to plot, thanks for the help.
Attachments
NMB_StaticOptimization_force.xlsx
(38.89 KiB) Downloaded 7 times

User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

Re: Plot Tool not Displaying Information After Static Optimization

Post by Ayman Habib » Wed Feb 19, 2020 10:35 am

Hi Aaron,

The file you sent is .xslx format so can't be opened by the plot tool, maybe you intended to send a .sto file instead.

-Ayman

User avatar
Aaron Henry
Posts: 32
Joined: Tue Dec 03, 2019 8:47 am

Re: Plot Tool not Displaying Information After Static Optimization

Post by Aaron Henry » Wed Feb 19, 2020 11:50 am

Yes, I have been using the .sto file format but cannot attach the .sto file on the forum. I will submit a bug as you mentioned earlier unless there is a way to post the .sto file on the forum.

User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

Re: Plot Tool not Displaying Information After Static Optimization

Post by Ayman Habib » Thu Feb 20, 2020 8:40 am

Hello,

Header is inconsistent with data (nRows=1) while the file has 11 rows. Fixing the header by hand fixes the problem.

Best regards,
-Ayman

POST REPLY