19
$\begingroup$

Bug introduced in 11.0 and fixed in 11.1


The Callout option is a new option for plotting, but the performance is very poor, see bellow testing case.

num = 1000;
list = N@Sin@Range[num];
list2 = ReplacePart[list,num->Callout[Last@list,Last@list]];

GraphicsRow[{ListLinePlot@list // Timing, 
ListLinePlot@list2 // Timing}, ImageSize -> Large]

output shows as: enter image description here

it spends more times running time when data plotting option Callout is used. I just wonder why?

$\endgroup$
2
  • 7
    $\begingroup$ I can reproduce this in 11.0. It seems fixed in V11.1. $\endgroup$
    – Ray Shadow
    Commented Apr 16, 2017 at 14:12
  • 1
    $\begingroup$ Yes,I've checked, it does. $\endgroup$
    – Jerry
    Commented Apr 16, 2017 at 14:43

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.