File: sample.tex

package info (click to toggle)
dmrgpp 6.06-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 113,900 kB
  • sloc: cpp: 80,986; perl: 14,772; ansic: 2,923; makefile: 83; sh: 17
file content (36 lines) | stat: -rw-r--r-- 1,013 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
%\RequirePackage{luatex85}
\documentclass{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
\input{palette.tex}
\usepgfplotslibrary{colormaps}

\pgfplotsset{colormap={mypa}%
	{ color(0cm)=(white); color(1cm)=(myblue); color(2cm)=(myred)}}

\begin{document}
    \begin{tikzpicture}
        \begin{axis}[
            view={0}{90},   % not needed for `matrix plot*' variant
            xlabel=$q_x$,
            ylabel=Energy,
            colormap name = mypa,
            colorbar,
            colorbar style={
                title= ,
                yticklabel style={
                    /pgf/number format/.cd,
                    fixed,
                    precision=1,
                    fixed zerofill,
                },
            },
            title= ,
            enlargelimits=false,
            axis on top,
        ]
			\addplot [matrix plot*,point meta=explicit] table [meta index = {2}] {outSpectrum1.pgfplots};
        \end{axis}
    \end{tikzpicture}
\end{document}