Dynamic Number Line Labels

acron shared this question 1 month ago
Answered

The labels in sequence PointLoc should be centered on the PtsLbls locations.


These are the green dots below the number line given.


Can we do it in one command?

Comments (4)

photo
2

try

PointLoc = Sequence(Text(n Multiplier, PtsLbls(n + 51), true, true, 0, 0), n, -50, 50)

then press crtl+R

read the help about new syntax of text command

photo
1

Thanks, MathMagic.


This works great for integer divisions! Which will work for 90% of what I want.


Now I need to figure out how to make it work for the more common fractional values so that I can have a number line.


... -1.75 -1.50 -1.25 -1.00 -0.75 ... 0.00 ... 0.75 1.00 1.25 ...


Tony

photo
2

what's the problem?

use the same command with another multiplier

/tt0jQhX51vlnNVNlSafC4WNBGRRLGgiYgkigVNRCRRLGgiIoliQRMRSRQLmohIoljQREQSxYImIpIoFjQRkUSxoImIJIoFTUQkUSxoIiKJYkETEUkUC5qISKJY0EREEsWCJiKSKBY0EZFEsaCJiCSKBU1EJFEsaCIiiWJBExFJ1P8BiKRt44id10cAAAAASUVORK5CYII=

photo
1

Solved it I think.

© 2021 International GeoGebra Institute