How to make this clickable matrix plot code use less memory?











up vote
0
down vote

favorite
1












I'm trying to plot a temperature map of certain shape. For fewer elements (less than 3000) I have no problem, but for too much elements (more than 250k) I can not produce the file. I get the error TeX capacity exceeded, sorry [token memory size=75830065]., and the process takes more than 10 minutes. I'm using LuaLaTeX.



Here is my current code



documentclass{standalone}
usepackage{pgfplots}
usepgfplotslibrary{clickable,colormaps}
pgfplotsset{
%colormap/hsv
colormap={hsv3}{
rgb255=(255,0,0)
rgb255=(127,255,0)
rgb255=(0,255,0)
rgb255=(0,127,255)
rgb255=(0,0,255)
rgb255=(127,0,255)
rgb255=(255,0,255)},
colormap name=hsv3,
annot/point format={(%d,%d)}
}
standaloneenv{tikzpicture}
begin{document}
begin{tikzpicture}
begin{axis}[
x=.15mm,y=.15mm,
ymin=-0.5,ymax=250.5,
xmin=-0.5,xmax=1000.5,
colorbar,
ticks=none
]
addplot[matrix plot, point meta=explicit,
clickable coords={(xy): thisrow{t}}
] table[x=x,y=y, meta=t]{temps001.dat};
end{axis}
end{tikzpicture}
end{document}


The temps001.dat has data of a 250x1000 matrix with about 40% of nan values. Here is part of my log



This is LuaTeX, Version 1.09.0 (MiKTeX 2.9.6880)  (format=lualatex 2018.11.17)  21 NOV 2018 01:55
restricted system commands enabled.
...

(G:/TeX/MikTeX/texmfs/install/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
scratchcounter=count133
scratchdimen=dimen174
scratchbox=box41
nofMPsegments=count134
nofMParguments=count135
everyMPshowfont=toks40
MPscratchCnt=count136
MPscratchDim=dimen175
MPnumerator=count137
makeMPintoPDFobject=count138
everyMPtoPDFconversion=toks41
) (G:/TeX/MikTeX/texmfs/install/tex/latex/oberdiek/epstopdf-base.sty
Package: epstopdf-base 2016/05/15 v2.6 Base part for package epstopdf

(G:/TeX/MikTeX/texmfs/install/tex/latex/oberdiek/grfext.sty
Package: grfext 2016/05/16 v1.2 Manage graphics extensions (HO)
)
Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 43
8.
Package grfext Info: Graphics extension search list:
(grfext) [.pdf,.png,.jpg,.mps,.jpeg,.jbig2,.jb2,.PDF,.PNG,.JPG,.JPEG
,.JBIG2,.JB2,.eps]
(grfext) AppendGraphicsExtensions on input line 456.
)
ABD: EveryShipout initializing macros

Package pgfplots Warning: running in backwards compatibility mode (unsuitable ti
ck labels; missing features). Consider writing pgfplotsset{compat=1.16} into yo
ur preamble.
on input line 18.

AtBeginShipoutBox=box42
Package hyperref Info: Link coloring OFF on input line 18.
(G:/TeX/MikTeX/texmfs/install/tex/latex/hyperref/nameref.sty
Package: nameref 2016/05/21 v2.44 Cross-referencing by name of section

(G:/TeX/MikTeX/texmfs/install/tex/generic/oberdiek/gettitlestring.sty
Package: gettitlestring 2016/05/16 v1.5 Cleanup title references (HO)
)
c@section@level=count139
)
LaTeX Info: Redefining ref on input line 18.
LaTeX Info: Redefining pageref on input line 18.
LaTeX Info: Redefining nameref on input line 18.

(./transcal001.out) (./transcal001.out)
@outlinefile=write5

openout5 = transcal001.out
LaTeX Font Info: Try loading font information for U+pzd on input line 18.

(G:/TeX/MikTeX/texmfs/install/tex/latex/psnfss/upzd.fd
File: upzd.fd 2001/06/04 font definitions for U/pzd.
){G:/TeX/MikTeX/texmfs/data/pdftex/config/pdftex.map} (./pgfplotsJS.djs
(G:/TeX/MikTeX/texmfs/install/tex/latex/acrotex/dljscc.def))
PGFPlots: reading {temps001.dat}

