image thumbnail

updated 18 hours ago

scalebar for maps by Chad Greene

A simpler alternative to the built-in Mapping Toolbox function scaleruler. (scaleruler, tufte, mapping)

scalebar

scalebar(varargin)

image thumbnail

updated 2 days ago

rend by Chad Greene

Simply toggle figure renderers. (gcf, renderer, set)

rend

rend(varargin)

image thumbnail

updated 2 days ago

strlookup by Chad Greene

Find strings in a list of cells and return near matches if no exact match is found. (strcmp, strcmpi, strfind)

strlookup

strlookup(string,list,varargin)

image thumbnail

updated 2 days ago

figtitle by Chad Greene

Create a title for a figure with multiple subplots. (title, figure, text)

figtitle

figtitle(titlestring,varargin)

image thumbnail

updated 2 days ago

whynot by Chad Greene

For when you've been staring at the command window for a little too long. (humor, disappointment, joke)

whynot

image thumbnail

updated 2 days ago

sortwith by Chad Greene

Sort elements of several matrices corresponding to the sorting order of one matrix. (sort, sortrows)

sortwith

sortwith(varargin)

image thumbnail

updated 6 days ago

histf by Chad Greene

Simply produce histograms formatted the way you like them. (hist, bar, histc)

histf

histf(Y,varargin)

image thumbnail

updated 6 days ago

legalpha by Chad Greene

legend with support for patch transparency. (alpha, transparency, legend)

legalpha

legalpha(varargin)

image thumbnail

updated 8 days ago

threepoints2planez by Chad Greene

Given three points in space, get coefficients of a plane in the form z = slopex*x + slopey*y + C. (slope, plane)

threepoints2planez(x,y,z)

image thumbnail

updated 10 days ago

circle plotter by Chad Greene

Simply plot filled circles or circle outlines. (circle, plotting, fill)

circles

circles(x,y,r,varargin)

image thumbnail

updated 13 days ago

rgb2hex and hex2rgb by Chad Greene

Convert colors between rgb and hex values (color, rgb, plotting)

rgb2hex and hex2rgb

hex2rgb(hex,range)

rgb2hex(rgb)

image thumbnail

updated 13 days ago

Intuitive RGB color values from XKCD by Chad Greene

RGB triplets for 949 colors, by how they're perceived on a computer monitor and their common names. (rgb, xkcd, color)

rgb

hex2rgb(hex,range)

rgb(ColorNames,varargin)

image thumbnail

updated 15 days ago

flipn by Chad Greene

Flip multiple matrices using flipud, fliplr, or flipdim (flip, flipud, fliplr)

fliplrn, flipudn, and flipdimn

flipdimn(varargin)

fliplrn(varargin)

image thumbnail

updated 15 days ago

Unit Converters by Chad Greene

Convert units of pressure, length, time, force, mass, accel., temp, speed, frequency, area, & more! (engineering, units, conversion)

A2au(A)

A2bs(A)

A2cm(A)

image thumbnail

updated 16 days ago

pathcrossingps71 by Chad Greene

Find intersection point(s) of two georeferenced paths in or near Antarctica. (antarctica, interx, intersection)

pathcrossingps71(lat1,lon1,lat2,lon2,ClipOption)

image thumbnail

updated 16 days ago

nantight by Chad Greene

Sets axis limits to the range of finite data. (nan, axis, axis tight)

nantight

nantight(h)

image thumbnail

updated 20 days ago

hfill and vfill by Chad Greene

Simply create horizontal or vertical shaded sections of a plot. (plotting, shading, fill)

hfill and vfill

hfill(ybounds,ColorSpec,varargin)

vfill(xbounds,ColorSpec,varargin)

image thumbnail

updated 20 days ago

label by Chad Greene

label data directly on a plot (legend, plot, annotation)

label

label(h,textString,varargin)

image thumbnail

updated 22 days ago

MODIS Mosaic of Antarctica by Chad Greene

Plot satellite images, grounding lines, and coast lines of Antarctica (antarctica, glaciology, nsidc)

modismoa

modismoa(varargin)

modismoa_install.m

image thumbnail

updated 22 days ago

MEaSUREs by Chad Greene

Plot Antarctic ice velocity fields (ice, quivermc, antarctica)

MEaSUREs

measures_interp

measures(mapvar,varargin)

image thumbnail

updated 23 days ago

quivermc by Chad Greene

Plot georeferenced vector fields with color options. (mapping toolbox, quiverm, wind)

quivermc

quivermc(lat,lon,u,v,varargin)

image thumbnail

updated 28 days ago

coriolisf by Chad Greene

Returns Coriolis parameter as a function of latitude. (coriolis, oceanography, atmosphere)

coriolisf(lat,lon)

image thumbnail

updated 1 month ago

legappend by Chad Greene

Append new entries to an existing legend (legend, plot, hold on)

legappend

legappend(newStrings,varargin)

image thumbnail

updated 1 month ago

grayout by Chad Greene

Lighten or darken lines after plotting (plot, color, darken)

grayout

grayout(h,beta)

image thumbnail

updated 1 month ago

Post-glacial rebound by Chad Greene

Interpolate and plot post-glacial rebound or glacial isostatic adjustment. (pgr, gia, climate)

Plotting post-glacial rebound (PGR)

pgr_interp(lati,loni)

