matlab - how to remove third legend from merging two figures -
I am discussing this problem.
My problem is that in the third figure, there are 3 legends (which are 2 figures). 2 is fine but there is a 3 legend (the figure is a legend from 1 or 2). How can I erase it programmatically?
fig = open ('fig 1. figure'); Fig2 = open ('fig2.fig'); AX1 = get (Fig1, 'child'); AX2 = get (fig2, 'child'); I for = 1: numel (ax2) ax2hildren = get (ax2 (i), 'children'); Tri = get (AX1 (i), 'child'); Wait; First = Copax (triangular, axis 1 (i)); Second = Copago (ax2hildren, ax1 (i)); End set (first, 'color', 'g', 'marker', 'o'); Set (second, 'color', 'b', 'marker', 'x'); Legend (first, {'first'}, 'space', 'northwest', 'color', 'g'); Legend (second, {'second'}, 'location', 'northwest', 'color', 'b'); Thanks!
You must use HashioView ( set (Dissatisfaction (temporary, 'legend', false)
Comments
Post a Comment