Page 1 of 1

How to plot lines in 3D (with XYZ axes ?)

Posted: Tue Jan 25, 2005 9:55 am
by 8121028
Hi,

I need to plot lines in REAL 3D. My trend uses 3 axes (XYZ). I have 3 coordinates for each point.

Thanks for your help,

H. MAILLARD

Posted: Tue Jan 25, 2005 10:00 am
by Marjan
Hi.

You could try using the points3D series with visible connecting pen. Example:

Code: Select all

points3D1.LinePen.Color = Color.Red;
points3D1.LinePen.Width = 2;
// plotting y=f(x,z)
points3D1.Add(2,0,4); // f(2,4) =0
points3D1.Add(1,3,2); // f(1,2) = 3
points3D1.Add(0,2,3); // f(0,3) = 2

It works fine...

Posted: Tue Jan 25, 2005 10:22 am
by 8121028
thanks for your help, that's what I wanted to do..

H. MAILLARD