help-octave
[Top][All Lists]
Advanced

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

Question about a plot


From: Samuele Zampini
Subject: Question about a plot
Date: Mon, 14 Mar 2011 19:22:34 +0100

Dear all,

sorry for this very stupid question, but I am switching from Matlab to Octave and I am a very
newbie, here..
Anyway, the point is that I am trying to make a plot with Octave.

I have this *simple* script:

a = [0:.1:2*pi];
b = sin(a);
gplot (a,b)

The point is that I do not get any plot.. But I get the following error message:

octave3.2:1> test1
error: A(I): Index exceeds matrix dimension.
error: called from:
error:   /usr/share/octave/3.2.4/m/sparse/gplot.m at line 46, column 10
error:   /home/samiam/Desktop/test_octave/test1.m at line 3, column 1

Can anyone help?

Thanks a lot,

Samuele

--
                                                                                                                 Samuele Zampini
________________________________________________________________________________
01001001001000000110000101101101001000000110100001100001011100000111000001111001
  .~.                               
  /V\       L   I   N   U   X    
 // \\          I S    T H E
 /(   )\           W A Y
 ^^-^^
cell phone:   +39 347 342 6510
home:   +39 0331 823 927
e.mail:   address@hidden
www:   samiam1000.spaces.live.com
skype: samiam85


reply via email to

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