229
edits
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
If you have not the SpokenGCA addon installed, you may download '''''plot2D.nas''''' from [https://sourceforge.net/p/flightgear/fgaddon/HEAD/tree/trunk/Addons/SpokenGCA/plot2D.nas here], put it into your ''$FG-HOME/Nasal/'' folder and then execute: | If you have not the SpokenGCA addon installed, you may download '''''plot2D.nas''''' from [https://sourceforge.net/p/flightgear/fgaddon/HEAD/tree/trunk/Addons/SpokenGCA/plot2D.nas here], put it into your ''$FG-HOME/Nasal/'' folder and then execute: | ||
<syntaxhighlight lang="nasal"> | <syntaxhighlight lang="nasal"> | ||
var | var home = getprop("/sim/fg-home"); | ||
io.load_nasal( | io.load_nasal( home ~ '/Nasal/plot2D.nas', "canvas" ); | ||
</syntaxhighlight>Once executed, you can try the examples given below.<br /> | </syntaxhighlight>Once executed, you can try the examples given below.<br /> | ||
edits