Pendulum and Spring: improve 2-graph labeling

[#45966989]