# plot not showing legend when used in Miktex

A have density plot in Mathematica as

  ShowLegend[
DensityPlot[Sin[x y], {x, 0, \[Pi]}, {y, 0, \[Pi]}, Mesh -> False,
PlotPoints -> 30], {ColorData["LakeColors"][1 - #1] &, 10, " 1",
"-1", LegendPosition -> {1.1, -.4}}]


and corresponding plot is

When I save this plot as .eps and want to use in Miktex as

\documentclass[a4paper,pra,preprint]{revtex4}

\usepackage{pstool}
\usepackage{mathptmx}
\usepackage{newtxmath}
\usepackage{epstopdf}
\begin{document}
{\includegraphics[width=0.45\textwidth]{ttc.eps}}
\end{document}


Then after generating .pdf I get the following kind of plot

As it is clear from figure, there is missing legend "1". I have no idea, what is going on and how to fix it.

• Are you able to provide the eps file? – Peter Ebelsberger Apr 28 '15 at 17:07
• Did you try making a PDF file directly with the epstopdf command line tool? Do you get the same missing "1"? – Thruston Apr 28 '15 at 17:10
• You also can try the excellent epspdf utility, which has a Windows graphical interface and an installer, available from CTAN – Bernard Apr 28 '15 at 19:14
• using CTAN helped, but why in Miktex it is giving such kind of result – zenith Apr 29 '15 at 9:14
• You can't, you have to upload it to Dropbox or some other file sharing service. – Torbjørn T. Jul 2 '15 at 7:41

\includegraphics[width=0.45\textwidth]{ttc.pdf}