Code: Select all
\documentclass{article}
\usepackage[landscape]{geometry}
\usepackage{tikz}
\usepackage{pgfplots}
\usetikzlibrary{plotmarks}
\usepackage{verbatim}
\usepackage{xcolor}
\usetikzlibrary{datavisualization}
\usepackage[active,tightpage, floats]{preview}
\usepackage{mathspec}
\usepackage{fontspec}
\newcommand*{\myfont}{OfficinaSerifC}%{Times New Roman} {Constantia}
\setmainfont{\myfont}[Ligatures=TeX]
\setsansfont{\myfont}[Scale=0.975]
\setmonofont{\myfont}
\setmathfont(Digits){\myfont}
\setlength\PreviewBorder{50pt}%
\begin{document}
\colorlet{colorForBorder}{gray!10}
\newcommand{\LineWidth}{thick}
\pagecolor{colorForBorder}
\begin{tikzpicture}[scale=1]
\filldraw [fill=red!50, draw=colorForBorder, very thin] plot[] file {USA_8434.txt};
\filldraw [fill=red!50, draw=colorForBorder, very thin] plot[] file {USA_4286.txt};
\end{tikzpicture}
\end{document}
Data files http://dropmefiles.com/qlqZ3
Compiler is XeLaTex (for use fonts).
How fix it?