Void CMy6Dlg: : OnBnClickedOk ()
{
//TODO: add the control notification handler code
CSeries my_series=(CSeries) chart. The Series (0);
CContourSeries my_contour=my_series. Get_asContour ();
for (int i=0; I & lt; 10; I++)
{
For (int j=0; J & lt; 10; J++)
{
Double val=I * j;
My_contour. AddXYZ (I, I * j, j, NULL, NULL);
}
}
}
After the running result is shown in figure:
Want to enlarge horizontal ordinate, then changed to my_contour AddXYZ (0.2 * I, I * j, 0.2 * j, NULL, NULL);
The results are as follows:
Why didn't the for points, the image details have sent so much for the great god help how to change ~ ~ ~ ~
CodePudding user response:
for (int i=0; I & lt; 10; I++){
For (int j=0; J & lt; 10; J++)
I j precision is not enough?
Try it, I +=0.1; J +=0.1
CodePudding user response:
https://www.baidu.com/s? Wd=Teechart + BB E6 B3 B9 E5 % % % % % % 91 & amp; Ie=utf-8CodePudding user response:
There's no way I've triedCodePudding user response:
There's no way I tried @ 2 floorCodePudding user response:
Get_asContour (); There is a problem?CodePudding user response:
Can you something about # 5CodePudding user response:
Z axis Contour is, I think there is something wrong with the z axis data?