File indexing completed on 2024-12-22 04:17:10
0001 #!/usr/bin/python2.7 0002 import pykst as kst 0003 0004 client=kst.Client("TestX2") 0005 0006 v1 = client.new_generated_vector(-10, 10, 1000) 0007 e1 = client.new_equation(v1, "sin(x)") 0008 c1 = client.new_curve(e1.x(), e1.y()) 0009 p1 = client.new_plot() 0010 p1.add(c1)