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
Batch mode and PlotWin
Re: Batch mode and PlotWin
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
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
-
- Skilled
- Posts: 111
- Joined: Mon 7 Dec 2020 06:17
- Location: Boston
- Country:
United States of America (us)
Re: Batch mode and PlotWin
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
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
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
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