ecGraph3D - Demo1
- Simple 3D surface function, colored by height.
- This is a very simple impementation of a 3D bar graph with ecGraph3D.
- Scroll down below the screenshot image to see the VB code that was used to
generate the graph.
The VB code used to generate the above graph...
Public Sub
Demo1(ecGraph3D1 As ecGraph3D)
'Simple 3D surface function, colored by height.
With ecGraph3D1
Call .Reset 'always start with "Reset"
'Add a title as text at a
specific location (x,y as % of image size)
Call .AddText("Demo 1.", 2, 2)
'add a math function with x
and y range and resolution..
Call .AddFunction("2*(sin(x)+sin(y))", 8, 1, 4, 8, 1, 4, -4)
Call .Refresh 'always end with
"Refresh"
End With
End Sub
Contents
(ecGraph3D.ocx) Variables
Events Properties Functions Subs
Copyright © 2008, Encore Consulting Pty Ltd