help-octave
[Top][All Lists]
Advanced

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

decoding error message


From: asha g
Subject: decoding error message
Date: Mon, 16 Feb 2009 11:50:10 +0530 (IST)


 when I try to print the following command I get errors. 

hold on
x = linspace(0,l,N)
X = x./lambda;
y = z;
y1 = z1;
plot(x,y,'r+')
plot(x,y1,'b*')
xlabel('x')
ylabel('V')
title('linear taper and nontapered')
legend("on")
legend ('D1 = 1.85*10^-4 cm', 'D1 = 1.80*10^-4 cm')
print('cabunpatapnontapocttest.eps','-depsc')
holdoff

The errors i get are :
error: `legend' undefined near line 191 column 2
error: near line 191 of file 
`/home/proj/08/cesasha/aseasha/cabunpatapnontapoct.m'
 Line 191 is legend ("on").When I block that the same error appears for the 
next line and so on. 

Please help.

Asha 


      Connect with friends all over the world. Get Yahoo! India Messenger at 
http://in.messenger.yahoo.com/?wm=n/



reply via email to

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