summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/third/gnuplot
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-09-19 23:50:30 +0000
committerKarl Berry <karl@freefriends.org>2011-09-19 23:50:30 +0000
commit982fd914e8a8280290bf497fc838067e08bae6f3 (patch)
tree1049ad2720dc57be8741253203dfebcdc58352f6 /Master/texmf-dist/tex/context/third/gnuplot
parent68c8eb6d0ad58860c28d19dcfc1f98fbe818512d (diff)
context-gnuplot (19sep11)
git-svn-id: svn://tug.org/texlive/trunk@24028 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/third/gnuplot')
-rw-r--r--Master/texmf-dist/tex/context/third/gnuplot/t-gnuplot.tex17
1 files changed, 11 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/context/third/gnuplot/t-gnuplot.tex b/Master/texmf-dist/tex/context/third/gnuplot/t-gnuplot.tex
index 365c229c17b..4ae87b61e60 100644
--- a/Master/texmf-dist/tex/context/third/gnuplot/t-gnuplot.tex
+++ b/Master/texmf-dist/tex/context/third/gnuplot/t-gnuplot.tex
@@ -83,7 +83,7 @@
% linewidth scale
gp_scale_linewidth := \@@GNUPLOT@term@context@linewidth;
- gp_scale_text := \@@GNUPLOT@term@context@textscale;
+ gp_scale_text := \@@GNUPLOT@term@context@fontscale;
% linejoin := \gp:term:context:linejoin;
% linecap := \gp:term:context:linecap;
@@ -750,14 +750,18 @@
{\GNUPLOTfile-pngcairo.png}{\GNUPLOTfile-pngcairo.png}
\defineGNUPLOThandle
{tikz}{tikz context createstyle
- size \@@GNUPLOT@term@tikz@width,\@@GNUPLOT@term@tikz@height\space
- charsize \the\GNUPLOThcharsize,\the\GNUPLOTvcharsize
+ size \@@GNUPLOT@term@tikz@width,\@@GNUPLOT@term@tikz@height\space
+ charsize \the\GNUPLOThcharsize,\the\GNUPLOTvcharsize\space
+ fontscale \@@GNUPLOT@term@tikz@fontscale
}{tex}{}
{\GNUPLOTfile-tikz.tex}{\GNUPLOTfile-tikz.tex}
\defineGNUPLOThandle
- {context}{context size \@@GNUPLOT@term@context@width,\@@GNUPLOT@term@context@height\space textscale \@@GNUPLOT@term@context@textscale}{tex}{}
+ {context}{context
+ size \@@GNUPLOT@term@context@width,\@@GNUPLOT@term@context@height\space
+ fontscale \@@GNUPLOT@term@context@fontscale
+ }{tex}{}
{\GNUPLOTfile-ctx.tex}{\GNUPLOTfile-ctx.tex}
-% \doifnotempty{\@@GNUPLOT@term@context@textscale}{textscale \@@GNUPLOT@term@context@textscale}
+% \doifnotempty{\@@GNUPLOT@term@context@fontscale}{fontscale \@@GNUPLOT@term@context@fontscale}
\def\defineGNUPLOTterminal
{\dodoubleargument\dodefineGNUPLOTterminal}
@@ -918,13 +922,14 @@
dashed=yes, % *yes* | no
dashlength=1, % scaling factor for dash lengths
linewidth=1, % scaling factor for line widths (1.0 means 0.4bp)
- textscale=1, % scaling factor for text labels
+ fontscale=1, % scaling factor for text labels
points=metapost] % *metapost* | tex (Should points be drawn with MetaPost or TeX?)
\setupGNUPLOTterminal
[tikz]
[width=5in, % *5in* | default (todo) | <dimension>
height=3in, % *3in* | default (todo) | <dimension>
+ fontscale=1, % scaling factor for text labels
]
% TODO: better scaling