move plot to Ruiby gem