← Back to team overview

yade-users team mailing list archive

Re: yade-multi --gnuplot

 

> I used yade.plot.addData durind simulation and yade.plot.saveGnuplot after each simulation
> I have tried --gnuplot="file", but with no succes, always I get error
> 
> WARN: no plot found for job #
> 
> even I have both #.data.bz2 and #.gnuplot
> What I need to do to make this option work properly?
You need to print to standard output (from the simulation script, which
is scanned by the batch system afterwards) a magic line in the format
"gnuplot file.gnuplot", something like

utils.saveGnuplot(O.tags['id'])
print 'gnuplot',O.tags['id']+'.gnuplot'

Should be documented or improved, adding to
https://www.yade-dem.org/wiki/Documentation_enhancements

Cheers, v.







References