Allow axisfunction to be a function of an axis not necessarily plotted on same graph and direction.