summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjoye <joye>2014-06-09 18:25:11 (GMT)
committerjoye <joye>2014-06-09 18:25:11 (GMT)
commit36d9d780732a2a3b46f96cb274fa3600c1b96509 (patch)
tree23d8f4a2385272ff85bd429aa7847a50eaf024da /tests
parent90d2d35560b9009999f107a05a6e309fa992e8f6 (diff)
downloadblt-36d9d780732a2a3b46f96cb274fa3600c1b96509.zip
blt-36d9d780732a2a3b46f96cb274fa3600c1b96509.tar.gz
blt-36d9d780732a2a3b46f96cb274fa3600c1b96509.tar.bz2
*** empty log message ***
Diffstat (limited to 'tests')
-rw-r--r--tests/ps.tcl17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/ps.tcl b/tests/ps.tcl
new file mode 100644
index 0000000..c562724
--- /dev/null
+++ b/tests/ps.tcl
@@ -0,0 +1,17 @@
+source base.tcl
+
+set w .line
+set graph [bltLineGraph $w]
+
+$graph axis configure x -title "X\nAxis" -limitsformat "%g"
+$graph axis configure y -title "Y\nAxis"
+
+$graph element configure data1 -dash {8 3} -showvalues y -smooth step -symbol circle -outline yellow -outlinewidth 3 -pixels 10 -valuefont "times 14 italic" -valuerotate 45
+
+$graph postscript output foo.ps
+
+#set graph [bltBarGraph $w]
+
+#echo "done"
+#bltPlotDestroy $w
+