help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to plot the sum of two vectors


From: Nano Taboada
Subject: How to plot the sum of two vectors
Date: Sun, 06 Apr 2008 17:43:40 -0300
User-agent: Thunderbird 2.0.0.12 (X11/20080227)

Hello everybody,

I'm totally new to Octave and with the help of some online docs I was trying to plot the following:

octave:1> clear
octave:2> z1 = 2+i;
octave:3> z2 = 1+i;
octave:4> z3 = z1+z2;
octave:5> plot(z3)

    but received these error messages:

sh: gnuplot: not found
warning: broken pipe -- some output may be lost
sh: gnuplot: not found
error: Version numbers must be a single row
error: evaluating if command near line 73, column 3
error: called from `compare_versions' in file `/usr/share/octave/2.9.12/m/miscellaneous/compare_versions.m'
error: evaluating static command near line 35, column 5
error: evaluating if command near line 29, column 3
error: called from `__go_draw_axes__' in file `/usr/share/octave/2.9.12/m/plot/__go_draw_axes__.m'
error: evaluating switch command near line 57, column 4
error: evaluating for command near line 55, column 2
error: evaluating if command near line 37, column 7
error: evaluating if command near line 30, column 5
error: evaluating if command near line 29, column 3
error: called from `__go_draw_figure__' in file `/usr/share/octave/2.9.12/m/plot/__go_draw_figure__.m'
error: evaluating if command near line 61, column 6
error: evaluating if command near line 58, column 4
error: evaluating if command near line 56, column 2
error: evaluating for command near line 55, column 7
error: evaluating if command near line 38, column 5
error: called from `drawnow' in file `/usr/share/octave/2.9.12/m/plot/drawnow.m'


I'd really appreciate if someone could help me out, thanks much in advance!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]