1

I'm trying to plot a heat map with this data. I expected to create a heat map like the one given in the answer of this. (Although my plot will be only a quarter of it 0 to 90 degrees). But when I run my code all I get is this picture.enter image description here

What am I doing wrong? I thought that the code will interpolate the data in-between.

Here is my MWE

\documentclass[border=10pt]{standalone}
\usepackage{pgfplots}
\usepackage{xcolor}

\pgfplotsset{compat=newest}

\begin{document}
\begin{tikzpicture}
\begin{axis}[
    colormap/jet,
    colorbar,
    view={0}{90}]
    \addplot3[surf,shader=flat] file {TEMP_dummy.dat};
\end{axis}
\end{tikzpicture}
\end{document} 

How do I sort this problem?

0 Answers0