Hi guys,
I'm trying to export Mstage and Msf plots from Plx using Python. The one way I've found on forum is
step=[]
Msf=[]
plt.figure()
for phase in MsfPhases:
step_x=[]
Msf_x=[]
for c,s in enumerate(phase.Steps[::10]):
step_x.append(c)
Msf_x.append(s.Reached.SumMsf.value)
plt.plot(step_x,Msf_x,label=phase.Identification)
step.append(step_x)
Msf.append(Msf_x)
But this is super slow. I see that there's been similar questions posted on forum from earlier. So I'm wondering a few things:
1. I haven't found any way we can use python command (e.g. _tabulate or _getresults) to get the Msf-table. Is there a python command to get the table directly in python instead of copy-paste to Excel?
2. Or is there any python command to generate the Msf-plot (similar to g_i.structureplot, g_i.plot) and export/save the plot afterwards?
I guess either of these two methods would be much faster than the code above.
Thanks a lot for help!