fix #2 : Control of the legend position (update examples)