#!/bin/bash

elegant template.ele -macro=energy=100
elegant template.ele -macro=energy=200
elegant template.ele -macro=energy=150

sddsplot -graph=line,vary -groupby=names -sep=names -layout=1,2 -join=x -legend=filename,edit=%/run//%/.sig/MeV/ -column=s,S[xy] run*.sig 
