如何把一个向量的标题设置为它的长度。

超群 王 shared this question 1 year ago
Answered

如何把一个向量的标题设置为它的长度。这个向量的长度是可变的、动态的。

Best Answer
photo

see attachment.

Comments (7)

photo
1

see attachment.

photo
1

Thank you for solving my problem.Your answer is very helpful!

photo
1

Hi, Rami, What does "%0" mean in SetCaption(%0,(“%n=”+Length(%0)))? There's no inputbox in your ggb.


I replaced %0 by u, it also worked.

I didn't find any help documentation for this. Thank you.

photo
1

%0 refers to the object itself, so the script keeps working even if you rename the object.

photo
1

Got it. Where can I can find the document about this?

Thanks.

photo
1

There is a brief mentioning of "%0" here, and maybe there is more hidden among the advanced tutorials, but I don't know if there is general documentation about this (and possibly other special variables).

photo
1

Thank you very much.

photo
© 2021 International GeoGebra Institute