ChartFX Window

Hallo,
after running an inverse dynamic simulation i like to display
different muscle forces in one plot. Is there a possibility to do this
even if this muscles don´t have any similarities in their names? If i
replace the whole muscle name by wildcard, there were too much muscles
shown and it´s uncomfortable to find the ones you need in the legend box.
Thanks for your efforts, best regards, Maren

Hello Maren

Yes… you can use a AnyForceMeasure and by that way writing forces to
a variable. You can then when you figured out which muscles you will
need to see make a chart showing the forces for the chosen muscles.

To see the forces on a chart you can use the following by writing the
muscle force from eg. gastrocnemius to gastrocnemius.F and then put it
in a AnyVec.

AnyVec3 MuscleForces =gastrocnemius.F;

AnyChart testChart = {
Series = {
AnyChartSerie testSerie = {
//Here we have to point to the output variable!
Value =“Main.study.Output.MuscleForces”;
}; // testSerie
}; // Series
}; // testChart

Best regards
Christian, AnyBody Support

— In anyscript@yahoogroups.com, “Maren” <anystarter@…> wrote:
>
> Hallo,
> after running an inverse dynamic simulation i like to display
> different muscle forces in one plot. Is there a possibility to do this
> even if this muscles don�t have any similarities in their names? If i
> replace the whole muscle name by wildcard, there were too much muscles
> shown and it�s uncomfortable to find the ones you need in the legend
box.
> Thanks for your efforts, best regards, Maren
>

Hello Christian,
thank you for your fast answer. I did not know this possibility till
today so i am not really sure where to define this AnyChart. At which
place does the definition of the variable has to be? Is it necessary
to define it under Study like you did it in your example or can i
define it where i like?
Another question is about the AnyChartSeries: I have three different
muscles which should be shown in the chart. So i have to define one
AnyChartSeriesFolder named Series which references to three
AnyChartSeries which contain the reference to the variables (AnyVec3
for each muscle). Am i understanding the reference manual right?
Thank you very much, best regards, Maren.

— In anyscript@yahoogroups.com, “AnyBody Support” <support@…> wrote:
>
> Hello Maren
>
> Yes… you can use a AnyForceMeasure and by that way writing forces to
> a variable. You can then when you figured out which muscles you will
> need to see make a chart showing the forces for the chosen muscles.
>
> To see the forces on a chart you can use the following by writing the
> muscle force from eg. gastrocnemius to gastrocnemius.F and then put it
> in a AnyVec.
>
> AnyVec3 MuscleForces =gastrocnemius.F;
>
> AnyChart testChart = {
> Series = {
> AnyChartSerie testSerie = {
> //Here we have to point to the output variable!
> Value =“Main.study.Output.MuscleForces”;
> }; // testSerie
> }; // Series
> }; // testChart
>
>
> Best regards
> Christian, AnyBody Support
>
>
> — In anyscript@yahoogroups.com, “Maren” <anystarter@> wrote:
> >
> > Hallo,
> > after running an inverse dynamic simulation i like to display
> > different muscle forces in one plot. Is there a possibility to do this
> > even if this muscles don�t have any similarities in their names?
If i
> > replace the whole muscle name by wildcard, there were too much muscles
> > shown and it�s uncomfortable to find the ones you need in the legend
> box.
> > Thanks for your efforts, best regards, Maren
> >
>

Hi Maren,

Just a fast addition to Christian’s comments. Let us say you have two
muscles with very different names and want to plot them at the same
time in ChartFx. ou can do it this way:

AnyBodyStudy MyStudy = {
// All the usual study stuff omitted

 AnyVar MarensMuscleForce1 = Main.Model.Iliopsoas.Fm;
 AnyVar MarensMuscleForce2 = Main.Model.Gastrocnemius.Fm;

};

This will feed the two muscle forces into two new variables with
similar names. You can subsequently plot these variables in ChartFX
with this line:

MyStudy.Output.MarensMuscleForce*

This is a simple way of doing it. Good luck!

John

