Draw a graph vs dihedral angle for rotation around the bond

Draw a graph vs dihedral angle for rotation around the bond