class_docstr: X logarithmic projection
class_docstr_tok: ["X","logarithmic","projection"]
docstr: Project x
docstr_tok: ["Project","x"]
code: def x(self, x):
      """Project x"""
      if x is None or x <= 0 or self.log10_xmax - self.log10_xmin == 0:
          return None
      return (
          self.width
          * (log10(x) - self.log10_xmin)
          / (self.log10_xmax - self.log10_xmin)
      )
  
imports: from __future__ import division
  from math import cos, log10, pi, sin
label_desc: Use image node_id 2 for calling the XLogView obj's underlying member method code with example usage: obj.x(x) and returns: unknown, None