summaryrefslogtreecommitdiff
path: root/macros/luatex/latex/luaplot/luaplot.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/latex/luaplot/luaplot.sty')
-rw-r--r--macros/luatex/latex/luaplot/luaplot.sty12
1 files changed, 6 insertions, 6 deletions
diff --git a/macros/luatex/latex/luaplot/luaplot.sty b/macros/luatex/latex/luaplot/luaplot.sty
index db1b5e1aea..490cfa12f0 100644
--- a/macros/luatex/latex/luaplot/luaplot.sty
+++ b/macros/luatex/latex/luaplot/luaplot.sty
@@ -1,15 +1,15 @@
-% luaplot package
-% version 1.4
+% The luaplot package.
+% Version 1.5.
% Licensed under LaTeX Project Public License v1.3c or later. The complete license text is available at http://www.latex-project.org/lppl.txt.
%Authors: Chetan Shirore and Ajit Kumar
-\ProvidesPackage{luaplot}[1.4]
+\ProvidesPackage{luaplot}[1.5]
\RequirePackage{xkeyval}
\RequirePackage{luacode}
\RequirePackage{tikz}
\RequirePackage{luamplib}
\begin{luacode}
-
+-- compatibility of number formats with the MetaPost system.
function checknumber(x)
if string.find(x, "e") then
return string.format("%.12f",x)
@@ -17,7 +17,7 @@ function checknumber(x)
return x
end
end
-
+-- Determining plot points with Lua for the MetaPost system.
function luapath (f,a,b,n,myclr)
local mytbl ={}
local s = ""
@@ -50,7 +50,7 @@ function luapath (f,a,b,n,myclr)
end
return finalstr
end
-
+-- Determining plot points with Lua for the tikz package.
function luatikzpath (f,a,b,n)
local s = ""
s = s.."(" .. a .."," .. f(a) ..")"