help-octave
[Top][All Lists]
Advanced

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

help with data file to octave plus plot


From: Tatiana Walter
Subject: help with data file to octave plus plot
Date: Mon, 19 Aug 1996 18:39:38 -0200

Help

Why the octave does'nt understand my  gplot - line 9 ? How could I
define
expression so it can gnuplot-display graphics? 


***********begining of file interf.data ***********************
# data-sheet for Octave, does'nt work for Gnuplot
# set term latex; set output 'interf.tex'
set title 'graficos de funcoes'
set xrange [-10:10]; set yrange [0:3]
function y = A (x) 1/(1+((x-4)/5)**2) endfunction
function y = B (x) 1/(1+((x+4)/5)**2) endfunction
function y = C (x) 1/(1+(x/5)**2) + 0.1*sin(2*x) endfunction
# x = (-11:11)
gplot  -11:11 -20:20 A(x),B(x),C(x) using points;
# gplot  y=A(x),y=B(x),y=C(x) using points;
#A(4)
#B(-4)
#C(0)
# pause -1


Thanks, Tarcisio (address@hidden)

Please answer to address@hidden



reply via email to

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