>>103
最近バージョンでは,gnuplotのコマンドを直接たたくことはできません。

plotしたあと
drawnow のdebug オプションを使って
>> drawnow ("tgif", "foo.tgif", false, "debug.gp")

>> system('gnuplot debug.gp');
でfoo.tgifを作成する。
ぐらいでしょうか