Convert cursor position on HR-diagram to temperature and luminosity