Runaway argument?
{ /U << /S/JavaScript/JS(axisMouseUp("clickableplot0", { axisType: "rETC.
! TeX capacity exceeded, sorry [token memory size=75830065].
<argument> ...xy): 109.71"],[1.4e1,6.0e0,"(xy): 109.92"]ETC.

l.30 end{axis}

If you really absolutely need more capacity,
you can ask a wizard to enlarge me.



Here is how much of LuaTeX's memory you used:
28509 strings out of 494324
8674235,75830065 words of node,token memory allocated 7127492 words of node memory still in use:
9 hlist, 2 rule, 6 dir, 56 glue, 3 kern, 1 glyph, 1018096 attribute, 52 glue_
spec, 1018096 attribute_list, 5 temp, 9 if_stack, 1 write, 1018061 pdf_literal,
3 pdf_refobj, 1 pdf_dest, 2 pdf_colorstack nodes
avail lists: 1:3,2:3,4:3,5:9,6:1,9:8,11:1
31804 multiletter control sequences out of 65536+200000
17 fonts using 653099 bytes
62i,6n,96p,746b,2421s stack positions out of 5000i,500n,10000p,200000b,500000s
! ==> Fatal error occurred, no output PDF file produced!


My computer has 8GB of ram, windows 7, core2quad. I alredy tried editing the lualatex.ini opened by initexmf --edit-config-file=pdflatex. It has:



main_memory=200000000000
pool_size=2000000000
save_size=2000000000
extra_mem_bot=2000000000
extra_mem_top=2000000000
font_mem_size=2000000000


A nice solution could be make only the not nan values clickable. Is it possible?










share|improve this question


















  • 6




    Please do not get mad at me, but who is going to click on 250k coordinates? What I want to say is that it might be worthwhile to question first how many coordinates one may really want to click in a given plot before trying to make changes to the library.
    – marmot
    6 hours ago















up vote
0
down vote

favorite
1












I'm trying to plot a temperature map of certain shape. For fewer elements (less than 3000) I have no problem, but for too much elements (more than 250k) I can not produce the file. I get the error TeX capacity exceeded, sorry [token memory size=75830065]., and the process takes more than 10 minutes. I'm using LuaLaTeX.



Here is my current code



documentclass{standalone}
usepackage{pgfplots}
usepgfplotslibrary{clickable,colormaps}
pgfplotsset{
%colormap/hsv
colormap={hsv3}{
rgb255=(255,0,0)
rgb255=(127,255,0)
rgb255=(0,255,0)
rgb255=(0,127,255)
rgb255=(0,0,255)
rgb255=(127,0,255)
rgb255=(255,0,255)},
colormap name=hsv3,
annot/point format={(%d,%d)}
}
standaloneenv{tikzpicture}
begin{document}
begin{tikzpicture}
begin{axis}[
x=.15mm,y=.15mm,
ymin=-0.5,ymax=250.5,
xmin=-0.5,xmax=1000.5,
colorbar,
ticks=none
]
addplot[matrix plot, point meta=explicit,
clickable coords={(xy): thisrow{t}}
] table[x=x,y=y, meta=t]{temps001.dat};
end{axis}
end{tikzpicture}
end{document}


The temps001.dat has data of a 250x1000 matrix with about 40% of nan values. Here is part of my log



This is LuaTeX, Version 1.09.0 (MiKTeX 2.9.6880)  (format=lualatex 2018.11.17)  21 NOV 2018 01:55
restricted system commands enabled.
...

(G:/TeX/MikTeX/texmfs/install/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
scratchcounter=count133
scratchdimen=dimen174
scratchbox=box41
nofMPsegments=count134
nofMParguments=count135
everyMPshowfont=toks40
MPscratchCnt=count136
MPscratchDim=dimen175
MPnumerator=count137
makeMPintoPDFobject=count138
everyMPtoPDFconversion=toks41
) (G:/TeX/MikTeX/texmfs/install/tex/latex/oberdiek/epstopdf-base.sty
Package: epstopdf-base 2016/05/15 v2.6 Base part for package epstopdf

(G:/TeX/MikTeX/texmfs/install/tex/latex/oberdiek/grfext.sty
Package: grfext 2016/05/16 v1.2 Manage graphics extensions (HO)
)
Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 43
8.
Package grfext Info: Graphics extension search list:
(grfext) [.pdf,.png,.jpg,.mps,.jpeg,.jbig2,.jb2,.PDF,.PNG,.JPG,.JPEG
,.JBIG2,.JB2,.eps]
(grfext) AppendGraphicsExtensions on input line 456.
)
ABD: EveryShipout initializing macros

Package pgfplots Warning: running in backwards compatibility mode (unsuitable ti
ck labels; missing features). Consider writing pgfplotsset{compat=1.16} into yo
ur preamble.
on input line 18.

AtBeginShipoutBox=box42
Package hyperref Info: Link coloring OFF on input line 18.
(G:/TeX/MikTeX/texmfs/install/tex/latex/hyperref/nameref.sty
Package: nameref 2016/05/21 v2.44 Cross-referencing by name of section

(G:/TeX/MikTeX/texmfs/install/tex/generic/oberdiek/gettitlestring.sty
Package: gettitlestring 2016/05/16 v1.5 Cleanup title references (HO)
)
c@section@level=count139
)
LaTeX Info: Redefining ref on input line 18.
LaTeX Info: Redefining pageref on input line 18.
LaTeX Info: Redefining nameref on input line 18.

(./transcal001.out) (./transcal001.out)
@outlinefile=write5

openout5 = transcal001.out
LaTeX Font Info: Try loading font information for U+pzd on input line 18.

(G:/TeX/MikTeX/texmfs/install/tex/latex/psnfss/upzd.fd
File: upzd.fd 2001/06/04 font definitions for U/pzd.
){G:/TeX/MikTeX/texmfs/data/pdftex/config/pdftex.map} (./pgfplotsJS.djs
(G:/TeX/MikTeX/texmfs/install/tex/latex/acrotex/dljscc.def))
PGFPlots: reading {temps001.dat}

Runaway argument?
{ /U << /S/JavaScript/JS(axisMouseUp("clickableplot0", { axisType: "rETC.
! TeX capacity exceeded, sorry [token memory size=75830065].
<argument> ...xy): 109.71"],[1.4e1,6.0e0,"(xy): 109.92"]ETC.

l.30 end{axis}

If you really absolutely need more capacity,
you can ask a wizard to enlarge me.



Here is how much of LuaTeX's memory you used:
28509 strings out of 494324
8674235,75830065 words of node,token memory allocated 7127492 words of node memory still in use:
9 hlist, 2 rule, 6 dir, 56 glue, 3 kern, 1 glyph, 1018096 attribute, 52 glue_
spec, 1018096 attribute_list, 5 temp, 9 if_stack, 1 write, 1018061 pdf_literal,
3 pdf_refobj, 1 pdf_dest, 2 pdf_colorstack nodes
avail lists: 1:3,2:3,4:3,5:9,6:1,9:8,11:1
31804 multiletter control sequences out of 65536+200000
17 fonts using 653099 bytes
62i,6n,96p,746b,2421s stack positions out of 5000i,500n,10000p,200000b,500000s
! ==> Fatal error occurred, no output PDF file produced!


My computer has 8GB of ram, windows 7, core2quad. I alredy tried editing the lualatex.ini opened by initexmf --edit-config-file=pdflatex. It has:



main_memory=200000000000
pool_size=2000000000
save_size=2000000000
extra_mem_bot=2000000000
extra_mem_top=2000000000
font_mem_size=2000000000


A nice solution could be make only the not nan values clickable. Is it possible?










share|improve this question


















  • 6




    Please do not get mad at me, but who is going to click on 250k coordinates? What I want to say is that it might be worthwhile to question first how many coordinates one may really want to click in a given plot before trying to make changes to the library.
    – marmot
    6 hours ago













up vote
0
down vote

favorite
1









up vote
0
down vote

favorite
1






1





I'm trying to plot a temperature map of certain shape. For fewer elements (less than 3000) I have no problem, but for too much elements (more than 250k) I can not produce the file. I get the error TeX capacity exceeded, sorry [token memory size=75830065]., and the process takes more than 10 minutes. I'm using LuaLaTeX.



Here is my current code



documentclass{standalone}
usepackage{pgfplots}
usepgfplotslibrary{clickable,colormaps}
pgfplotsset{
%colormap/hsv
colormap={hsv3}{
rgb255=(255,0,0)
rgb255=(127,255,0)
rgb255=(0,255,0)
rgb255=(0,127,255)
rgb255=(0,0,255)
rgb255=(127,0,255)
rgb255=(255,0,255)},
colormap name=hsv3,
annot/point format={(%d,%d)}
}
standaloneenv{tikzpicture}
begin{document}
begin{tikzpicture}
begin{axis}[
x=.15mm,y=.15mm,
ymin=-0.5,ymax=250.5,
xmin=-0.5,xmax=1000.5,
colorbar,
ticks=none
]
addplot[matrix plot, point meta=explicit,
clickable coords={(xy): thisrow{t}}
] table[x=x,y=y, meta=t]{temps001.dat};
end{axis}
end{tikzpicture}
end{document}


The temps001.dat has data of a 250x1000 matrix with about 40% of nan values. Here is part of my log



This is LuaTeX, Version 1.09.0 (MiKTeX 2.9.6880)  (format=lualatex 2018.11.17)  21 NOV 2018 01:55
restricted system commands enabled.
...

(G:/TeX/MikTeX/texmfs/install/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
scratchcounter=count133
scratchdimen=dimen174
scratchbox=box41
nofMPsegments=count134
nofMParguments=count135
everyMPshowfont=toks40
MPscratchCnt=count136
MPscratchDim=dimen175
MPnumerator=count137
makeMPintoPDFobject=count138
everyMPtoPDFconversion=toks41
) (G:/TeX/MikTeX/texmfs/install/tex/latex/oberdiek/epstopdf-base.sty
Package: epstopdf-base 2016/05/15 v2.6 Base part for package epstopdf

(G:/TeX/MikTeX/texmfs/install/tex/latex/oberdiek/grfext.sty
Package: grfext 2016/05/16 v1.2 Manage graphics extensions (HO)
)
Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 43
8.
Package grfext Info: Graphics extension search list:
(grfext) [.pdf,.png,.jpg,.mps,.jpeg,.jbig2,.jb2,.PDF,.PNG,.JPG,.JPEG
,.JBIG2,.JB2,.eps]
(grfext) AppendGraphicsExtensions on input line 456.
)
ABD: EveryShipout initializing macros

Package pgfplots Warning: running in backwards compatibility mode (unsuitable ti
ck labels; missing features). Consider writing pgfplotsset{compat=1.16} into yo
ur preamble.
on input line 18.

AtBeginShipoutBox=box42
Package hyperref Info: Link coloring OFF on input line 18.
(G:/TeX/MikTeX/texmfs/install/tex/latex/hyperref/nameref.sty
Package: nameref 2016/05/21 v2.44 Cross-referencing by name of section

(G:/TeX/MikTeX/texmfs/install/tex/generic/oberdiek/gettitlestring.sty
Package: gettitlestring 2016/05/16 v1.5 Cleanup title references (HO)
)
c@section@level=count139
)
LaTeX Info: Redefining ref on input line 18.
LaTeX Info: Redefining pageref on input line 18.
LaTeX Info: Redefining nameref on input line 18.

(./transcal001.out) (./transcal001.out)
@outlinefile=write5

openout5 = transcal001.out
LaTeX Font Info: Try loading font information for U+pzd on input line 18.

(G:/TeX/MikTeX/texmfs/install/tex/latex/psnfss/upzd.fd
File: upzd.fd 2001/06/04 font definitions for U/pzd.
){G:/TeX/MikTeX/texmfs/data/pdftex/config/pdftex.map} (./pgfplotsJS.djs
(G:/TeX/MikTeX/texmfs/install/tex/latex/acrotex/dljscc.def))
PGFPlots: reading {temps001.dat}

Runaway argument?
{ /U << /S/JavaScript/JS(axisMouseUp("clickableplot0", { axisType: "rETC.
! TeX capacity exceeded, sorry [token memory size=75830065].
<argument> ...xy): 109.71"],[1.4e1,6.0e0,"(xy): 109.92"]ETC.

l.30 end{axis}

If you really absolutely need more capacity,
you can ask a wizard to enlarge me.



Here is how much of LuaTeX's memory you used:
28509 strings out of 494324
8674235,75830065 words of node,token memory allocated 7127492 words of node memory still in use:
9 hlist, 2 rule, 6 dir, 56 glue, 3 kern, 1 glyph, 1018096 attribute, 52 glue_
spec, 1018096 attribute_list, 5 temp, 9 if_stack, 1 write, 1018061 pdf_literal,
3 pdf_refobj, 1 pdf_dest, 2 pdf_colorstack nodes
avail lists: 1:3,2:3,4:3,5:9,6:1,9:8,11:1
31804 multiletter control sequences out of 65536+200000
17 fonts using 653099 bytes
62i,6n,96p,746b,2421s stack positions out of 5000i,500n,10000p,200000b,500000s
! ==> Fatal error occurred, no output PDF file produced!


My computer has 8GB of ram, windows 7, core2quad. I alredy tried editing the lualatex.ini opened by initexmf --edit-config-file=pdflatex. It has:



main_memory=200000000000
pool_size=2000000000
save_size=2000000000
extra_mem_bot=2000000000
extra_mem_top=2000000000
font_mem_size=2000000000


A nice solution could be make only the not nan values clickable. Is it possible?










share|improve this question













I'm trying to plot a temperature map of certain shape. For fewer elements (less than 3000) I have no problem, but for too much elements (more than 250k) I can not produce the file. I get the error TeX capacity exceeded, sorry [token memory size=75830065]., and the process takes more than 10 minutes. I'm using LuaLaTeX.



Here is my current code



documentclass{standalone}
usepackage{pgfplots}
usepgfplotslibrary{clickable,colormaps}
pgfplotsset{
%colormap/hsv
colormap={hsv3}{
rgb255=(255,0,0)
rgb255=(127,255,0)
rgb255=(0,255,0)
rgb255=(0,127,255)
rgb255=(0,0,255)
rgb255=(127,0,255)
rgb255=(255,0,255)},
colormap name=hsv3,
annot/point format={(%d,%d)}
}
standaloneenv{tikzpicture}
begin{document}
begin{tikzpicture}
begin{axis}[
x=.15mm,y=.15mm,
ymin=-0.5,ymax=250.5,
xmin=-0.5,xmax=1000.5,
colorbar,
ticks=none
]
addplot[matrix plot, point meta=explicit,
clickable coords={(xy): thisrow{t}}
] table[x=x,y=y, meta=t]{temps001.dat};
end{axis}
end{tikzpicture}
end{document}


The temps001.dat has data of a 250x1000 matrix with about 40% of nan values. Here is part of my log



This is LuaTeX, Version 1.09.0 (MiKTeX 2.9.6880)  (format=lualatex 2018.11.17)  21 NOV 2018 01:55
restricted system commands enabled.
...

(G:/TeX/MikTeX/texmfs/install/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
scratchcounter=count133
scratchdimen=dimen174
scratchbox=box41
nofMPsegments=count134
nofMParguments=count135
everyMPshowfont=toks40
MPscratchCnt=count136
MPscratchDim=dimen175
MPnumerator=count137
makeMPintoPDFobject=count138
everyMPtoPDFconversion=toks41
) (G:/TeX/MikTeX/texmfs/install/tex/latex/oberdiek/epstopdf-base.sty
Package: epstopdf-base 2016/05/15 v2.6 Base part for package epstopdf

(G:/TeX/MikTeX/texmfs/install/tex/latex/oberdiek/grfext.sty
Package: grfext 2016/05/16 v1.2 Manage graphics extensions (HO)
)
Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 43
8.
Package grfext Info: Graphics extension search list:
(grfext) [.pdf,.png,.jpg,.mps,.jpeg,.jbig2,.jb2,.PDF,.PNG,.JPG,.JPEG
,.JBIG2,.JB2,.eps]
(grfext) AppendGraphicsExtensions on input line 456.
)
ABD: EveryShipout initializing macros

Package pgfplots Warning: running in backwards compatibility mode (unsuitable ti
ck labels; missing features). Consider writing pgfplotsset{compat=1.16} into yo
ur preamble.
on input line 18.

AtBeginShipoutBox=box42
Package hyperref Info: Link coloring OFF on input line 18.
(G:/TeX/MikTeX/texmfs/install/tex/latex/hyperref/nameref.sty
Package: nameref 2016/05/21 v2.44 Cross-referencing by name of section

(G:/TeX/MikTeX/texmfs/install/tex/generic/oberdiek/gettitlestring.sty
Package: gettitlestring 2016/05/16 v1.5 Cleanup title references (HO)
)
c@section@level=count139
)
LaTeX Info: Redefining ref on input line 18.
LaTeX Info: Redefining pageref on input line 18.
LaTeX Info: Redefining nameref on input line 18.

(./transcal001.out) (./transcal001.out)
@outlinefile=write5

openout5 = transcal001.out
LaTeX Font Info: Try loading font information for U+pzd on input line 18.

(G:/TeX/MikTeX/texmfs/install/tex/latex/psnfss/upzd.fd
File: upzd.fd 2001/06/04 font definitions for U/pzd.
){G:/TeX/MikTeX/texmfs/data/pdftex/config/pdftex.map} (./pgfplotsJS.djs
(G:/TeX/MikTeX/texmfs/install/tex/latex/acrotex/dljscc.def))
PGFPlots: reading {temps001.dat}

Runaway argument?
{ /U << /S/JavaScript/JS(axisMouseUp("clickableplot0", { axisType: "rETC.
! TeX capacity exceeded, sorry [token memory size=75830065].
<argument> ...xy): 109.71"],[1.4e1,6.0e0,"(xy): 109.92"]ETC.

l.30 end{axis}

If you really absolutely need more capacity,
you can ask a wizard to enlarge me.



Here is how much of LuaTeX's memory you used:
28509 strings out of 494324
8674235,75830065 words of node,token memory allocated 7127492 words of node memory still in use:
9 hlist, 2 rule, 6 dir, 56 glue, 3 kern, 1 glyph, 1018096 attribute, 52 glue_
spec, 1018096 attribute_list, 5 temp, 9 if_stack, 1 write, 1018061 pdf_literal,
3 pdf_refobj, 1 pdf_dest, 2 pdf_colorstack nodes
avail lists: 1:3,2:3,4:3,5:9,6:1,9:8,11:1
31804 multiletter control sequences out of 65536+200000
17 fonts using 653099 bytes
62i,6n,96p,746b,2421s stack positions out of 5000i,500n,10000p,200000b,500000s
! ==> Fatal error occurred, no output PDF file produced!


My computer has 8GB of ram, windows 7, core2quad. I alredy tried editing the lualatex.ini opened by initexmf --edit-config-file=pdflatex. It has:



main_memory=200000000000
pool_size=2000000000
save_size=2000000000
extra_mem_bot=2000000000
extra_mem_top=2000000000
font_mem_size=2000000000


A nice solution could be make only the not nan values clickable. Is it possible?







pgfplots






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 6 hours ago









geekformoney

366111




366111








  • 6




    Please do not get mad at me, but who is going to click on 250k coordinates? What I want to say is that it might be worthwhile to question first how many coordinates one may really want to click in a given plot before trying to make changes to the library.
    – marmot
    6 hours ago














  • 6




    Please do not get mad at me, but who is going to click on 250k coordinates? What I want to say is that it might be worthwhile to question first how many coordinates one may really want to click in a given plot before trying to make changes to the library.
    – marmot
    6 hours ago








6




6




Please do not get mad at me, but who is going to click on 250k coordinates? What I want to say is that it might be worthwhile to question first how many coordinates one may really want to click in a given plot before trying to make changes to the library.
– marmot
6 hours ago




Please do not get mad at me, but who is going to click on 250k coordinates? What I want to say is that it might be worthwhile to question first how many coordinates one may really want to click in a given plot before trying to make changes to the library.
– marmot
6 hours ago















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f461059%2fhow-to-make-this-clickable-matrix-plot-code-use-less-memory%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f461059%2fhow-to-make-this-clickable-matrix-plot-code-use-less-memory%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

Calculate evaluation metrics using cross_val_predict sklearn

Insert data from modal to MySQL (multiple modal on website)