11#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 $" ); }
33#endif
44
55/* GNUPLOT - graphics.c */
@@ -3870,8 +3870,9 @@ plot_border()
38703870 (* term -> move ) (plot_bounds .xleft , plot_bounds .ytop );
38713871
38723872 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 );
38753876 (* term -> move ) (plot_bounds .xleft , max );
38763877 (* term -> vector ) (plot_bounds .xleft , min );
38773878 (* term -> move ) (plot_bounds .xleft , plot_bounds .ybot );
@@ -3882,8 +3883,9 @@ plot_border()
38823883 }
38833884
38843885 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 );
38873889 (* term -> move ) (min , plot_bounds .ybot );
38883890 (* term -> vector ) (max , plot_bounds .ybot );
38893891 (* term -> move ) (plot_bounds .xright , plot_bounds .ybot );
@@ -3894,8 +3896,9 @@ plot_border()
38943896 }
38953897
38963898 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 );
38993902 (* term -> move ) (plot_bounds .xright , min );
39003903 (* term -> vector ) (plot_bounds .xright , max );
39013904 (* term -> move ) (plot_bounds .xright , plot_bounds .ytop );
@@ -3906,8 +3909,9 @@ plot_border()
39063909 }
39073910
39083911 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 );
39113915 (* term -> move ) (max , plot_bounds .ytop );
39123916 (* term -> vector ) (min , plot_bounds .ytop );
39133917 (* term -> move ) (plot_bounds .xright , plot_bounds .ytop );
0 commit comments