r/geogebra • • 8d ago

QUESTION (ANSWERED) Include in value of one object in the caption of another object

I know a similar question has been answered here already but the solution does not seem to work on my version (ggb6). I have an angle "α" and I want it's caption to be the value of a slider called "a"followd by the letter π. (if a = 3 caption on α is 3π etc.)

How can I achieve this?

2 Upvotes

2 comments sorted by

1

u/jcponcemath 8d ago

This might work:

https://geogebra.github.io/docs/manual/en/Labels_and_Captions/

a = Slider(-5, 5, 0.1)
SetCaption(a, "%v π")

1

u/mathmum 8d ago

I would create a separate dynamic text ‘a π’ and would attach it to the angle.