| Home | zeGraph lib | Lua lib | Custom lib | Tutorials | Notes | XML Script | C-Talk | Z-Script |
Lesson 1
Lesson 2
Lesson 3
Lesson 4
Lesson 5
Lesson 6
Lesson 7
Lesson 8
Lesson 9
Lesson 10
Lesson 11
Lesson 12
Lesson 13
Lesson 14
Lesson 15
Lesson 16
Lesson 17
Lesson 18
Lesson 19

Using zeGraph with Lua

Since zeGraph uses Lua as the scripting language and OpenGL as the rendering engine, you need to have some basic understandings on these two subjects before learning zeGraph. For making scientific plots, a quick scan on Lua language and the notes on Lua and OpenGL may be sufficient to get you started. Of course, you need to know how to install and execute a script for zeGraph.

It is said that no example is simple enough for teaching programming. The statement print("Hello world!"), or a similar one, is universally used in the introduction of many tutorials; and few users really learned a thing from it. But an introduction to a software has to start from the very basics, which is also the starting point of the following lessons. In an application, one rarely use zeGraph as shown in examples of the lessons, i.e., directly calling the native functions in zeGraph libraries. After going through them, you may learn more advanced uses from the application notes or from Lua code in the ./packages and ./lib subdirectories.

(If you cannot use the Lua code in any example, it is most likely because of library changes. Please report the case to the author.)