Mercurial > octave-nkf
view scripts/plot/__make_using_clause__.m @ 6012:7c048a800ebe
[project @ 2006-09-29 19:01:06 by jwe]
author | jwe |
---|---|
date | Fri, 29 Sep 2006 19:01:06 +0000 |
parents | |
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