Mathematica Asked on December 22, 2020
Bug introduced in 12.0 and persisting in 12.1.1
I want to change the plot markers of the data points in QuantilePlot
. This seems pretty straightforward:
QuantilePlot[
RandomVariate[NormalDistribution[0, 1], 32], NormalDistribution[mu, sigma],
ReferenceLineStyle -> Directive[Red, Dashing[{Large}]], PlotMarkers -> {"[EmptyCircle]"}
]
However we can see that we get a "Null" plot marker at either end of the reference line:
Is there a specific command required in QuantilePlot
to customise the plot markers for the data points?
It seems like a bug.
A work-around: Post-process to remove the unwanted Null
s:
{mu, sigma} = {1, 2};
SeedRandom[1]
qp = QuantilePlot[RandomVariate[NormalDistribution[0, 1], 32],
NormalDistribution[mu, sigma],
ReferenceLineStyle -> Directive[Red, Dashing[{Large}]],
PlotMarkers -> {"○"}];
qp/. Inset[Style[Null,___],___] -> {}
Note: The issue does not arise in Version 11.3.0.
Correct answer by kglr on December 22, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP