First time here? Check out the FAQ!

Ask Your Question
1

Legend appears twice

asked 10 years ago

petres gravatar image

updated 10 years ago

I have some problem with the legend, if I use the function graphics_array the entries of the legend box of the second plot appear twice. For example:

f(x) = sin(x)
g(x) = sin(2*x)
p1 = plot(f,(-2*pi,2*pi), legend_label="f")
p2 = plot(g,(-2*pi,2*pi), legend_label="g")
graphics_array((p1,p2))

What I am doing wrong, or how can I fix it? Thanks in advance

Preview: (hide)

Comments

With more plots, there is only a problem with the last legend, which is duplicated.

FrédéricC gravatar imageFrédéricC ( 10 years ago )

I know, is there some possiblity to get rid of it. Should I write a bug report?

petres gravatar imagepetres ( 10 years ago )

Solved in http://trac.sagemath.org/ticket/12591 that needs review.

FrédéricC gravatar imageFrédéricC ( 10 years ago )

1 Answer

Sort by » oldest newest most voted
0

answered 10 years ago

kcrisman gravatar image
Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 10 years ago

Seen: 325 times

Last updated: Oct 30 '14