diff options
author | Marius <mariausol@gmail.com> | 2013-05-27 10:20:22 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2013-05-27 10:20:22 +0300 |
commit | 6b2f7c5fd7a3e465f4e2662b1e5bd2c9d5cce8f8 (patch) | |
tree | ea2c6131288b8e0f494e6cc695ec6a3f6733a07f /metapost | |
parent | a61813ccdd4b7bcc81932317e1360fda6c79962d (diff) | |
download | context-6b2f7c5fd7a3e465f4e2662b1e5bd2c9d5cce8f8.tar.gz |
stable 2013.05.27 09:10
Diffstat (limited to 'metapost')
-rw-r--r-- | metapost/context/base/mp-grap.mpiv | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/metapost/context/base/mp-grap.mpiv b/metapost/context/base/mp-grap.mpiv index 5761931ff..a6a4e21e8 100644 --- a/metapost/context/base/mp-grap.mpiv +++ b/metapost/context/base/mp-grap.mpiv @@ -263,10 +263,10 @@ enddef ; % addto @# also q shifted ((tp)-llcorner q) ; % fi %enddef ; -% TH : new version from code found at sarovar tracker. This makes +% TH : new version from code found at sarovar tracker. This makes % grdaw clip the result to the window defined with setrange vardef graph_picture_conversion@#(expr q, o)(text tp) = - save p, tp_geclipt ; + save p, tp_geclipt ; picture tp_geclipt ; tp_geclipt :=nullpicture; if stroked q : path p ; p=pathpart q; @@ -274,7 +274,7 @@ vardef graph_picture_conversion@#(expr q, o)(text tp) = addto tp_geclipt doublepath tp graph_with_pen_and_color(q) dashed dashpart q ; clip tp_geclipt to origin--(xpart Z_.graph_dimensions,0)--Z_.graph_dimensions--(0, ypart Z_.graph_dimensions)--cycle ; addto @# also tp_geclipt ; - %%% + %%% %%% --- SDV deleted %%addto @# doublepath tp graph_with_pen_and_color(q) dashed dashpart q ; %%% @@ -335,7 +335,7 @@ vardef graph_set_bounds@#(expr l, h) = graph_clear_bounds@# ; if @#graph_coordinate_type>0 : @#low = if unknown l : - whatever + whatever else : if abs @#graph_coordinate_type=log : graph_mlog fi if string l : scantokens fi l fi ; @@ -345,7 +345,7 @@ vardef graph_set_bounds@#(expr l, h) = if abs @#graph_coordinate_type=log : graph_mlog fi if string h : scantokens fi h fi ; else : - -@#high = if unknown l : + -@#high = if unknown l : whatever else : if abs @#graph_coordinate_type=log : graph_mlog fi if string l : scantokens fi l @@ -887,7 +887,7 @@ def auto suffix $ = if graph_select_exponent_mark.graph_exponent : graph_generate_exponents(graph_exponent, graph_comma graph_factor_and_exponent_to_string(1,e)) - else : + else : graph_scan_mark(graph_select_mark, graph_modified_lower, graph_modified_higher, graph_comma graph_factor_and_exponent_to_string(m,e)) fi |