Is there a way in Mathematica to check whether a plot is empty or not?
By empty, I mean it is only showing the axes and not any data points. I have a function that, depending on its inputs, gives some data points (to be plotted later) or none, but i won't know whether it will produce any valid data points unless i plot it. And if it doesn't, when i plot it, it will return an empty plot. I would like to differentiate between the empty plot and a plot with data points.