Graphing

From Coder Merlin
< Octave
Revision as of 12:21, 14 April 2022 by Onangwatgo-siqiniq (talk | contribs) (→‎Graphing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder

Graphing[edit]

To start Octave, type 'octave' in the shell. It's easiest to perform this in your www directory so the files you create will be saved there.

liang-xue@codermerlin:~$ cd ~/www

liang-xue@codermerlin:~$ octave

You'll know you're in Octave when you see the Octave prompt.

octave:1> 

To enable graphics plotting, execute the following command:

octave:1> graphics_toolkit("gnuplot")

We'll begin with a 3-D example to demonstrate the power of Octave and how easy it is to create complex graphs.