Problem with displaying values from 1E-7 to 1?
Posted: Fri May 18, 2007 9:34 am
Hi there,
I have this Codesegment which is making my head spin:
http://img521.imageshack.us/img521/6902/wertehu2.png
Here are the values (cut off at the bottom).
x = getposition.left
z = getposition.top
y = localpotential
The Problem is, the surface is not displayed... The Axes are scaled the right way (although the format is not right yet).
I tried this code with exchanging:
getposition.left <-> l_i
getposition.top <-> l_j
There I had a result, so its no problem with the localPotential
thanks in advance,
HMI
I have this Codesegment which is making my head spin:
Code: Select all
for l_i := 0 to l_grid.GetRowCount - 1 do
begin
for l_j := 0 to l_grid.GetColumnCount - 1 do
begin
l_gridPoint := l_grid.GetGridPoint(l_i,l_j);
if l_gridPoint <> Nil then
begin
c_dataSurfSerie.AddXYZ(l_gridPoint.GetPosition.Left,l_gridPoint.LocalPotential, l_gridPoint.GetPosition.Top)
end
else
c_dataSurfSerie.AddXYZ(l_i,0,l_j);
end;
end;
Axes.Depth.Visible := true;
Axes.Depth.Logarithmic := true;
Axes.Depth.Automatic := true;
Axes.Bottom.Automatic := true;
Axes.Bottom.Logarithmic := true;
Here are the values (cut off at the bottom).
x = getposition.left
z = getposition.top
y = localpotential
The Problem is, the surface is not displayed... The Axes are scaled the right way (although the format is not right yet).
I tried this code with exchanging:
getposition.left <-> l_i
getposition.top <-> l_j
There I had a result, so its no problem with the localPotential
thanks in advance,
HMI