Mercurial > hg > octave-nkf
view examples/code/@polynomial/polyval.m @ 20454:0bb456e9423b stable
Allow interactive annotations in other figures than the currentfigure.
* Canvas.cc (Canvas::canvasMouseReleaseEvent): prepend the figure handle argument when calling annotation function.
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Tue, 02 Jun 2015 19:24:44 +0200 |
parents | c8240a60dd01 |
children |
line wrap: on
line source
function [y, dy] = polyval (p, varargin) if (nargout == 2) [y, dy] = polyval (fliplr (p.poly), varargin{:}); else y = polyval (fliplr (p.poly), varargin{:}); endif endfunction