Iso-Surface again
Posted: Wed Jun 25, 2008 12:09 pm
Thanks for your answer :
Ad 1. It is the problem :
in version 7.0 it worked ok
const
ColorPalette: array [00..15] of TColor =
(
$000000, $ff0000, $ff8000, $ffc000,
$ffff00, $c0ff00, $80ff00, $00ff00,
$00ff80, $00ffff, $00dfff, $00c0ff,
$00a0ff, $0080ff, $0060ff, $0000ff
);.
.
.
.
with Series1 do begin
ClearPalette;
PaletteStyle := psCustom;
Active := TRUE;
Clear;
UsePalette := TRUE;
UseColorRange := False;
for I := 0 to 15 do begin
AddPalette(20 + 5 * I, ColorPalette );
end;
end;
In version 8.0 there is an error;
Ad. 2 I want to uses Iso-surface as flat "map". (Viev3D = FALSE)
In this case I cannot paint the surface with
LeftAxis.Automatic := TRUE;
BottomAxis.Automatic := TRUE;
I have many tables like this below :
HOURS
71.0 72.0 68.0 66.0 64.0 70.0 74.0 65.0 71.0 67.0 73.0 75.0 73.0 76.0 71.0 69.0 72.0 79.0 72.0 68.0 69.0 73.0 70.0 73.0
M 83.0 74.0 81.0 69.0 69.0 73.0 73.0 72.0 72.0 80.0 80.0 72.0 74.0 73.0 77.0 78.0 77.0 83.0 70.0 81.0 69.0 74.0 84.0 77.0
O 65.0 70.0 71.0 77.0 77.0 78.0 79.0 68.0 66.0 68.0 69.0 69.0 68.0 69.0 68.0 67.0 74.0 77.0 80.0 80.0 77.0 67.0 64.0 66.0
N 66.0 75.0 61.0 73.0 66.0 70.0 68.0 72.0 61.0 54.0 54.0 62.0 64.0 57.0 60.0 63.0 52.0 71.0 58.0 59.0 61.0 50.0 57.0 69.0
T 49.0 44.0 53.0 54.0 51.0 56.0 56.0 49.0 37.0 43.0 45.0 51.0 45.0 47.0 46.0 52.0 49.0 47.0 58.0 49.0 49.0 44.0 57.0 53.0
H 55.0 56.0 51.0 81.0 71.0 69.0 73.0 60.0 45.0 45.0 45.0 48.0 54.0 49.0 56.0 53.0 50.0 61.0 64.0 50.0 48.0 65.0 47.0 45.0
S 74.0 72.0 69.0 62.0 53.0 57.0 55.0 49.0 36.0 37.0 45.0 53.0 59.0 49.0 48.0 48.0 44.0 45.0 40.0 44.0 44.0 48.0 43.0 54.0
56.0 54.0 62.0 51.0 51.0 56.0 58.0 53.0 63.0 47.0 43.0 39.0 47.0 54.0 45.0 49.0 50.0 51.0 64.0 58.0 68.0 59.0 60.0 54.0
77.0 76.0 78.0 72.0 75.0 76.0 75.0 74.0 68.0 65.0 61.0 58.0 61.0 63.0 66.0 71.0 70.0 72.0 69.0 71.0 65.0 77.0 80.0 71.0
80.0 79.0 86.0 80.0 83.0 87.0 87.0 85.0 86.0 72.0 74.0 70.0 65.0 69.0 69.0 77.0 79.0 88.0 84.0 81.0 79.0 82.0 87.0 81.0
74.0 74.0 77.0 81.0 73.0 70.0 76.0 75.0 74.0 78.0 78.0 78.0 77.0 75.0 69.0 73.0 74.0 68.0 79.0 70.0 74.0 77.0 75.0 77.0
74.0 67.0 72.0 71.0 72.0 75.0 74.0 80.0 72.0 76.0 81.0 77.0 79.0 77.0 84.0 82.0 81.0 84.0 72.0 74.0 73.0 75.0 75.0 71.0
What am I to set in this case to make it work ?
I tried to change X Axis labels from numbers to month names, but procedure
Series1.AddXYX (H, Val, M, MONTHS [M], clBlack) did not change anything.
May be I forgotten about something ?
Janusz
Ad 1. It is the problem :
in version 7.0 it worked ok
const
ColorPalette: array [00..15] of TColor =
(
$000000, $ff0000, $ff8000, $ffc000,
$ffff00, $c0ff00, $80ff00, $00ff00,
$00ff80, $00ffff, $00dfff, $00c0ff,
$00a0ff, $0080ff, $0060ff, $0000ff
);.
.
.
.
with Series1 do begin
ClearPalette;
PaletteStyle := psCustom;
Active := TRUE;
Clear;
UsePalette := TRUE;
UseColorRange := False;
for I := 0 to 15 do begin
AddPalette(20 + 5 * I, ColorPalette );
end;
end;
In version 8.0 there is an error;
Ad. 2 I want to uses Iso-surface as flat "map". (Viev3D = FALSE)
In this case I cannot paint the surface with
LeftAxis.Automatic := TRUE;
BottomAxis.Automatic := TRUE;
I have many tables like this below :
HOURS
71.0 72.0 68.0 66.0 64.0 70.0 74.0 65.0 71.0 67.0 73.0 75.0 73.0 76.0 71.0 69.0 72.0 79.0 72.0 68.0 69.0 73.0 70.0 73.0
M 83.0 74.0 81.0 69.0 69.0 73.0 73.0 72.0 72.0 80.0 80.0 72.0 74.0 73.0 77.0 78.0 77.0 83.0 70.0 81.0 69.0 74.0 84.0 77.0
O 65.0 70.0 71.0 77.0 77.0 78.0 79.0 68.0 66.0 68.0 69.0 69.0 68.0 69.0 68.0 67.0 74.0 77.0 80.0 80.0 77.0 67.0 64.0 66.0
N 66.0 75.0 61.0 73.0 66.0 70.0 68.0 72.0 61.0 54.0 54.0 62.0 64.0 57.0 60.0 63.0 52.0 71.0 58.0 59.0 61.0 50.0 57.0 69.0
T 49.0 44.0 53.0 54.0 51.0 56.0 56.0 49.0 37.0 43.0 45.0 51.0 45.0 47.0 46.0 52.0 49.0 47.0 58.0 49.0 49.0 44.0 57.0 53.0
H 55.0 56.0 51.0 81.0 71.0 69.0 73.0 60.0 45.0 45.0 45.0 48.0 54.0 49.0 56.0 53.0 50.0 61.0 64.0 50.0 48.0 65.0 47.0 45.0
S 74.0 72.0 69.0 62.0 53.0 57.0 55.0 49.0 36.0 37.0 45.0 53.0 59.0 49.0 48.0 48.0 44.0 45.0 40.0 44.0 44.0 48.0 43.0 54.0
56.0 54.0 62.0 51.0 51.0 56.0 58.0 53.0 63.0 47.0 43.0 39.0 47.0 54.0 45.0 49.0 50.0 51.0 64.0 58.0 68.0 59.0 60.0 54.0
77.0 76.0 78.0 72.0 75.0 76.0 75.0 74.0 68.0 65.0 61.0 58.0 61.0 63.0 66.0 71.0 70.0 72.0 69.0 71.0 65.0 77.0 80.0 71.0
80.0 79.0 86.0 80.0 83.0 87.0 87.0 85.0 86.0 72.0 74.0 70.0 65.0 69.0 69.0 77.0 79.0 88.0 84.0 81.0 79.0 82.0 87.0 81.0
74.0 74.0 77.0 81.0 73.0 70.0 76.0 75.0 74.0 78.0 78.0 78.0 77.0 75.0 69.0 73.0 74.0 68.0 79.0 70.0 74.0 77.0 75.0 77.0
74.0 67.0 72.0 71.0 72.0 75.0 74.0 80.0 72.0 76.0 81.0 77.0 79.0 77.0 84.0 82.0 81.0 84.0 72.0 74.0 73.0 75.0 75.0 71.0
What am I to set in this case to make it work ?
I tried to change X Axis labels from numbers to month names, but procedure
Series1.AddXYX (H, Val, M, MONTHS [M], clBlack) did not change anything.
May be I forgotten about something ?
Janusz