(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...") |
Jeff-strong (talk | contribs) m (Editorial review and minor corrections) |
||
Line 1: | Line 1: | ||
== Graphing == | == Graphing == | ||
Octave | 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. | ||
{{ConsoleLine|liang-xue@codermerlin:~$|cd ~/www}} | {{ConsoleLine|liang-xue@codermerlin:~$|cd ~/www}} | ||
{{ConsoleLine|liang-xue@codermerlin:~$|octave}} | {{ConsoleLine|liang-xue@codermerlin:~$|octave}} | ||
Line 7: | Line 7: | ||
{{ConsoleLine|octave:1>|}} | {{ConsoleLine|octave:1>|}} | ||
To enable graphics plotting, execute the following command: | |||
{{ConsoleLine|octave:1>|graphics_toolkit("gnuplot")}} | {{ConsoleLine|octave:1>|graphics_toolkit("gnuplot")}} | ||
We'll begin with a 3-D example to demonstrate the power of Octave and | We'll begin with a 3-D example to demonstrate the power of Octave and how easy it is to create complex graphs. |
Revision as of 02:57, 3 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.