I'm adding a legend to a plot using the legend function. The legend shows the correct name and symbol for each data set, but the symbol appears three times in front of the text instead of just once. Does anyone know how to get a single symbol in front of the text in the legend? I'm calling the function as follows:
MIPS= PLOT(MIPS.Sersic_Index, MIPS.BT_ratio, XRANGE=[0,8.0], YRANGE=[0,1.0], $
YTITLE='B/T', XTITLE='n', /CURRENT, $
AXIS_STYLE=1, COLOR='blue', thick=2, linestyle=6, symbol='D', sym_filled=1)
control= PLOT(control.Sersic_Index, control.BT_ratio, /overplot, color='black', linestyle=6,thick=2,symbol='tu', sym_filled=1)
leg = LEGEND(TARGET=[MIPS,control], position=[0.4,0.9], /normal, $
text_color='black', linestyle=6, shadow=0, font_size=10)
Any suggestions would be much appreciated!
|