Batch mode and PlotWin

https://www.dacm-logiciels.fr/tracewin
Post Reply
United States of Americawtam
Skilled
Skilled
Posts: 111
Joined: Mon 7 Dec 2020 06:17
Location: Boston
Country:
United States of America (us)
United States of America

Batch mode and PlotWin

Post by United States of Americawtam »

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
User avatar
FranceDidier
Administrator
Administrator
Posts: 975
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Batch mode and PlotWin

Post by FranceDidier »

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

Re: Batch mode and PlotWin

Post by United States of Americawtam »

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
User avatar
FranceDidier
Administrator
Administrator
Posts: 975
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Batch mode and PlotWin

Post by FranceDidier »

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
Post Reply