<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hello,<div><br></div><div>I have a program written in C++ that reads in multiple data files and processes data.</div><div>At the end of the processing I am trying to produce a plot of an approximately 300 x 350 lattice of sites.</div><div><br></div><div>I ran several tests and was able to generate a plot.</div><div><br></div><div>I then moved the plotting routine to a later part of the program (after many calculations are performed).</div><div>Initially I was able to generate a plot, but my calculations were off.</div><div><br></div><div>Once I fixed the calculations the plotting is no longer working.</div><div><br></div><div>The C++ code first creates a named matrix of double that contains all the data to be plotted.</div><div>Then it runs a sciilab script that actually generates the plot.</div><div><br></div><div>When the script executes it is generating the graphics window with the axes but instead of giving me a plot of the data I am getting:</div><div>FecFacetDrawerJoGL::drawFec: No more memory</div><div><br></div><div><br></div><div>I have tried increasing the stacksize by including the command "stacksize("max") at the start of my script but the error is still occurring.</div><div><br></div><div><br></div><div>Here is the script that my C++ code calls:</div><div><br></div><div><div>stacksize("max");</div><div>X = [1:349];</div><div>Y = [1:287];</div><div><span style="font-size: 10pt;">disp("executing Scilab script")</span></div><div><span style="font-size: 10pt;">f=scf(0);</span></div><div><span style="font-size: 10pt;">f.color_map = jetcolormap(50);</span></div><div><span style="font-size: 10pt;">Sgrayplot(Y,X,d);</span></div><div><span style="font-size: 10pt;">disp("Done");</span></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><span style="font-size: 10pt;">Any help would be greatly appreciated.</span></div></div><div><br></div><div>Byron </div> </div></body>
</html>