Re: Legends in Show
- To: mathgroup at smc.vnet.net
- Subject: [mg59349] Re: [mg59316] Legends in Show
- From: "David Annetts" <davidannetts at aapt.net.au>
- Date: Sat, 6 Aug 2005 01:30:03 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hi Joerg > how can I display legends of a Plot command in Show? > When I want to display several graphics with Show, where one > of them has a legend created with PlotLegend, the legend does > not show. > When I use ShowLegend, than I get those colored boxes beside > the legend, but I want to have colored lines in the legend instead. In this case, you're probably better off putting the legend on last ie, as the final ShowLegend after a series of Show[]'s or Plot[]'s and constructing, positioning & sizing it by hand. To minimise the intermediate displays, use DisplayFunction->Identity in a Block[]. Like most operations involving Graphics`Legend, it's straightforward, but painful. Please post some code if you want specific help. An alternate approach might use Dave Park's DrawGraphics package, or even forego the Legend altogether. Regards, Dave.