Commit af246239 authored by Jason Rhinelander's avatar Jason Rhinelander

Don't add end-point ticks

When making the graph small (e.g. to be able to fit it in the paper)
the end-point tick values overlap the regular tick values, so just
suppress them instead (the non-round number was a bit ugly anyway).
parent 0b45c2d9
......@@ -373,7 +373,7 @@ int main(int argc, char *argv[]) {
local_ymax = std::isfinite(args.graph_max_value) ? args.graph_max_value : in.ymax;
}
graph.setExtents(local_tmin, local_tmax, local_ymin, local_ymax, false);
graph.recalcTicks(10, 8, Series::TickEnds::Add);
graph.recalcTicks(10, 8, Series::TickEnds::None);
graph.title = in.title;
graph.t_grid_extra.insert(args.t_extra.cbegin(), args.t_extra.cend());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment