Defaults are mercury (ρ_m=13600) over water (ρ_f=1000), Δh=200 mm. At Δh=0 the two columns are at the same height (zero differential pressure).
A horizontal pipe at the top connects points A (left) and B (right) by tapping lines into a U-tube. Dark fluid = manometer fluid, light = pipe fluid. The meniscus difference is Δh.
X axis = Δh (mm), Y axis = ΔP (kPa). The straight line uses the current ρ_m, ρ_f and Δz. The yellow dot marks the current operating point.
The U-tube manometer is a classical pressure-measurement device that reads the differential pressure between two points A and B in a pipe as the column-height difference of a heavier manometer fluid (typically mercury).
Differential pressure between points A and B (A is the high-pressure side when Δh is positive, with the column on the B side higher):
$$\Delta P = P_A - P_B = (\rho_m - \rho_f)\,g\,\Delta h + \rho_f\,g\,(z_B - z_A)$$For a horizontal pipe ($z_B = z_A$) the second term vanishes:
$$\Delta P = (\rho_m - \rho_f)\,g\,\Delta h$$Unit conversions ($g = 9.81\,\text{m/s}^2$):
$$1\,\text{m H}_2\text{O} = \rho_w g = 9810\,\text{Pa},\quad 1\,\text{psi} = 6894.76\,\text{Pa},\quad 1\,\text{mmHg} = 133.4\,\text{Pa}$$When $\rho_m \gt \rho_f$, a positive Δh means the A side is at higher pressure. The heavier the manometer fluid relative to the pipe fluid, the more sensitive the measurement.