Page 1 of 1

Vary_Element & Sddsplot?

Posted: 11 Mar 2016, 15:12
by Zamank
Hi Michael,

I was curious: I wanted to scan through the bend angles of a 4 bend chicane and plot the {x,x'} phase space at the exit of bend3 (I have a "watch" file at the exit of bend3) for each configuration.

I am using the "vary_element" option in the *.ele file to scan through the 4 bend's bending angles.

I was wondering on how I could go about plotting the bend3 transverse phase space at the end of each vary_element iteration?

Thank you in advance!

Re: Vary_Element & Sddsplot?

Posted: 11 Mar 2016, 16:27
by michael_borland
I suggest trying

Code: Select all

sddsplot -split=page -separate=page -same -graph=dot -column=x,xp watch.sdds 
The data for each page (corresponding to each step of the simulation) will appear on separate pages of the plot. You can use the menus or hot keys (described in the help menu) to navigate between pages.

--Michael

Re: Vary_Element & Sddsplot?

Posted: 11 Mar 2016, 17:46
by Zamank
Awesome Michael! Thank you again for all your help and super speedy replies!