<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Louis, you forgot to attach the data file you mentioned. I tried with a fantasy file here, but it didn't crash. Can you send yours?<div><br></div><div>But please just send it to <a href="mailto:profit@quansoft.com">profit@quansoft.com</a>, we don't want to overload the list with attachments.</div><div><br><div><div>On Mar 27, 2012, at 5:05 AM, Luis Sisamon wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div 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><div 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);</div>
<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></div>
<span><test data plot crash></span>_______________________________________________<br>proFit-list mailing list<br><a href="mailto:proFit-list@quantum-soft.com">proFit-list@quantum-soft.com</a><br>http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com<br></blockquote></div><br></div><br><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">pro Fit support<br><a href="mailto:profit@quansoft.com">profit@quansoft.com</a><br><br><br><br></span>
</div>
<br></body></html>