octave and gnuplot
Hey folks,
I installed octave (numerical modeling software) and gnuplot on my macbook.
The installation octave was straight forward (it was simply a .dmg file). Once I have started the programme (go to application and double click the symbol) it automatically opens a terminal. Is it possible to create a command so that I can start it directly in the terminal, such as:
Moreover, I downloaded gnuplot and installed it manually in the terminal using following commands:
I used online instructions to do so. However, I can start now "octave" and "gnuplot". Unfortunately, both programmes do not collaborate. I tried a simple plot:
I receive following error message:
Any suggestions for this problem. So far, I have only used matab and never gnuplot and octave. If somebody has a useful tutorial I might use it. Help is appreciated!!!
Thomas
I installed octave (numerical modeling software) and gnuplot on my macbook.
The installation octave was straight forward (it was simply a .dmg file). Once I have started the programme (go to application and double click the symbol) it automatically opens a terminal. Is it possible to create a command so that I can start it directly in the terminal, such as:
octave
Moreover, I downloaded gnuplot and installed it manually in the terminal using following commands:
./configure --with-readline=builtin
make
sudo make install
I used online instructions to do so. However, I can start now "octave" and "gnuplot". Unfortunately, both programmes do not collaborate. I tried a simple plot:
x=1:1:10; y=sin(x); plot(x,y)
I receive following error message:
gnuplot> m??
^
line 0: invalid character ?
gnuplot> set terminal aqua enhanced title "Figure 1"
^
line 0: unknown or ambiguous terminal type; type just 'set terminal' for a list
line 0: No terminal defined
octave-3.2.3:4>
gnuplot> plot "-" binary format='%float64' record=10 using ($1):($2) axes x1y1 title "" with lines linestyle 1 ;
^
line 0: use 'set term' to set terminal type first
Any suggestions for this problem. So far, I have only used matab and never gnuplot and octave. If somebody has a useful tutorial I might use it. Help is appreciated!!!
Thomas
MacBook Pro, Mac OS X (10.6.4)