Octave/Graphing
From Coder Merlin
< Octave
Revision as of 13:42, 31 March 2022 by Chukwuemeka-tinashe (talk | contribs) (Created page with "== Graphing == Octave may be started by typing 'octave' in the shell. It's easiest to perform this in your '''www''' directory so the files that you create will be saved there. {{ConsoleLine|liang-xue@codermerlin:~$|cd ~/www}} {{ConsoleLine|liang-xue@codermerlin:~$|octave}} You'll know you're in Octave when you see the Octave prompt. {{ConsoleLine|octave:1>|}} In order to enable graphics plotting, execute the following command: {{ConsoleLine|octave:1>|graphics_toolkit...")
Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder
Graphing[edit]
Octave may be started by typing 'octave' in the shell. It's easiest to perform this in your www directory so the files that 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>
In order 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 the ease with which complex graphs can be created.