Mercurial > hg > octave-lyh
view examples/Makefile.am @ 17481:576cf0589c6d
Overhaul contour labeling functions.
* scripts/plot/clabel.m: Use 'h', rather than 'retval', to match variables to
documentation. Improve performance of input processing by using try/catch block
and eliminating for loops.
* scripts/plot/private/__clabel__.m: Get X and Y spacing in points from axis
rather than assuming 4"x3" plot figure. Fix incorrect determination of axis limits
if no contour handle provided. Rename loop vars i1, j1 to i,j. Performance
improvement by using bsxfun over repmat. Use find to replace while loop (slow).
Keep label rotation in the range [-90, 90] for readability.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 24 Sep 2013 13:16:50 -0700 |
parents | be41c30bcb44 |
children |
line wrap: on
line source
# Makefile for Octave's examples directory # # Copyright (C) 1996-2012 John W. Eaton # # This file is part of Octave. # # Octave is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation; either version 3 of the License, or (at # your option) any later version. # # Octave is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. # # You should have received a copy of the GNU General Public License # along with Octave; see the file COPYING. If not, see # <http://www.gnu.org/licenses/>. include $(top_srcdir)/build-aux/common.mk EXTRA_DIST = FCN_FILE_DIRS = FCN_FILES = include @polynomial/module.mk include @FIRfilter/module.mk EXTRA_DIST += \ $(FCN_FILES) \ addtwomatrices.cc \ celldemo.cc \ embedded.cc \ fortdemo.cc \ fortsub.f \ funcdemo.cc \ globaldemo.cc \ helloworld.cc \ make_int.cc \ mex_demo.c \ mycell.c \ myfeval.c \ myfevalf.f \ myfunc.c \ myhello.c \ mypow2.c \ myprop.c \ myset.c \ mysparse.c \ mystring.c \ mystruct.c \ oct_demo.cc \ oregonator.cc \ oregonator.m \ paramdemo.cc \ standalone.cc \ stringdemo.cc \ structdemo.cc \ unwinddemo.cc