The Legend Remove method removes an item from an existing legend.

Example


plot = PLOT(/TEST, NAME='First Plot', COLOR='lime')
plot2 = PLOT(RANDOMU(seed,200), NAME='Second Plot', $
      COLOR='purple', /OVERPLOT)
l = LEGEND()
l.Remove, plot2

Syntax


legend.Remove, TARGET

Arguments


TARGET

One or more graphic items to be removed from the existing legend.

Version History


8.2

Introduced