We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ec5a43 commit 157637aCopy full SHA for 157637a
src/axis.c
@@ -1,5 +1,5 @@
1
#ifndef lint
2
-static char *RCSid() { return RCSid("$Id: axis.c,v 1.244 2017-09-10 03:49:31 sfeam Exp $"); }
+static char *RCSid() { return RCSid("$Id: axis.c,v 1.245 2017-09-11 03:40:51 sfeam Exp $"); }
3
#endif
4
5
/* GNUPLOT - axis.c */
@@ -197,7 +197,8 @@ void
197
axis_invert_if_requested(struct axis *axis)
198
{
199
if (((axis->range_flags & RANGE_IS_REVERSED)) && (axis->autoscale != 0))
200
- reorder_if_necessary(axis->min, axis->max);
+ /* NB: The whole point of this is that we want max < min !!! */
201
+ reorder_if_necessary(axis->max, axis->min);
202
}
203
204
0 commit comments