docs: function createLabels(varname, positions, range) {
      if (!positions) {
        console.log('[error] Create labels requires positions (x,y,z) array');
        return;
      }
  
      if (positions.length % 3 !== 0) {
        console.log('[error] Create labels require positions array contain 3d points');
        return;
      }
  
      if (!range) {
        console.log('[error] Create labels requires Valid range');
        return;
      }
  
      var actor = null,
          size = vgl.utils.computePowerOfTwo(48),
          index = 0,
          actors = [],
          origin = [],
          pt1 = [],
          pt2 = [],
          delta = (positions[6] - positions[0]),
          axisLabelOffset = 4, i;
  
      origin.length = 3;
      pt1.length = 3;
      pt2.length = 3;
  
      // For now just create labels for end points
      for (i = 0; i < 2; i += 1) {
        index = i * (positions.length - 3);
  
        origin[0] = positions[index] - delta;
        origin[1] = positions[index + 1] - 2 * delta;
        origin[2] = positions[index + 2];
  
        pt1[0] = positions[index] + delta;
        pt1[1] = origin[1];
        pt1[2] = origin[2];
  
        pt2[0] = origin[0];
        pt2[1] = positions[1];
        pt2[2] = origin[2];
  
        actor = vgl.utils.createTexturePlane(
          origin[0], origin[1], origin[2],
          pt1[0], pt1[1], pt1[2],
          pt2[0], pt2[1], pt2[2], true);
  
        actor.setReferenceFrame(vgl.boundingObject.ReferenceFrame.Absolute);
        actor.material().setBinNumber(vgl.material.RenderBin.Overlay);
        actor.material().addAttribute(vgl.utils.create2DTexture(
          range[i].toFixed(2).toString(), 12, null));
        actors.push(actor);
      }
  
      // Create axis label
      origin[0] = (positions[0] + positions[positions.length - 3] - size) * 0.5;
      origin[1] = positions[1] + axisLabelOffset;
      origin[2] = positions[2];
  
      pt1[0] = origin[0] + size;
      pt1[1] = origin[1];
      pt1[2] = origin[2];
  
      pt2[0] = origin[0];
      pt2[1] = origin[1] + size;
      pt2[2] = origin[2];
  
      actor = vgl.utils.createTexturePlane(
        origin[0], origin[1], origin[2],
        pt1[0], pt1[1], pt1[2],
        pt2[0], pt2[1], pt2[2], true);
      actor.setReferenceFrame(vgl.boundingObject.ReferenceFrame.Absolute);
      actor.material().setBinNumber(vgl.material.RenderBin.Overlay);
      actor.material().addAttribute(vgl.utils.create2DTexture(
        varname, 24, null));
      actors.push(actor);
  
      return actors;
    }