I have quite a lot of 2d-data I would like to display in a 3d-plot, similar to the figure below (drawn in Python):
Until now I created those figures in pgfplots with addplot3, but for an increasing amount of data the compilation slows down significantly, until LaTeX runs out of memory. Of course I could create those figures in Python, for example, but with the drawback of either having to re-create the labels and ticks in tikz afterwards to match the font style of the document, or loose the scaling capability totally when keeping them in the figure. Tikzscale is a functionality I do not want to loose, especially after my document can either be two-column or single-column wide, and therefore I would prefer automatic rescaling of the figure.
Therefore, are there other (ideally similarly integrated as tikz) options for drawing such plots, but with improved speed?
[row predicate/.code={\ifodd#1\relax\else\pgfplotstableuserowfalse\fi}](page 43 of pgfplotstable manual). – John Kormylo Jun 25 '21 at 17:01knitrbecause then (1) you can integrate R language in LaTeX documents (,Rnw files), and (2) R can make nice 3D plot with huge amounts of data (example), and moreover (3)knitrhave the optioncache=TRUEso you can compile the .Rnw file many times but the R graph is only complied once if the R data are not changed. – Fran Jun 29 '21 at 08:00