Mercurial > hg > octave-nkf
comparison doc/interpreter/plot.txi @ 8057:7670cd296687
Opps
author | David Bateman <dbateman@free.fr> |
---|---|
date | Tue, 26 Aug 2008 18:05:35 +0200 |
parents | 9a6f4713f765 |
children | 3b53b25e2550 |
comparison
equal
deleted
inserted
replaced
8056:9a6f4713f765 | 8057:7670cd296687 |
---|---|
1372 | 1372 |
1373 Additional user arguments can be passed to callback functions, and will | 1373 Additional user arguments can be passed to callback functions, and will |
1374 be passed after the 2 default arguments. For example | 1374 be passed after the 2 default arguments. For example |
1375 | 1375 |
1376 @example | 1376 @example |
1377 plot (x, "DeleteFcn", {@@mycallback, "1"}) | 1377 plot (x, "DeleteFcn", @{@@mycallback, "1"@}) |
1378 @dots{} | 1378 @dots{} |
1379 function mycall (src, data, a1) | 1379 function mycallback (src, data, a1) |
1380 fprintf ("Closing plot %d\n", a1); | 1380 fprintf ("Closing plot %d\n", a1); |
1381 endfunction | 1381 endfunction |
1382 @end example | 1382 @end example |
1383 | 1383 |
1384 The basic callback functions that are available for all graphics objects | 1384 The basic callback functions that are available for all graphics objects |