Properties
Category
German
Similar Topics
Statistics
Comments
4
Participants
4
Subscribers
0
Votes
1
Views
874
Share
Answered
Hallo zusammen:
Ich möchte diese Tabellenwerte grau färben.
L_1={{"SetColor[A2, 128, 128, 128]"}, {"SetColor[A3, 128, 128, 128]"}, {"SetColor[B2, 128, 128, 128]"}, {"SetColor[B3, 128, 128, 128]"}}
Auf ein einzelnes Element kann ich ja zugreifen. Nur leider färbt es sich weiß anstatt grau.
Ausführen[Element[L_1, 2]]
Und wenn ich die ganze Liste ausführen möchte...
Ausführen[L_1]
...kommt nur eine unverständliche Fehlermeldung. Was mach ich da nur falsch?
Willi
- 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
128/255 instead of 128
Ausführen[Element[L_1, 2]] works
R,G,B :0 ~ 1
not 0~255
Hi,
try this syntax
L_1 = {"SetColor[A2, 0.5, 0.5, 0.5]", "SetColor[A3, 0.5, 0.5, 0.5]", "SetColor[B2, 0.5, 0.5, 0.5]", "SetColor [B3, 0.5, 0.5, 0.5]"}
and
Ausführen[L_1]
...
Okay, jetzt weiß ich, wie man Farben setzt.
Und wenn ich euch richtig verstanden habe, dann beging ich den Fehler, dass ich eine Liste ausführen wollte, welche mehrere Listen enthielt.
Also machte ich die überflüssigen Klammern raus (wie von Patrick empfohlen) und es funktioniert.
Vielen Dank
Comments have been locked on this page!