Dear All,
NumberLinePlot[Callout[Interval[{0, 10}], "0\[LongDash]10"]]
does not display the expression "0–10". Any idea for a work around?
Best regards,
KMS
It would be very helpful to have a built-in option for this. Generally number lines are not something you need a legend for, it's more common to annotate the points and intervals directly on the plot.
Check out: https://mathematica.stackexchange.com/questions/139520/labelling-points-on-a-numberlineplot
It isn't exactly what you are asking for, but it might be good enough.