Page 1 of 1

Color bar in the phase space plot

Posted: Thu 2 Jul 2026 11:35
by FrancescoS
Good morning,

I have a question regarding the color bar in the phase space plot, I'm attaching, as an example, the plot taken at two different positions.
Now, the losses are huge and the particle number is drammatically different in the two cases but the color bar is always normalized to 1 according to the particle distribution at that position. This, in my opinion, doesn't give a correct visual impact in the real particle density, especially when there are big losses.
Is there a way to select a specific position, for example, or number of particle (maybe the initial number) and refer the normalizzation to that parameter for all the phase space plots?

Thanks in advance for the answer

Francesco

Re: Color bar in the phase space plot

Posted: Thu 2 Jul 2026 16:27
by Didier
Dear Francesco,

I think that’s an excellent suggestion, I’d never thought of it before.
OK, it’s been implemented in the latest version of TraceWin & PlotWin.

Regards,

Didier

Re: Color bar in the phase space plot

Posted: Fri 3 Jul 2026 07:02
by FrancescoS
Dear Didier,

thanks for your repoly.
do you mean that you already released a new version with this feature?

F.

Re: Color bar in the phase space plot

Posted: Fri 3 Jul 2026 09:22
by Didier
Dear Francesco,

Yes of course

Didier

Re: Color bar in the phase space plot

Posted: Fri 3 Jul 2026 10:16
by FrancescoS
Thanks a lot, I'll download it

Cheers
F.

Re: Color bar in the phase space plot

Posted: Tue 7 Jul 2026 08:27
by FrancescoS
Hi Didier,

I have the new version, could you kindly explain how to control the normalization value of the color bar?
Thanks
F.

Re: Color bar in the phase space plot

Posted: Wed 8 Jul 2026 12:34
by FrancescoS
ok, now I see this: 02-07-2026: New (2.27.1.0), bar color of the particle distribution phase space plot was
normilzed to 1. It's now to the number of surviving particles

undertood, thanks a lot