This commit is contained in:
2018-04-17 12:05:48 +02:00
parent 14edc0e745
commit 58a1260003
428 changed files with 41350 additions and 477 deletions

18
script/test/test41.py Executable file
View File

@@ -0,0 +1,18 @@
p = plot([1,2,3,4,5], title="x")[0]
text = p.addText(1.5, 3.6, "Test")
#Changing color
text.paint = Color.GREEN
#Changing font
import java.awt.Font as Font
text.font = Font("Verdana", Font.PLAIN, 12)
#Rotation
import math
text.rotationAngle = math.radians(90.0)
#Removing
p.removeText(text)