init plot