Properties
Category
English
Similar Topics
Statistics
Comments
9
Participants
4
Subscribers
4
Votes
2
Views
1060
Share
Needs Answer
Hello,
I have a problem with setting coordinates of existing line. At the other hand, setting coordinates of points works fine.
I made arbitrary line f with Line tool. Then I set a javascript inside a button:
ggbApplet.setCoords("f", 1, 1, 1);
But nothing happens.
As I wrote, setting a coordinates of point works well by this way. Could you advice me, please?
- GeoGebra
- Help
- Partners
-
Contact us
- Feedback & Questions
- This email address is being protected from spambots. You need JavaScript enabled to view it.
- +43 677 6137 2693
© 2023 International GeoGebra Institute
setCoords() is for Points - try setting the coords of A and B
Hello
Do you really think that a line have 3 coordinates..?
https://wiki.geogebra.org/e...
por muy absurdo que me parecía la explicación he probado a ver qué pasaba
primero he creado una recta libre escribiendo x+2y=3 (no usando dos puntos; escribiendo)
después he deseleccionado la casilla fix (a no fijo) en las propiedades de la recta
a continuación he escrito setcoords(eq1,4,5,6) and OHH! sorpresa!!!
be sure the line is not fix
the script works
Comments have been locked on this page!