#!/bin/bash
# Give prefix and vasprun file as argument
echo "Using ${1} as prefix with vasprun: ${2}"
sumo-dosplot -p ${1}_g0.1 -g 0.1                               -f $2
sumo-dosplot -p ${1}_g0.15 -g 0.15                             -f $2
sumo-dosplot -p ${1}_g0.2 -g 0.2                               -f $2
sumo-dosplot -p ${1}_g0.2_-17_to_6 -g 0.2 --xmin -17 --xmax 6  -f $2
echo "Removing dos.dat files!"
rm *dos.dat
