view examples/helloworld.cc @ 18916:04a00ba54557

colorbar.m: Show ticks on colorbar. * colorbar.m: set axis "layer" to "top" to display tickmarks above colorbar image.
author Rik <rik@octave.org>
date Mon, 30 Jun 2014 21:11:38 -0700
parents 224e76250443
children
line wrap: on
line source

#include <octave/oct.h>

DEFUN_DLD (helloworld, args, nargout,
           "Hello World Help String")
{
  int nargin = args.length ();

  octave_stdout << "Hello World has "
                << nargin << " input arguments and "
                << nargout << " output arguments.\n";

  return octave_value_list ();
}