Mercurial > octave
comparison src/DLD-FUNCTIONS/__gnuplot_raw__.l @ 5794:1138ced03f14
[project @ 2006-05-08 20:23:04 by jwe]
author | jwe |
---|---|
date | Mon, 08 May 2006 20:23:07 +0000 |
parents | 70215aff5ccf |
children | 20f4bd627a74 |
comparison
equal
deleted
inserted
replaced
5793:395382df0d8a | 5794:1138ced03f14 |
---|---|
1462 | 1462 |
1463 // ----------------------- | 1463 // ----------------------- |
1464 // User-callable functions | 1464 // User-callable functions |
1465 // ----------------------- | 1465 // ----------------------- |
1466 | 1466 |
1467 DEFUN_DLD (automatic_replot, args, , | 1467 DEFUN_DLD (automatic_replot, args, nargout, |
1468 "-*- texinfo -*-\n\ | 1468 "-*- texinfo -*-\n\ |
1469 @deftypefn {Loadable Function} {@var{val} =} automatic_replot ()\n\ | 1469 @deftypefn {Loadable Function} {@var{val} =} automatic_replot ()\n\ |
1470 @deftypefnx {Loadable Function} {@var{old_val} =} automatic_replot (@var{new_val})\n\ | 1470 @deftypefnx {Loadable Function} {@var{old_val} =} automatic_replot (@var{new_val})\n\ |
1471 Query or set the current automatic replot state. Although it is fairly\n\ | 1471 Query or set the current automatic replot state. Although it is fairly\n\ |
1472 inefficient, especially for large plots, automatic replotting is enabled\n\ | 1472 inefficient, especially for large plots, automatic replotting is enabled\n\ |
1473 by default for compatibility with Matlab.\n\ | 1473 by default for compatibility with Matlab.\n\ |
1474 \n\ | |
1475 When setting the state, @var{new_val}\n\ | |
1476 @end deftypefn") | 1474 @end deftypefn") |
1477 { | 1475 { |
1478 return SET_INTERNAL_VARIABLE (automatic_replot); | 1476 return SET_INTERNAL_VARIABLE (automatic_replot); |
1479 } | 1477 } |
1480 | 1478 |
1481 DEFUN_DLD (gnuplot_binary, args, , | 1479 DEFUN_DLD (gnuplot_binary, args, nargout, |
1482 "-*- texinfo -*-\n\ | 1480 "-*- texinfo -*-\n\ |
1483 @deftypefn {Loadable Function} gnuplot_binary\n\ | 1481 @deftypefn {Loadable Function} {@var{val} =} gnuplot_binary ()\n\ |
1484 The name of the program invoked by the plot command. The default value\n\ | 1482 @deftypefnx {Loadable Function} {@var{old_val} =} gnuplot_binary (@var{new_val})\n\ |
1485 is @code{\"gnuplot\"}. @xref{Installation}.\n\ | 1483 Query or set the name of the program invoked by the plot command.\n\ |
1484 The default value @code{\"gnuplot\"}. @xref{Installation}.\n\ | |
1486 @end deftypefn") | 1485 @end deftypefn") |
1487 { | 1486 { |
1488 octave_value retval = SET_INTERNAL_VARIABLE (gnuplot_binary); | 1487 octave_value retval = SET_INTERNAL_VARIABLE (gnuplot_binary); |
1489 | 1488 |
1490 if (! error_state && args.length () == 1) | 1489 if (! error_state && args.length () == 1) |
1491 gnuplot::set_gnuplot_exe (Vgnuplot_binary); | 1490 gnuplot::set_gnuplot_exe (Vgnuplot_binary); |
1492 | 1491 |
1493 return retval; | 1492 return retval; |
1494 } | 1493 } |
1495 | 1494 |
1496 DEFUN_DLD (gnuplot_command_plot, args, , | 1495 DEFUN_DLD (gnuplot_command_plot, args, nargout, |
1497 "-*- texinfo -*-\n\ | 1496 "-*- texinfo -*-\n\ |
1498 @deftypefn {Loadable Function} {@var{val} = } gnuplot_command_plot ()\n\ | 1497 @deftypefn {Loadable Function} {@var{val} = } gnuplot_command_plot ()\n\ |
1499 @deftypefnx {Loadable Function} {@var{old_val} = } gnuplot_command_plot (@var{new_val})\n\ | 1498 @deftypefnx {Loadable Function} {@var{old_val} = } gnuplot_command_plot (@var{new_val})\n\ |
1500 @end deftypefn") | 1499 @end deftypefn") |
1501 { | 1500 { |
1502 return SET_INTERNAL_VARIABLE (gnuplot_command_plot); | 1501 return SET_INTERNAL_VARIABLE (gnuplot_command_plot); |
1503 } | 1502 } |
1504 | 1503 |
1505 DEFUN_DLD (gnuplot_command_replot, args, , | 1504 DEFUN_DLD (gnuplot_command_replot, args, nargout, |
1506 "-*- texinfo -*-\n\ | 1505 "-*- texinfo -*-\n\ |
1507 @deftypefn {Loadable Function} {@var{val} =} gnuplot_command_replot ()\n\ | 1506 @deftypefn {Loadable Function} {@var{val} =} gnuplot_command_replot ()\n\ |
1508 @deftypefnx {Loadable Function} {@var{old_val} =} gnuplot_command_replot (@var{new_val})\n\ | 1507 @deftypefnx {Loadable Function} {@var{old_val} =} gnuplot_command_replot (@var{new_val})\n\ |
1509 @end deftypefn") | 1508 @end deftypefn") |
1510 { | 1509 { |
1511 return SET_INTERNAL_VARIABLE (gnuplot_command_replot); | 1510 return SET_INTERNAL_VARIABLE (gnuplot_command_replot); |
1512 } | 1511 } |
1513 | 1512 |
1514 DEFUN_DLD (gnuplot_command_splot, args, , | 1513 DEFUN_DLD (gnuplot_command_splot, args, nargout, |
1515 "-*- texinfo -*-\n\ | 1514 "-*- texinfo -*-\n\ |
1516 @deftypefn {Loadable Function} {@var{val} =} gnuplot_command_splot ()\n\ | 1515 @deftypefn {Loadable Function} {@var{val} =} gnuplot_command_splot ()\n\ |
1517 @deftypefnx {Loadable Function} {@var{old_val} =} gnuplot_command_splot (@var{new_val})\n\ | 1516 @deftypefnx {Loadable Function} {@var{old_val} =} gnuplot_command_splot (@var{new_val})\n\ |
1518 @end deftypefn") | 1517 @end deftypefn") |
1519 { | 1518 { |
1520 return SET_INTERNAL_VARIABLE (gnuplot_command_splot); | 1519 return SET_INTERNAL_VARIABLE (gnuplot_command_splot); |
1521 } | 1520 } |
1522 | 1521 |
1523 DEFUN_DLD (gnuplot_command_using, args, , | 1522 DEFUN_DLD (gnuplot_command_using, args, nargout, |
1524 "-*- texinfo -*-\n\ | 1523 "-*- texinfo -*-\n\ |
1525 @deftypefn {Loadable Function} {@var{val} =} gnuplot_command_using ()\n\ | 1524 @deftypefn {Loadable Function} {@var{val} =} gnuplot_command_using ()\n\ |
1526 @deftypefnx {Loadable Function} {@var{old_val} =} gnuplot_command_using (@var{new_val})\n\ | 1525 @deftypefnx {Loadable Function} {@var{old_val} =} gnuplot_command_using (@var{new_val})\n\ |
1527 @end deftypefn") | 1526 @end deftypefn") |
1528 { | 1527 { |
1529 return SET_INTERNAL_VARIABLE (gnuplot_command_using); | 1528 return SET_INTERNAL_VARIABLE (gnuplot_command_using); |
1530 } | 1529 } |
1531 | 1530 |
1532 DEFUN_DLD (gnuplot_command_with, args, , | 1531 DEFUN_DLD (gnuplot_command_with, args, nargout, |
1533 "-*- texinfo -*-\n\ | 1532 "-*- texinfo -*-\n\ |
1534 @deftypefn {Loadable Function} {@var{val} =} gnuplot_command_with ()\n\ | 1533 @deftypefn {Loadable Function} {@var{val} =} gnuplot_command_with ()\n\ |
1535 @deftypefnx {Loadable Function} {@var{old_val} =} gnuplot_command_with (@var{new_val})\n\ | 1534 @deftypefnx {Loadable Function} {@var{old_val} =} gnuplot_command_with (@var{new_val})\n\ |
1536 @end deftypefn") | 1535 @end deftypefn") |
1537 { | 1536 { |
1538 return SET_INTERNAL_VARIABLE (gnuplot_command_with); | 1537 return SET_INTERNAL_VARIABLE (gnuplot_command_with); |
1539 } | 1538 } |
1540 | 1539 |
1541 DEFUN_DLD (gnuplot_command_axes, args, , | 1540 DEFUN_DLD (gnuplot_command_axes, args, nargout, |
1542 "-*- texinfo -*-\n\ | 1541 "-*- texinfo -*-\n\ |
1543 @deftypefn {Loadable Function} {@var{val} =} gnuplot_command_axes ()\n\ | 1542 @deftypefn {Loadable Function} {@var{val} =} gnuplot_command_axes ()\n\ |
1544 @deftypefnx {Loadable Function} {@var{old_val} =} gnuplot_command_axes (@var{new_val})\n\ | 1543 @deftypefnx {Loadable Function} {@var{old_val} =} gnuplot_command_axes (@var{new_val})\n\ |
1545 @end deftypefn") | 1544 @end deftypefn") |
1546 { | 1545 { |
1547 return SET_INTERNAL_VARIABLE (gnuplot_command_axes); | 1546 return SET_INTERNAL_VARIABLE (gnuplot_command_axes); |
1548 } | 1547 } |
1549 | 1548 |
1550 DEFUN_DLD (gnuplot_command_title, args, , | 1549 DEFUN_DLD (gnuplot_command_title, args, nargout, |
1551 "-*- texinfo -*-\n\ | 1550 "-*- texinfo -*-\n\ |
1552 @deftypefn {Loadable Function} {@var{val} =} gnuplot_command_title ()\n\ | 1551 @deftypefn {Loadable Function} {@var{val} =} gnuplot_command_title ()\n\ |
1553 @deftypefnx {Loadable Function} {@var{old_val} =} gnuplot_command_title (@var{new_val})\n\ | 1552 @deftypefnx {Loadable Function} {@var{old_val} =} gnuplot_command_title (@var{new_val})\n\ |
1554 @end deftypefn") | 1553 @end deftypefn") |
1555 { | 1554 { |
1556 return SET_INTERNAL_VARIABLE (gnuplot_command_title); | 1555 return SET_INTERNAL_VARIABLE (gnuplot_command_title); |
1557 } | 1556 } |
1558 | 1557 |
1559 DEFUN_DLD (gnuplot_command_end, args, , | 1558 DEFUN_DLD (gnuplot_command_end, args, nargout, |
1560 "-*- texinfo -*-\n\ | 1559 "-*- texinfo -*-\n\ |
1561 @deftypefn {Loadable Function} {@var{val} =} gnuplot_command_end ()\n\ | 1560 @deftypefn {Loadable Function} {@var{val} =} gnuplot_command_end ()\n\ |
1562 @deftypefnx {Loadable Function} {@var{old_val} =} gnuplot_command_end (@var{new_val})\n\ | 1561 @deftypefnx {Loadable Function} {@var{old_val} =} gnuplot_command_end (@var{new_val})\n\ |
1563 @end deftypefn") | 1562 @end deftypefn") |
1564 { | 1563 { |
1565 return SET_INTERNAL_VARIABLE (gnuplot_command_end); | 1564 return SET_INTERNAL_VARIABLE (gnuplot_command_end); |
1566 } | 1565 } |
1567 | 1566 |
1568 DEFUN_DLD (gnuplot_use_title_option, args, , | 1567 DEFUN_DLD (gnuplot_use_title_option, args, nargout, |
1569 "-*- texinfo -*-\n\ | 1568 "-*- texinfo -*-\n\ |
1570 @deftypefn {Loadable Function} {@var{val} =} gnuplot_use_title_option ()\n\ | 1569 @deftypefn {Loadable Function} {@var{val} =} gnuplot_use_title_option ()\n\ |
1571 @deftypefnx {Loadable Function} {@var{old_val} =} gnuplot_use_title_option (@var{new_val})\n\ | 1570 @deftypefnx {Loadable Function} {@var{old_val} =} gnuplot_use_title_option (@var{new_val})\n\ |
1572 If enabled, append @samp{-title \"Figure NN\"} to the gnuplot command.\n\ | 1571 If enabled, append @samp{-title \"Figure NN\"} to the gnuplot command.\n\ |
1573 By default, this feature is enabled if the @code{DISPLAY} environment\n\ | 1572 By default, this feature is enabled if the @code{DISPLAY} environment\n\ |