Kind of as an extension of this question: How to plot a series using different colors depending on the y-value
Is there something similar to MeshFunction or ColorFunction that can control whether a curve being plotted is dashed vs solid depending on the y-value?

