Problem with filled 2D contours
Posted: Tue May 27, 2008 11:38 am
HI
I have a problem with a 2D filled Contour plots.
Just placing a chart with a 2D contour series and using the code below:
Series1->IrregularGrid = true;
Series1->Brush->Style = bsSolid;
for (int i=0;i<10;i++)
{
for (int j=0;j<25;j++)
Series1->AddXYZ(i,i*j-random(0.5*i*j),j);
}
This gives contours which are not filled correctly (e.g. filled area outside contour lines and areas with white triangles). If I just use AddXYZ (i,i*j,j); the contour is drawn perfectly.
Any help will be appriciated, Jørgen
I have a problem with a 2D filled Contour plots.
Just placing a chart with a 2D contour series and using the code below:
Series1->IrregularGrid = true;
Series1->Brush->Style = bsSolid;
for (int i=0;i<10;i++)
{
for (int j=0;j<25;j++)
Series1->AddXYZ(i,i*j-random(0.5*i*j),j);
}
This gives contours which are not filled correctly (e.g. filled area outside contour lines and areas with white triangles). If I just use AddXYZ (i,i*j,j); the contour is drawn perfectly.
Any help will be appriciated, Jørgen