File tree 4 files changed +6
-2
lines changed
4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 2
2
gramm_test.m
3
3
gramm cheat sheet.numbers
4
4
.DS_Store
5
+ paper /figure.ai
Original file line number Diff line number Diff line change 1176
1176
% Do the datetick
1177
1177
if ~isempty(obj .datetick_params )
1178
1178
for dtk= 1 : length(obj .datetick_params )
1179
- datetick(ca ,obj.datetick_params{dtk }{: },' keepticks' );
1179
+ % Previously used 'keepticks' by default which could cause a truncation of the axes
1180
+ datetick(ca ,obj.datetick_params{dtk }{: });
1180
1181
end
1181
1182
end
1182
1183
Original file line number Diff line number Diff line change 2
2
% set_datetick Specify that the x axis has dates
3
3
%
4
4
% This function can receive the same optional arguments as the
5
- % datetick() function of matlab
5
+ % datetick() function of matlab. In gramm versions before March 2018 the
6
+ % behavior was to force the 'keepticks' options. Now the options
7
+ % 'keepticks' or 'keeplimits' must be specified.
6
8
7
9
% This way we can handle multiple calls to set_datetick
8
10
for obj_ind= 1 : numel(obj )
You can’t perform that action at this time.
0 commit comments