summaryrefslogtreecommitdiff
path: root/graphics/pstricks/contrib/pst-bar/dvips/pst-bar.pro
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pstricks/contrib/pst-bar/dvips/pst-bar.pro')
-rw-r--r--graphics/pstricks/contrib/pst-bar/dvips/pst-bar.pro30
1 files changed, 30 insertions, 0 deletions
diff --git a/graphics/pstricks/contrib/pst-bar/dvips/pst-bar.pro b/graphics/pstricks/contrib/pst-bar/dvips/pst-bar.pro
new file mode 100644
index 0000000000..608a8c4261
--- /dev/null
+++ b/graphics/pstricks/contrib/pst-bar/dvips/pst-bar.pro
@@ -0,0 +1,30 @@
+%!
+% PostScript prologue for pst-bar.tex.
+% Version 0.2, 2004/08/22
+% For distribution, see pstricks.tex.
+%
+/tx@BarDict 5 dict def tx@BarDict begin
+%
+% transpose -- Matrix transpose
+%
+/transpose {
+ /X exch def
+ /row X length def
+ /col X 0 get length def
+ [
+ /i 0 def
+ col {
+ [
+ /j 0 def
+ row {
+ X j get i get
+ /j j 1 add def
+ } repeat
+ /i i 1 add def
+ ]
+ } repeat
+ ]
+} def
+%
+end
+% END pst-bar.pro