Using a result of Y. Brenier [Comm. Pure Appl. Math. 44 (1991) 375--417] we give a representation of the polar cone of monotone gradient fields in terms of measure-preserving maps, or bistochastic measures. Some applications to variational problems subject to a convexity constraint are given