Links graphics object properties, such that a change in one is propagated to the others. The properties to link are given as a string of cell string array by prop and the objects containing these properties by the handle array h.
An example of the use of linkprops is
x = 0:0.1:10; subplot (1, 2, 1); h1 = plot (x, sin (x)); subplot (1, 2, 2); h2 = plot (x, cos (x)); hlink = linkprop ([h1, h2], {"color","linestyle"}); set (h1, "color", "green"); set (h2, "linestyle", "--");