image thumbnail

updated 1 month ago

How to map sea level rise by Chad Greene

A simple example of how to create a map of sea level rise using publicly-available data. (mapping, sea level rise, climate)

How to make a map of sea level rise

image thumbnail

updated 1 month ago

clearempty by Chad Greene

clear all empty variables from current workspace (clear, empty)

clearempty

clearempty.m

image thumbnail

updated 1 month ago

pathdist by Chad Greene

Simply calculate distance traveled along a lat/lon path (distance, track, waypoints)

pathdist

pathdist(lat,lon,varargin)

image thumbnail

updated 2 months ago

rgbmap color maps by Chad Greene

Create color maps from actual names that people use for colors. (colormap, color, xkcd)

rgbmap

rgbmap(varargin)

image thumbnail

updated 2 months ago

disthist by Chad Greene

Simply show a histogram of distances between geographic waypoints. (distance, hist, histogram)

disthist

disthist(lat,lon,distances_or_nbins)

image thumbnail

updated 2 months ago

interpm2 by Chad Greene

Densify or interpolate along paths with approximately equal spacing in meters or kilometers. (interpm, interpolation, mapping)

interpm2

interpm2(lat,lon,maxdiff,method,units,tolerance)

image thumbnail

updated 3 months ago

replacefartherthan by Chad Greene

Replace or delete values in a surface farther than a given distance from points. (griddata, nan, distance)

replacefartherthan

replacefartherthan.m

image thumbnail

updated 3 months ago

nsidc_download by Chad Greene

Download data from the National Snow and Ice Data Center (nsidc, ftp, tar)

nsidc_download(ftp_path,filepath)

image thumbnail

updated 3 months ago

Antarctic grounding zone structure from ICESat by Chad Greene

Download and plot ICESat-derived grounding zone structure for Antarctica. (nsidc, icesat, grounding zone)

icesat

icesat(mapvar,varargin)

icesat_grounding_zone_install.m

image thumbnail

updated 3 months ago

Bedmap2 Toolbox for Matlab by Chad Greene

Transforms Bedmap2 data to lat/lon coordinates. Offers simple commands to extract and/or plot data. (antarctica, mapping, polar)

C2xyz(C)

antmapinit(varargin)

asaid(mapvar,varargin)

image thumbnail

updated 3 months ago

reshape_daily by Chad Greene

Reshape daily time series between 1D and calendar-like 3D matrices. (time series, daily, climate)

reshape_daily

reshape_daily(s,t)

image thumbnail

updated 4 months ago

Sound Pressure Level Calculator by Chad Greene

Calculates sound pressure level in decibels, given a pressure signal in pascals. (acoustics, sound pressure level, spl)

spl

spl(p_Pa,ref,windowSize,Fs)

image thumbnail

updated 4 months ago

corrmap correlation coefficients by Chad Greene

This function returns correlation coefficients along any dimension of an N-dimensional data set. (corrcoef, correlation, cov)

corrmap

corrmap(A,y,dim,varargin)

image thumbnail

updated 4 months ago

trend by Chad Greene

Fast function for mapping trends along any dimension in 3D data. (netcdf, nc, reanalysis)

trend(A,t,dim)

image thumbnail

updated 5 months ago

interp1gap 1D interpolation over small x gaps by Chad Greene

Interpolate over small gaps in x, but not over large gaps in x. (interpolation, interp1)

interp1gap(x,v,xq,maxgapval,varargin)

image thumbnail

updated 5 months ago

mmax and mmin by Chad Greene

Returns maximum or minimum value of an N-D matrix (max, min, housekeeping)

mmax(A)

mmin(A)

image thumbnail

updated 7 months ago

curlm curl for maps by Chad Greene

compute curlz referenced to map coordinates (curl, mapping, wind stress)

curlm(lat,lon,U,V)

image thumbnail

updated 7 months ago

deseason by Chad Greene

Remove the seasonal signal from a daily time series of data. (time series)

deseason(t,y)

image thumbnail

updated 7 months ago

dlim by Chad Greene

set date limits like they're x limits. (datetick, xlim)

dlim(varargin)

image thumbnail

updated 11 months ago

nget by Chad Greene

Query any number of graphics object properties at once using the get command. (get)

nget(h,varargin)

image thumbnail

updated 12 months ago

C2xyz contour matrix to coordinates by Chad Greene

Convert values given by a contour matrix to easy-to-use cells. (contour, contour matrix, contour3)

C2xy(C)

C2xyz(C)

image thumbnail

updated 1 year ago

Label Antarctic Features by Chad Greene

Retrieve coordinates and/or label any of the 25,394 Antarctic features identified by SCAR. (mapping, antarctica, scar)

scarlabel(featurename,varargin)

scarloc(featurename)

image thumbnail

updated 1 year ago

ntitle by Chad Greene

Place a title inside a plot. Reduces title/xlabel ambiguity in figures with multiple subplots. (title, tufte, plotting)

ntitle(titlestring,varargin)

image thumbnail

updated 1 year ago

clip by Chad Greene

Return the values of an array within a given range, optionally return corresponding clipped arrays. (clip, trim, range)

clip(x,xmin,xmax,varargin)

image thumbnail

updated 1 year ago

ccc by Chad Greene

close all; clear all; clc; (clear, close, clc)

ccc.m

Contact us