[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: plotting a line label from matrix value
From: |
David DS Barnes |
Subject: |
Re: plotting a line label from matrix value |
Date: |
Tue, 18 Jul 2000 10:05:57 +0000 |
Paul Kienzle wrote:
>
> X=1:10;
> Z=[1:10;2:11;3:12];
> for i=1:3,
> plot(X,Z(i,:), sprintf(';%d;',i));
> hold on;
> end
> hold off;
>
that's it right there Paul,
thank you v.much indeed --
I realise now the main problem was I hadn't remembered to change the %d
format
to a decimal (.2f in this case), so all the 1.xx were coming out 1
>dumbo< 8)
David
--
David DS Barnes
mechanical eng,imperial college | t:0207 594 7181
exhibition rd, london, sw7 2bx | f:0207 594 7127
-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.che.wisc.edu/octave/octave.html
How to fund new projects: http://www.che.wisc.edu/octave/funding.html
Subscription information: http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------