'Set log scaling for x and/or y axes.
This informs PlotDataItems to transform logarithmically and switches
the axes to use log ticking.
Note that *no other items* in the scene will be affected by
this; there is (currently) no generic way to redisplay a GraphicsItem
with log coordinates.'

def setLogMode(self, x=None, y=None):

    if (x is not None):
        self.ctrl.logXCheck.setChecked(x)
    if (y is not None):
        self.ctrl.logYCheck.setChecked(y)
