← Back to team overview

yade-users team mailing list archive

Re: [Question #679661]: plot diagram in PeriTriaxController

 

Question #679661 on Yade changed:
https://answers.launchpad.net/yade/+question/679661

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

there are several options, depending on your specific needs and situation:
- use another program for plotting (excel, gnuplot...) with filtered values
- if you do not need data from the iso part, set PyRunner dead=True by default and set dead=False in compationFinished function
- reset plot.data in compationFinished function (shown below)
###
...
def compactionFinished():
   ...
   dataOld = plot.data # if needed to manipulate the data from iso part
   plot.daveDataTxt(...) # you can save the data from iso part
   plot.data = {} # reset plot.data
   plot.plot() # start plotting from here?
...
plot.plots={'ezz':('szz')}
# plot.plot() # comment/delete this? to plot nothing before deviatoric part..
...
###

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.