8

Bug introduced in 12.0 and persisting in 13.2.0

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 -> {"○"}] 

However we can see that we get a "Null" plot marker at either end of the reference line: enter image description here

Is there a specific command required in QuantilePlot to customise the plot markers for the data points?

kglr
  • 394,356
  • 18
  • 477
  • 896
user27119
  • 2,500
  • 13
  • 34

1 Answers1

7

It seems like a bug.

A work-around: Post-process to remove the unwanted Nulls:

{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,___],___] -> {}

enter image description here

Note: The issue does not arise in Version 11.3.0.

kglr
  • 394,356
  • 18
  • 477
  • 896