Mercurial > hg > octave-lyh
view scripts/plot/__make_using_clause__.m @ 6046:34f96dd5441b
[project @ 2006-10-10 16:10:25 by jwe]
author | jwe |
---|---|
date | Tue, 10 Oct 2006 16:10:31 +0000 |
parents | 7c048a800ebe |
children | 17f25cd588b2 |
line wrap: on
line source
function usingstr = __make_using_clause__ (x) cols = columns (x); if (cols > 0) usingstr = strcat (gnuplot_command_using, " ($1)"); for k = 2:cols usingstr = sprintf ("%s:($%d)", usingstr, k); endfor else usingstr = ""; endif endfunction