From: Robert L. <ro...@le...> - 2005-02-18 05:34:29
|
John Hunter wrote: > Robert> Is it possible to include a marker from one or more > Robert> scatter plots in the legend? > > This is a bit tricky -- scatter plots can vary in size and color. Well, in my newbie-ness I wasn't aware that this was the case. > What should one use for the legend marker? So the short answer is no. > My question for you is, "how *should* it work?" > > Not if you are using homogeneous marker sizes and colors, I suggest > using plot markers tweaking the properties, as in > > line, = plot(x,y,linestyle='None', marker='s', > markerfacecolor='red', markeredgecolor='g', > markersize=20, markeredgewith=3) > For me, this is exactly how it should work - thanks! Robert |