[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Plotting with octave
From: |
Eric Bouyoux |
Subject: |
Plotting with octave |
Date: |
Thu, 17 Aug 2000 17:55:45 +0100 |
I would like to generate a plot of the function toto = x^2
I wrote the following program :
function y = toto (x)
y = x^2;
endfunction
x = (0:1:20)';
gplot toto(x) with linespoints
I get the following error message :
error: for A^b, A must be square
error: evaluating assignment expression near line 2, column 3
error: called from `toto'
Is anybody able to help me to understand how the gplot function works.
Thank you.
Regards.
Eric Bouyoux
eric.bouyoux.vcf
Description: Card for Eric Bouyoux
- Plotting with octave,
Eric Bouyoux <=