annotate examples/helloworld.cc @ 14325:a646cee995cf
stable
disable zoom-box zooming for negative log scales; enable zooming for positive log scales
* graphics.cc (axes::properties::zoom): Disable zooming if either
axis is log and negative.
(axes::properties::zoom_about_point): Enable zooming for positive log
scale axes.
author |
John W. Eaton <jwe@octave.org> |
date |
Sat, 04 Feb 2012 10:29:50 -0500 |
parents |
db1f49eaba6b |
children |
|
rev |
line source |
6572
|
1 #include <octave/oct.h> |
|
2 |
|
3 DEFUN_DLD (helloworld, args, nargout, |
|
4 "Hello World Help String") |
|
5 { |
|
6 int nargin = args.length (); |
12174
|
7 octave_stdout << "Hello World has " << nargin |
6572
|
8 << " input arguments and " |
|
9 << nargout << " output arguments.\n"; |
|
10 return octave_value_list (); |
|
11 } |