summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/metapost
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2006-11-09 13:18:02 +0000
committerNorbert Preining <preining@logic.at>2006-11-09 13:18:02 +0000
commit3696c8f2a98b5e48514a3608e0156c676b63470a (patch)
tree99006293861d5004c6de0938b605f6ef0e4b554a /Master/texmf-dist/metapost
parentaa10b19a7c6ffac34c3b21c9ac9afb7dc827cec4 (diff)
The Krakow-Vienna train ride update
package updates: ccaption cdpbundl chem-journal clefval coordsys dingbat dramatist egplot filecontents lcd maybemath metaobj metaplot mwcls pdfscreen pst-bar rsc dpfloat footbib jurabib added to ctan-tpm-check (and re-indented the long list) no changes between CTAN and depot, only added to the WorkingTPM list acmtrans bibunits bitfield blindtext bophook cherokee citeref cmdtrack colorinfo compactbib courier-scaled courseoutline coursepaper crop custom-bib cvsty dancers dashbox dcpic decimal digiconfigs dinat directory eCards eemeir ellipsis engrec envbig epiolmec epsf eqparbox eskd ethiop-t1 euro eurosans exam examplep expressg extarrows extsizes fp fribrief functan gatech-thesis ginpenc greenpoint hands hitec hvfloat hyperxmp inlinebib invoice isorot isotope jpsj kalender kerkis keystroke labels layouts lcg leaflet leawood lgreek limap lipsum listliketab logpap ltablex ltxindex mailing makebox makecirc makeglos maple mceinleger menu metatex mftinc mhs multicap mwrite nath nature ntgclass numline ofs ogham oldstyle papercdcase paresse parrun permute phaistos pittetd plates preprint prettyref program pseudocode pspicture pst-fr3d pst-math qcm rccol rcsinfo resume robustindex sae sauerj updates with changed files, but no added/removed files: ccaption cdpbundl chem-journal clefval coordsys dingbat dramatist egplot filecontents lcd maybemath metaobj metaplot mwcls pdfscreen pst-bar rsc updates with changes and added/removed files: dpfloat footbib jurabib git-svn-id: svn://tug.org/texlive/trunk@2411 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/metapost')
-rw-r--r--Master/texmf-dist/metapost/metaplot/metaplot.mp15
1 files changed, 12 insertions, 3 deletions
diff --git a/Master/texmf-dist/metapost/metaplot/metaplot.mp b/Master/texmf-dist/metapost/metaplot/metaplot.mp
index d26c938d6ce..3bd6219a35a 100644
--- a/Master/texmf-dist/metapost/metaplot/metaplot.mp
+++ b/Master/texmf-dist/metapost/metaplot/metaplot.mp
@@ -1,5 +1,5 @@
% METAPLOT: primary plot routines for the METAPLOT package.
-% Copyright(C) 2004, Brooks Moses
+% Copyright(C) 2004-2005, Brooks Moses
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -12,7 +12,7 @@
%
% This work has the LPPL maintenance status "author-maintained".
%
-% Version 0.9.
+% Version 0.91.
%
% The n < 1.0 release number indicates that this is a beta release;
% the author at present makes no assurances that the command syntax
@@ -20,7 +20,7 @@
% release.
%
% Bug reports, feature requests, and all other suggestions should
-% be directed to Brooks Moses, bmoses@stanford.edu.
+% be directed to Brooks Moses via metaplot@dpdx.net.
% Load MetaPlot axes macros
@@ -63,6 +63,15 @@ def plot_instantiate(suffix inst)(suffix plot_object) =
% Pointer-function to plot_object's plots, scaled and positioned.
vardef inst.plot(suffix name) =
+ begingroup
+ save xleft; save xright; save ybot; save ytop;
+ xleft = min(xpart(llcorner plot_object.name), 0.0);
+ xright = max(xpart(urcorner plot_object.name), 1.0);
+ ybot = min(ypart(llcorner plot_object.name), 0.0);
+ ytop = max(ypart(urcorner plot_object.name), 1.0);
+ setbounds plot_object.name to
+ (xleft,ybot)--(xright,ybot)--(xright,ytop)--(xleft,ytop)--cycle;
+ endgroup;
plot_object.name xscaled inst.pagewidth yscaled inst.pageheight
shifted inst.llft
enddef;