Page 1 of 1

How to draw a vertical plane like X=10 or Z=50 ?

Posted: Fri Jun 13, 2014 9:42 am
by 16566563
Hello,


I 'm looking for a way to draw a vertical plane for example X=10, Z=100 etc. with a TSurfaceSeries, but this seems to be impossible because TSurfaceSeries doesn't draw anything if I add multiple points with same x value and different y and z values:

The code below should draw a plane with the equation: X=50 in the y/z range 0..255

Code: Select all

AddXYZ(50,255, 0);
AddXYZ(50, 0, 255);
AddXYZ(50, 0, 0);
AddXYZ(50, 255, 255);
..but it doesn't draw anything!

Is there a way to draw such a plane with minimal number of points to add using any other series-type ?

Regards,

Klaus

Re: How to draw a vertical plane like X=10 or Z=50 ?

Posted: Fri Jun 13, 2014 2:26 pm
by yeray
Hello Klaus,

The easiest way I can think on right now would be changing some of the 50 values for something else (like ie 50.01):

Code: Select all

  with Series1 do
  begin
    IrregularGrid:=true;

    AddXYZ(50,255, 0);
    AddXYZ(50.01, 0, 255);
    AddXYZ(50.01, 0, 0);
    AddXYZ(50, 255, 255);
  end;