The electric field in a capacitor is between its plates.
Since the plates are conductive there can be no field in the direction along their length,
So,
voltage between the plates at any point along their length must be the same, as BvU observed earlier.
But -
That's an interesting example you posed.
Be aware that in deforming the structure work was done while changing the distance between the electrodes.
That's because the opposite charges on the electrodes attract one another.
So when you deformed the plates the Force X Distance product of [ that Coulombic attractive force X distance moved ] has units of work.
That work shows up as a change in voltage across the capacitor.
Charge Q on a capacitor = Capacitance X Voltage
You didn't change Q but you did change Capacitance,
and their ratio is voltage.
Just another little quirk of the universe. Good for "electrical trivial pursuits" parlor games, but don't be surprised if you find it in a physics quiz .
It's good to get your thinking oriented early so that you focus not so much on the plates of a capacitor but on what's in between them.
Watch the electrometer here (about 1:30) indicate increasing voltage as capacitor plates are separated.