fix bug where new lines were not picking up plot options from the
previous scan

This was due to the UsePreviousScanLineSetting method asking the current
and previous scan arrays to be identical but this did not take the
x-axis name into account. The previous scan should be a sub-set of the
current scan.