3
$\begingroup$

This question already has an answer here:

I'm generating grids of ListLinePlot objects with hundred thousands of points each, and my notebook gets very slow very fast. IE, I have a hard time scrolling once I add a couple of figures like below.

I suspect it's because I have millions of vector objects being rendered, which seems unnecessary for simple visualization. Is there a nice work-around for this?

enter image description here

$\endgroup$

marked as duplicate by Michael E2 plotting May 14 '17 at 19:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    $\begingroup$ You should post code not images of code. Also, have you seen Rasterize. $\endgroup$ – Edmund May 13 '17 at 21:33
  • 2
    $\begingroup$ Have you seen MaxPlotPoints? $\endgroup$ – Michael E2 May 13 '17 at 21:38
  • 4
    $\begingroup$ I often group and close cells that have rich graphics when scrolling, only opening the cells when necessary. $\endgroup$ – David G. Stork May 13 '17 at 21:45
  • 2
    $\begingroup$ Proposed duplicate: mathematica.stackexchange.com/q/140/121 $\endgroup$ – Mr.Wizard May 14 '17 at 8:31
  • $\begingroup$ OK, the collapsing tip seems to do the trick. A reusable contribution to the community could be a modified "ListLinePlot" which acts same args as ListLinePlot, but can handle large datasets without slowing down display too much $\endgroup$ – Yaroslav Bulatov May 14 '17 at 23:38