Page 1 of 1
Batch mode and PlotWin
Posted: Fri 12 Nov 2021 04:54
by wtam
Dear Didier,
Is there a way to view plots in PlotWin or the TraceWin GUI after running a simulation in batch mode?
Best regards,
Wai-Ming
Re: Batch mode and PlotWin
Posted: Fri 12 Nov 2021 11:44
by Didier
Dear Wai-Ming,
I'm not sure what you mean in the case of plotwin, but with TraceWin GUI, I understand your request, but currently there is no way to do that. I can imagine a list of arguments to be added to the TraceWin batch command launching a plot of results automatically. However, I can't imagine what it would look like if you run a hundred instances of TraceWin, you will have a hundred plots on the screen. And then when the code is closed automatically at the end of the simulation, the plot will be closed too.
Regards,
Didier
Re: Batch mode and PlotWin
Posted: Fri 12 Nov 2021 15:58
by wtam
Dear Didier,
Currently, I copy two files, tracewin.out and partran1.out, after each run during batch mode. With these two files, I can plot the envelopes using Matlab. There is also a much larger file containing the dynamics of each of the particles, which you can plot the phase space etc in the GUI. I don't know how to do that in Matlab.
Best regards,
Wai-Ming
Re: Batch mode and PlotWin
Posted: Fri 12 Nov 2021 16:06
by Didier
Dear Wai-Ming,
To plot the phase-space you can use "plotwin your_file.dst".
In TraceWin use "PLOT_DST file" command to select position and file name you want to save during simulation.
Regards,
Didier