<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi,</div><div><br></div><div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>I produced the attached black and white map in R using following set of commands. <br></div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">par<span style="color: rgb(0, 21, 154); ">(</span>mfrow<span style="color: rgb(0, 21, 154); ">=</span>c<span style="color: rgb(0, 21, 154); ">(</span><span style="color: rgb(0, 82, 24); ">1</span><span style="color: rgb(0, 21, 154); ">,</span><span style="color: rgb(0, 82, 24); ">2</span><span style="color: rgb(0, 21, 154); ">))</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">plot<span style="color: rgb(0, 21, 154); ">(</span>Z.pop<span style="color: rgb(0, 21, 154); ">, </span>main<span style="color: rgb(0, 21, 154); "> = </span><span style="color: rgb(179, 14, 0); ">"Mp"</span><span style="color: rgb(0, 21, 154); ">,</span>col<span style="color: rgb(0, 21, 154); "> = </span>gray<span style="color: rgb(0, 21, 154); ">(</span>seq<span style="color: rgb(0, 21, 154); ">(</span><span style="color: rgb(0, 82, 24); ">0.0</span><span style="color: rgb(0, 21, 154); ">,</span><span style="color: rgb(0, 82, 24); ">1</span><span style="color: rgb(0, 21, 154); ">,</span><span style="color: rgb(0, 82, 24); ">0.01</span><span style="color: rgb(0, 21, 154); ">)))</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">contour<span style="color: rgb(0, 21, 154); ">(</span>sk.pop<span style="color: rgb(0, 21, 154); ">, </span>add<span style="color: rgb(0, 21, 154); ">=</span><span style="color: rgb(198, 136, 0); ">TRUE</span><span style="color: rgb(0, 21, 154); ">, </span>nlev<span style="color: rgb(0, 21, 154); "> = </span><span style="color: rgb(0, 82, 24); ">6</span><span style="color: rgb(0, 21, 154); ">, </span>col<span style="color: rgb(0, 21, 154); "> = </span>gray<span style="color: rgb(0, 21, 154); ">(</span><span style="color: rgb(0, 82, 24); ">1</span><span style="color: rgb(0, 21, 154); ">))</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">plot<span style="color: rgb(0, 21, 154); ">(</span>Z1.vmt<span style="color: rgb(0, 21, 154); ">, </span>main<span style="color: rgb(0, 21, 154); "> = </span><span style="color: rgb(179, 14, 0); ">"Mv"</span><span style="color: rgb(0, 21, 154); ">,</span>col<span style="color: rgb(0, 21, 154); "> = </span>gray<span style="color: rgb(0, 21, 154); ">(</span>seq<span style="color: rgb(0, 21, 154); ">(</span><span style="color: rgb(0, 82, 24); ">0.0</span><span style="color: rgb(0, 21, 154); ">,</span><span style="color: rgb(0, 82, 24); ">1</span><span style="color: rgb(0, 21, 154); ">,</span><span style="color: rgb(0, 82, 24); ">0.01</span><span style="color: rgb(0, 21, 154); ">)))</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">contour<span style="color: rgb(0, 21, 154); ">(</span>sk1.vmt<span style="color: rgb(0, 21, 154); ">, </span>add<span style="color: rgb(0, 21, 154); ">=</span><span style="color: rgb(198, 136, 0); ">TRUE</span><span style="color: rgb(0, 21, 154); ">, </span>nlev<span style="color: rgb(0, 21, 154); "> = </span><span style="color: rgb(0, 82, 24); ">6</span><span style="color: rgb(0, 21, 154); ">, </span>col<span style="color: rgb(0, 21, 154); "> = </span>gray<span style="color: rgb(0, 21, 154); ">(</span><span style="color: rgb(0, 82, 24); ">1</span><span style="color: rgb(0, 21, 154); ">))</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" color="#00159A"><br></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" color="#00159A">Z.pop<span style="color: rgb(0, 21, 154); "> <- </span>as.im<span style="color: rgb(0, 21, 154); ">(</span>stuff<span style="color: rgb(0, 21, 154); ">) </span>where stuff is a spatstat ppp file.</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" color="#00159A"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><br></div></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" color="#00159A"><br></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">The attached black and white pdf file shown here, which was saved in R, gives a black and light gray grid-like pattern that doesn't exist.</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">The attached map will not produce this image in Adode Acrobat Reader. It can be opened in Preview. </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">A black and white map looks great in R. These issues do not exist when "col = heat.color", etc. i.e. a color palette. In fact, Adode Acrobat Reader opens the file without a problem. It suggests to me that the black and white map is corrupted.</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">A method to solve this problem would be greatly appreciated.</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">Thanks</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">Paul</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div></div></div><div><br></div><div><br></div><br><div></div></body></html>