1
1
#ifndef lint
2
- static char * RCSid () { return RCSid ("$Id: graphics.c,v 1.569 2017-08-24 23:32:42 sfeam Exp $" ); }
2
+ static char * RCSid () { return RCSid ("$Id: graphics.c,v 1.570 2017-09-10 21:41:52 sfeam Exp $" ); }
3
3
#endif
4
4
5
5
/* GNUPLOT - graphics.c */
@@ -3870,8 +3870,9 @@ plot_border()
3870
3870
(* term -> move ) (plot_bounds .xleft , plot_bounds .ytop );
3871
3871
3872
3872
if (border_west && axis_array [FIRST_Y_AXIS ].ticdef .rangelimited ) {
3873
- max = AXIS_MAP (FIRST_Y_AXIS ,axis_array [FIRST_Y_AXIS ].data_max );
3874
- min = AXIS_MAP (FIRST_Y_AXIS ,axis_array [FIRST_Y_AXIS ].data_min );
3873
+ y_axis = FIRST_Y_AXIS ;
3874
+ max = map_y (axis_array [FIRST_Y_AXIS ].data_max );
3875
+ min = map_y (axis_array [FIRST_Y_AXIS ].data_min );
3875
3876
(* term -> move ) (plot_bounds .xleft , max );
3876
3877
(* term -> vector ) (plot_bounds .xleft , min );
3877
3878
(* term -> move ) (plot_bounds .xleft , plot_bounds .ybot );
@@ -3882,8 +3883,9 @@ plot_border()
3882
3883
}
3883
3884
3884
3885
if (border_south && axis_array [FIRST_X_AXIS ].ticdef .rangelimited ) {
3885
- max = AXIS_MAP (FIRST_X_AXIS ,axis_array [FIRST_X_AXIS ].data_max );
3886
- min = AXIS_MAP (FIRST_X_AXIS ,axis_array [FIRST_X_AXIS ].data_min );
3886
+ x_axis = FIRST_X_AXIS ;
3887
+ max = map_x (axis_array [FIRST_X_AXIS ].data_max );
3888
+ min = map_x (axis_array [FIRST_X_AXIS ].data_min );
3887
3889
(* term -> move ) (min , plot_bounds .ybot );
3888
3890
(* term -> vector ) (max , plot_bounds .ybot );
3889
3891
(* term -> move ) (plot_bounds .xright , plot_bounds .ybot );
@@ -3894,8 +3896,9 @@ plot_border()
3894
3896
}
3895
3897
3896
3898
if (border_east && axis_array [SECOND_Y_AXIS ].ticdef .rangelimited ) {
3897
- max = AXIS_MAP (SECOND_Y_AXIS ,axis_array [SECOND_Y_AXIS ].data_max );
3898
- min = AXIS_MAP (SECOND_Y_AXIS ,axis_array [SECOND_Y_AXIS ].data_min );
3899
+ y_axis = SECOND_Y_AXIS ;
3900
+ max = map_y (axis_array [SECOND_Y_AXIS ].data_max );
3901
+ min = map_y (axis_array [SECOND_Y_AXIS ].data_min );
3899
3902
(* term -> move ) (plot_bounds .xright , min );
3900
3903
(* term -> vector ) (plot_bounds .xright , max );
3901
3904
(* term -> move ) (plot_bounds .xright , plot_bounds .ytop );
@@ -3906,8 +3909,9 @@ plot_border()
3906
3909
}
3907
3910
3908
3911
if (border_north && axis_array [SECOND_X_AXIS ].ticdef .rangelimited ) {
3909
- max = AXIS_MAP (SECOND_X_AXIS ,axis_array [SECOND_X_AXIS ].data_max );
3910
- min = AXIS_MAP (SECOND_X_AXIS ,axis_array [SECOND_X_AXIS ].data_min );
3912
+ x_axis = SECOND_X_AXIS ;
3913
+ max = map_x (axis_array [SECOND_X_AXIS ].data_max );
3914
+ min = map_x (axis_array [SECOND_X_AXIS ].data_min );
3911
3915
(* term -> move ) (max , plot_bounds .ytop );
3912
3916
(* term -> vector ) (min , plot_bounds .ytop );
3913
3917
(* term -> move ) (plot_bounds .xright , plot_bounds .ytop );
0 commit comments