7
$\begingroup$

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: enter image description here

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

$\endgroup$
4
  • 1
    $\begingroup$ Please submit a bug report to Wolfram Tech Support $\endgroup$ – Bob Hanlon Oct 31 '20 at 1:02
  • $\begingroup$ @kglr 12.2 is not released yet. $\endgroup$ – Szabolcs Dec 14 '20 at 10:23
  • $\begingroup$ @Szabolcs, on Wolfram cloud $Version returns "12.2.0 for Linux x86 (64-bit) (November 16, 2020) ". Rolled back the edit. $\endgroup$ – kglr Dec 14 '20 at 10:32
  • $\begingroup$ @kglr Interesting, didn't know they released it a month ago in the cloud ... $\endgroup$ – Szabolcs Dec 14 '20 at 10:38
5
$\begingroup$

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.

$\endgroup$
2
  • $\begingroup$ Thanks for the work around. $\endgroup$ – Q.P. Oct 30 '20 at 23:28
  • $\begingroup$ Interesting that the problem isn't present in 11.3.0, I'm using 12.1.1.0. $\endgroup$ – Q.P. Oct 30 '20 at 23:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.