Vary_Element & Sddsplot?

Moderators: cyao, michael_borland

Post Reply
Zamank
Posts: 59
Joined: 03 Dec 2013, 10:57

Vary_Element & Sddsplot?

Post by Zamank » 11 Mar 2016, 15:12

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!

michael_borland
Posts: 2008
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: Vary_Element & Sddsplot?

Post by michael_borland » 11 Mar 2016, 16:27

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

Zamank
Posts: 59
Joined: 03 Dec 2013, 10:57

Re: Vary_Element & Sddsplot?

Post by Zamank » 11 Mar 2016, 17:46

Awesome Michael! Thank you again for all your help and super speedy replies!

Post Reply