#!/bin/bash

elegant fodo.ele

plotTwiss -rootname fodo

sddsplot -col=s,S[xy] fodo.sig -graph=line,vary -legend -unsuppress=y \
         -col=s,Profile fodo.mag -overlay=xmode=norm,yfact=0.04

sddsplot -col=x,y fodo.wp-??? -graph=dot -separate=1 -same=global -title=@s \
    "-topline=Press m to play movie of beam oscillation"

