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

m_basemap

PURPOSE ^

M_BASEMAP - generates a base map for plotting CODAR data.

SYNOPSIS ^

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

DESCRIPTION ^

 M_BASEMAP - generates a base map for plotting CODAR data.

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

 where arg_name, arg_value are arguments.  The following arguments are
 allowed: 

 m_usercoast = name of file with previously create m_usercoast filename.

 coast_file = name of text file with coast coordinates.  This trumps
 m_usercoast and m_gshhs_h.

 m_grid_option = a cell array of options to be passed to m_grid.  Make
 sure to pass this as {{...}}.

 fillCoast = boolean with whether or not to fill coast.

 coastColor = coastline color

 fillCoastColor = coast patch color

 axisLimits = [lonmin,lonmax,latmin,latmax], if not given will be
 determined automatically from HFRC object.

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

     $Id: m_basemap.m,v 1.4 2006-06-30 18:49:55 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