Next: Editing What You Have Typed, Previous: Producing Graphical Output, Up: Simple Examples [Contents][Index]
Octave has an extensive help facility. The same documentation that is available in printed form is also available from the Octave prompt, because both forms of the documentation are created from the same input file.
In order to get good help you first need to know the name of the command
that you want to use. The name of this function may not always be
obvious, but a good place to start is to type help --list
.
This will show you all the operators, keywords, built-in functions,
and loadable functions available in the current session of Octave. An
alternative is to search the documentation using the lookfor
function (described in Commands for Getting Help).
Once you know the name of the function you wish to use, you can get more help on the function by simply including the name as an argument to help. For example,
help plot
will display the help text for the plot
function.
The part of Octave’s help facility that allows you to read the complete text of the printed manual from within Octave normally uses a separate program called Info. When you invoke Info you will be put into a menu driven program that contains the entire Octave manual. Help for using Info is provided in this manual, see Commands for Getting Help.