annotate examples/helloworld.cc @ 14391:c9ec21bef97a

Fix ticklength updating (bug # 35438). * graphics.cc: (axes::properties::update_ticklengths): include ticklength property value. * graphics.cc, graphics.h.in: Change update_ticklengths to update_ticklength. * graphics.h.in: Add "u" qualifier to axes ticklength property.
author Ben Abbott <bpabbott@mac.com>
date Wed, 22 Feb 2012 20:06:05 -0500
parents db1f49eaba6b
children be41c30bcb44
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6572
8e7148b84b59 [project @ 2007-04-25 04:13:44 by jwe]
jwe
parents:
diff changeset
1 #include <octave/oct.h>
8e7148b84b59 [project @ 2007-04-25 04:13:44 by jwe]
jwe
parents:
diff changeset
2
8e7148b84b59 [project @ 2007-04-25 04:13:44 by jwe]
jwe
parents:
diff changeset
3 DEFUN_DLD (helloworld, args, nargout,
8e7148b84b59 [project @ 2007-04-25 04:13:44 by jwe]
jwe
parents:
diff changeset
4 "Hello World Help String")
8e7148b84b59 [project @ 2007-04-25 04:13:44 by jwe]
jwe
parents:
diff changeset
5 {
8e7148b84b59 [project @ 2007-04-25 04:13:44 by jwe]
jwe
parents:
diff changeset
6 int nargin = args.length ();
12174
db1f49eaba6b whitespace fixes
John W. Eaton <jwe@octave.org>
parents: 9053
diff changeset
7 octave_stdout << "Hello World has " << nargin
6572
8e7148b84b59 [project @ 2007-04-25 04:13:44 by jwe]
jwe
parents:
diff changeset
8 << " input arguments and "
8e7148b84b59 [project @ 2007-04-25 04:13:44 by jwe]
jwe
parents:
diff changeset
9 << nargout << " output arguments.\n";
8e7148b84b59 [project @ 2007-04-25 04:13:44 by jwe]
jwe
parents:
diff changeset
10 return octave_value_list ();
8e7148b84b59 [project @ 2007-04-25 04:13:44 by jwe]
jwe
parents:
diff changeset
11 }