Mercurial > hg > octave-lyh
view scripts/plot/__make_using_clause__.m @ 6076:b15a143c5607
[project @ 2006-10-24 16:09:21 by jwe]
author | jwe |
---|---|
date | Tue, 24 Oct 2006 16:09:21 +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