<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 12px; "><div style="font-family: 'Gill Sans', sans-serif; color: rgb(0, 0, 0); ">Hi there</div><div style="font-family: 'Gill Sans', sans-serif; color: rgb(0, 0, 0); "><br></div><div style="font-family: 'Gill Sans', sans-serif; color: rgb(0, 0, 0); ">I have found a very annoying thing going on, I am running Lion and using Pro Fit 6.2.7. When I try to close a window where I have drawn a contour plot without saving it first, Pro Fit dies.</div><div style="font-family: 'Gill Sans', sans-serif; color: rgb(0, 0, 0); ">I have included a small data file (that is simple a 6x6 matrix with values in the 1..4 range) and an even simpler code bite to create the plot</div><div style="font-family: 'Gill Sans', sans-serif; color: rgb(0, 0, 0); "><br></div><p style="font-family: 'Gill Sans', sans-serif; color: rgb(0, 0, 0); margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Monaco; "><span style="color: #00b046">SelectCell</span>(fromCol 6, toCol 1, fromRow 1, toRow 6);</p>
<div style="font-family: 'Gill Sans', sans-serif; color: rgb(0, 0, 0); "><span class="Apple-style-span" style="font-family: Monaco; font-size: 9px; "><span style="color: #00b046">PlotData</span>(xAxisColumn 0, yAxisColumn 0, zAxisColumn 0, window <span style="color: #00b046">FrontmostWindow</span>(<span style="color: #e57500">dataType</span>), autoX <span style="color: #e57500">True</span>, autoY <span style="color: #e57500">True</span>, xScaling <span style="color: #e57500">linScaling</span>, yScaling <span style="color: #e57500">linScaling</span>, <span style="color: #e57500">xAxis</span> 1, <span style="color: #e57500">yAxis</span> 1, <span style="color: #00b046">newWindow</span> <span style="color: #e57500">True</span>, newGraph <span style="color: #e57500">True</span>, selRowsOnly <span style="color: #e57500">True</span>, drawErrors <span style="color: #e57500">False</span>, connected <span style="color: #e57500">False</span>, plotType <span style="color: #e57500">matrixPlot</span>, interpolation <span style="color: #e57500">False</span>, colorScheme <span style="color: #797979">'blue-red-yellow'</span>, zFirst 1, zLast 4, zScl 0, autoZ <span style="color: #e57500">True</span>, drawColorPlot <span style="color: #e57500">True</span>, drawContourPlot <span style="color: #e57500">True</span>);</span></div><div style="font-family: 'Gill Sans', sans-serif; color: rgb(0, 0, 0); "><br></div><div style="font-family: 'Gill Sans', sans-serif; color: rgb(0, 0, 0); "><br></div><div style="color: rgb(0, 0, 0); "><font class="Apple-style-span" face="Monaco"><span class="Apple-style-span" style="font-family: 'Gill Sans'; "><div style="font-family: 'Gill Sans', sans-serif; color: rgb(0, 0, 0); ">After creating the plot I just need to close the window without saving and Pro Fit will crash (all the time). It sometimes crashes when trying to draw it.</div><div style="font-family: 'Gill Sans', sans-serif; color: rgb(0, 0, 0); ">Surprisingly, if I close the window saving it does not crash. Unfortunately my application disposes of windows without saving. I may be able to fix it temporarily. Even more surprisingly, it only seems to happen with calls to data z(tow, col) it works well.with function f(x,y) and with data z(x,y).</div><div style="font-family: 'Gill Sans', sans-serif; color: rgb(0, 0, 0); "><br></div><div style="font-family: 'Gill Sans', sans-serif; color: rgb(0, 0, 0); ">Regards</div><div style="font-family: 'Gill Sans', sans-serif; color: rgb(0, 0, 0); "><br></div><div style="font-family: 'Gill Sans', sans-serif; color: rgb(0, 0, 0); ">Luis</div></span></font></div><div style="font-family: 'Gill Sans', sans-serif; color: rgb(0, 0, 0); "></div></body></html>