Difference between revisions of "Octave/Graphing"

From Coder Merlin
m (Editorial review and minor corrections)
 
Line 11: Line 11:


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

Latest revision as of 12:21, 14 April 2022

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.