Functions to compute and plot tracheidograms