— In anyscript@yahoogroups.com, “Maren” <anystarter@…> wrote:
>
> Hello Christian,
> thank you for your fast answer. I did not know this possibility till
> today so i am not really sure where to define this AnyChart. At
which
> place does the definition of the variable has to be? Is it necessary
> to define it under Study like you did it in your example or can i
> define it where i like?
> Another question is about the AnyChartSeries: I have three different
> muscles which should be shown in the chart. So i have to define one
> AnyChartSeriesFolder named Series which references to three
> AnyChartSeries which contain the reference to the variables (AnyVec3
> for each muscle). Am i understanding the reference manual right?
> Thank you very much, best regards, Maren.
>
>
>
> — In anyscript@yahoogroups.com, “AnyBody Support” <support@>
wrote:
> >
> > Hello Maren
> >
> > Yes… you can use a AnyForceMeasure and by that way writing
forces to
> > a variable. You can then when you figured out which muscles you
will
> > need to see make a chart showing the forces for the chosen
muscles.
> >
> > To see the forces on a chart you can use the following by writing
the
> > muscle force from eg. gastrocnemius to gastrocnemius.F and then
put it
> > in a AnyVec.
> >
> > AnyVec3 MuscleForces =gastrocnemius.F;
> >
> > AnyChart testChart = {
> > Series = {
> > AnyChartSerie testSerie = {
> > //Here we have to point to the output variable!
> > Value =“Main.study.Output.MuscleForces”;
> > }; // testSerie
> > }; // Series
> > }; // testChart
> >
> >
> > Best regards
> > Christian, AnyBody Support
> >
> >
> > — In anyscript@yahoogroups.com, “Maren” <anystarter@> wrote:
> > >
> > > Hallo,
> > > after running an inverse dynamic simulation i like to display
> > > different muscle forces in one plot. Is there a possibility to
do this
> > > even if this muscles don�t have any similarities in their
names?
> If i
> > > replace the whole muscle name by wildcard, there were too much
muscles
> > > shown and it�s uncomfortable to find the ones you need in the
legend
> > box.
> > > Thanks for your efforts, best regards, Maren
> > >
> >
>

Hi John,
thanks for this fast way. I will try it out, it does not sound
difficult. Best regards, Maren

— In anyscript@yahoogroups.com, “AnyBody Support” <support@…> wrote:
>
> Hi Maren,
>
> Just a fast addition to Christian’s comments. Let us say you have two
> muscles with very different names and want to plot them at the same
> time in ChartFx. ou can do it this way:
>
> AnyBodyStudy MyStudy = {
> // All the usual study stuff omitted
>
> AnyVar MarensMuscleForce1 = Main.Model.Iliopsoas.Fm;
> AnyVar MarensMuscleForce2 = Main.Model.Gastrocnemius.Fm;
> };
>
> This will feed the two muscle forces into two new variables with
> similar names. You can subsequently plot these variables in ChartFX
> with this line:
>
> MyStudy.Output.MarensMuscleForce*
>
> This is a simple way of doing it. Good luck!
>
> John
>
> — In anyscript@yahoogroups.com, “Maren” <anystarter@> wrote:
> >
> > Hello Christian,
> > thank you for your fast answer. I did not know this possibility till
> > today so i am not really sure where to define this AnyChart. At
> which
> > place does the definition of the variable has to be? Is it necessary
> > to define it under Study like you did it in your example or can i
> > define it where i like?
> > Another question is about the AnyChartSeries: I have three different
> > muscles which should be shown in the chart. So i have to define one
> > AnyChartSeriesFolder named Series which references to three
> > AnyChartSeries which contain the reference to the variables (AnyVec3
> > for each muscle). Am i understanding the reference manual right?
> > Thank you very much, best regards, Maren.
> >
> >
> >
> > — In anyscript@yahoogroups.com, “AnyBody Support” <support@>
> wrote:
> > >
> > > Hello Maren
> > >
> > > Yes… you can use a AnyForceMeasure and by that way writing
> forces to
> > > a variable. You can then when you figured out which muscles you
> will
> > > need to see make a chart showing the forces for the chosen
> muscles.
> > >
> > > To see the forces on a chart you can use the following by writing
> the
> > > muscle force from eg. gastrocnemius to gastrocnemius.F and then
> put it
> > > in a AnyVec.
> > >
> > > AnyVec3 MuscleForces =gastrocnemius.F;
> > >
> > > AnyChart testChart = {
> > > Series = {
> > > AnyChartSerie testSerie = {
> > > //Here we have to point to the output variable!
> > > Value =“Main.study.Output.MuscleForces”;
> > > }; // testSerie
> > > }; // Series
> > > }; // testChart
> > >
> > >
> > > Best regards
> > > Christian, AnyBody Support
> > >
> > >
> > > — In anyscript@yahoogroups.com, “Maren” <anystarter@> wrote:
> > > >
> > > > Hallo,
> > > > after running an inverse dynamic simulation i like to display
> > > > different muscle forces in one plot. Is there a possibility to
> do this
> > > > even if this muscles don�t have any similarities in their
> names?
> > If i
> > > > replace the whole muscle name by wildcard, there were too much
> muscles
> > > > shown and it�s uncomfortable to find the ones you need in the
> legend
> > > box.
> > > > Thanks for your efforts, best regards, Maren
> > > >
> > >
> >
>