Home > hfrc > matlab > @HFRC > basemap.m

basemap

PURPOSE ^

BASEMAP - generates a base map for plotting CODAR data.

SYNOPSIS ^

function [sh, th] = basemap( h, varargin )

DESCRIPTION ^

 BASEMAP - generates a base map for plotting CODAR data.

 Usage: [site_hdl, text_hdl] = basemap( hfrc_obj, arg_name, arg_value, ... )

 where arg_name, arg_value are arguments for the original basemap
 function.  The name of the coast_file is either expected as an
 name-value pair, or as hfrc_obj.info.coast_file.  Arguments to basemap
 can also be specified as fields in hfrc_obj.info.

 This function also accepts a pair of special argument: 'fillCoast' and
 'fillCoastColor'.  The first is a boolean - if true, the coast is
 assume to be a fillable polygon.  Default is false.  'fillCoastColor'
 specifies the filling color.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

     $Id: basemap.m,v 1.11 2006-06-26 20:07:23 dmk Exp $    

 Copyright (C) 2006 David M. Kaplan
 Licence: GPL (Gnu Public License)

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 18-Dec-2006 07:26:46 by m2html © 2003