help-octave
[Top][All Lists]
Advanced

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

Re: gnuplot versus matlab plot: a suggestion


From: oxyopes
Subject: Re: gnuplot versus matlab plot: a suggestion
Date: Mon, 16 Jul 2007 13:07:29 +0200

yes, this works

plot( v, v*k , [styles{i}, ";", names{i} ";" ]);

But i still cannot solve my problem. It is closer to

styles = {"+", "*", "o", "x", "r+"}
f = 10.3122
v = (1:1:10)'
for k = 1:5
    plot( v, v*k , [styles{k}; ["frequency = " f "; "index = " k ";" ]  )
endfor

or inside each look    legend("frequency = %2.f   index = %d ", f, k )

But i cannot get that working ...


reply via email to

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