plateform
stringclasses
1 value
repo_name
stringlengths
13
113
name
stringlengths
3
74
ext
stringclasses
1 value
path
stringlengths
12
229
size
int64
23
843k
source_encoding
stringclasses
9 values
md5
stringlengths
32
32
text
stringlengths
23
843k
github
gmaze/gmaze_legacy-master
url_code.m
.m
gmaze_legacy-master/matlab/codes/inout/url_code.m
2,140
utf_8
454e342bb5e43d3523358f826c197a89
% url_code Percent encode/decode of a string % % URL = url_code(URL,[DIR]) % % This function will translate a string URL into % or from percent-encoding % % see: http://en.wikipedia.org/wiki/Percent-encoding % % Created: 2009-06-16. % Copyright (c) 2009 Guillaume Maze. % http://codes.guillaumemaze.org % % This progr...
github
gmaze/gmaze_legacy-master
gmat.m
.m
gmaze_legacy-master/matlab/codes/inout/gmat.m
4,788
utf_8
780f670985de0b489c512d1c1e9ed323
% gmat Grep a string into comments of Matlab routines within a given folder or file % % [] = gmat(STRING,[[FOLDER],[OPT]]) % % This function sparses all *.m files into the optional directory FOLDER % (default is ".") and look for occurances of STRING (case insensitive) % into the file comments. % % OPT is also an opti...
github
gmaze/gmaze_legacy-master
packver.m
.m
gmaze_legacy-master/matlab/codes/inout/packver.m
4,558
utf_8
ebc1bb521c389f7ce332b21d352fe368
% packver Manage Package Version file % % pack_info = packver(PACK_DIR,ACTION,{'PROP','VAL'},{'PROP','VAL'},...) % % Manage a Package Version file version.ver % % Inputs: % PACK_DIR: path to package % ACTION: % 'r': read package version information % 'w': create version.ver version file % 'u': update any property ...
github
gmaze/gmaze_legacy-master
file_list.m
.m
gmaze_legacy-master/matlab/codes/inout/file_list.m
7,322
utf_8
4b9638dd127013831e8fc9e507d1065d
% file_list Create a file list from a folder % % FLIST = file_list(FOLDER_PARENT,[OPTION1,VALUE1,...]); % % Inputs: % FOLDER_PARENT (string): path to the folder to scan % % Options: % WFILE (double): 1 to backup all files, 0 to backup files with known extensions (defined in get_list_ext_ok); % NREC (double): depth of ...
github
gmaze/gmaze_legacy-master
mailsend.m
.m
gmaze_legacy-master/matlab/codes/inout/mailsend.m
2,412
utf_8
b99a94ad3e24a06b69aed6ab4fb3d19b
% MAILSEND Send an email via the system command 'mail' % % [] = mailsend(email,subject,'body string') % Use a string % [] = mailsend(email,subject,'body line1 \nline 2') % Use \n in string to add new lines % [] = mailsend(email,subject,{'body line1','line 2'}) % Use cell array of strings % [] = mailsend(ema...
github
gmaze/gmaze_legacy-master
get_plotlistfields.m
.m
gmaze_legacy-master/matlab/codes/inout/get_plotlistfields.m
2,877
utf_8
bd42669280dd94c8fc9e26adcc747b0e
% get_plotlistfields Returns the list of fields required by a diag % % [LIST] = get_plotlistfields(MASTER,SUBDIR) % % This function returns the list of fields required by % the modules of MASTER file in SUBDIR % % % Rev. by Guillaume Maze on 2013-07-03: Get rid of variables sla, using fullfile % Created: 2006-05-06. %...
github
gmaze/gmaze_legacy-master
diag_screen.m
.m
gmaze_legacy-master/matlab/codes/inout/diag_screen.m
2,541
utf_8
a1be17a68397e7b086442f4f42722445
% DIAG_SCREEN Same as DISP but allow to print in a log file % % [] = DIAG_SCREEN(MESSAGE,PID,[FIDLOGFILE],[FORMAT]) % % Print to the screen and/or in a log file % PID = 1 : Print to screen % PID = 2 : Print to file LOGFILE (fid pointer) % % May also use: PID = [1 2] % To make to implementation easier in big routines, a...
github
gmaze/gmaze_legacy-master
getcomputername.m
.m
gmaze_legacy-master/matlab/codes/inout/getcomputername.m
735
utf_8
b88359706b55407965dc544c90b48e50
% GETCOMPUTERNAME returns the name of the computer (hostname) % % name = getComputerName() % % WARN: output string is converted to lower case % % See also SYSTEM, GETENV, ISPC, ISUNIX % function name = getcomputername() [ret, name] = system('hostname'); name = strrep(name,'.cshrc: No such file or directory.','');...
github
gmaze/gmaze_legacy-master
nlines.m
.m
gmaze_legacy-master/matlab/codes/inout/nlines.m
2,185
utf_8
2d9d7faf4d10ca4da1f76ebade41b8b2
% nlines Number of lines in a text file % % N = nlines(file) % % Determine the number of lines in a text file. % Input: file (string) % Output: N (double), number of lines or return NaN if failed % % Created: 2009-11-18. % Copyright (c) 2009, Guillaume Maze (Laboratoire de Physique des Oceans). % All rights reserved. ...
github
gmaze/gmaze_legacy-master
mtags.m
.m
gmaze_legacy-master/matlab/codes/inout/mtags.m
5,085
utf_8
191d64dd15265fba2e6a402e27b4cc3c
% mtags Read/write tags to Matlab function header section % % tags_list = mtags(FILE) % Read the list of tags documented in a Matlab script FILE % % tags_list = mtags(FILE,'add',TAGS) % Add TAGS to the list of tags documented in Matlab script FILE % % tags_list = mtags(FILE,'remove',TAGS) % Remove TAGS from the lis...
github
gmaze/gmaze_legacy-master
ltx_tbll.m
.m
gmaze_legacy-master/matlab/codes/inout/ltx_tbll.m
3,090
utf_8
e388c07c4b8c9e3abe9b429520a17ab0
% ltx_tbll Print a LaTeX table line % % str = ltx_tbll(FORMAT,CONTENT) % % Eg: % ltx_tbll('%0.1f \pm %0.1f',[2 3; 34 12]) % % Created: 2010-11-10. % Copyright (c) 2010, Guillaume Maze (Laboratoire de Physique des Oceans). % All rights reserved. % http://codes.guillaumemaze.org % % Redistribution and use in source a...
github
gmaze/gmaze_legacy-master
tweet.m
.m
gmaze_legacy-master/matlab/codes/inout/tweet.m
3,397
utf_8
9543371611d622f9a25ce2ca12585f55
% tweet Send tweets ! % % [] = tweet(MESSAGE,[PROP,VAL]); % % Send tweets using the system command 'ttytter'. % % Inputs: % MESSAGE: A string with the tweet. % PROP: % - 'to': Send a direct message to VAL % - 'id': Define the account to use to send the tweet. % In this case, VAL is such that the keyfile tty...
github
gmaze/gmaze_legacy-master
updatecolorbar.m
.m
gmaze_legacy-master/matlab/codes/colors/updatecolorbar.m
2,441
utf_8
915e34fa01655a6a43aadb0f3cfe2d03
% updatecolorbar Update colorbars % % [] = updatecolorbar() % % Update colorbars: % When the colormap of a figure is changed, colorbars % are not updated. This function fix this ! % % Note: the function is automatically called by 'colormap' % % Example: % figure; % colormap(jet(128));colorbar % colormap(jet(12)); % d...
github
gmaze/gmaze_legacy-master
mycolormap.m
.m
gmaze_legacy-master/matlab/codes/colors/mycolormap.m
1,035
utf_8
88c53777f8d42724774885177491c26e
% MYCOLORMAP Change colormap resolution % % CMAP = MYCOLORMAP(MAP,NCL) % Change colormap MAP resolution to NCL points % % % Copyright (c) 2004 Guillaume Maze. % http://codes.guillaumemaze.org % % This program is free software: you can redistribute it and/or modify it under the terms of the GNU General ...
github
gmaze/gmaze_legacy-master
cseason.m
.m
gmaze_legacy-master/matlab/codes/colors/cseason.m
2,209
utf_8
c42a1f1b67421931d8795357dff75d41
% cseason Colormap for seasons % % [] = cseason() % % Colormap for seasons % % Created: 2010-02-08. % Copyright (c) 2010, Guillaume Maze (Laboratoire de Physique des Oceans). % All rights reserved. % http://codes.guillaumemaze.org % % Redistribution and use in source and binary forms, with or without % modification,...
github
gmaze/gmaze_legacy-master
cmaptwo.m
.m
gmaze_legacy-master/matlab/codes/colors/cmaptwo.m
1,940
utf_8
6dd73e02a5219b830230591f15806e48
%cmaptwo Join two colormaps % % [] = cmaptwo() % % HELPTEXT % % Created: 2013-01-17. % Copyright (c) 2013, Guillaume Maze (Ifremer, Laboratoire de Physique des Oceans). % All rights reserved. % http://codes.guillaumemaze.org % % Redistribution and use in source and binary forms, with or without % modification, are p...
github
gmaze/gmaze_legacy-master
vivid_contrast.m
.m
gmaze_legacy-master/matlab/codes/colors/vivid_contrast.m
978
utf_8
5cd01947ff2b38c0b8aa84cc3c87a058
% vivid_contrast H1LINE % % [] = vivid_contrast() % % HELPTEXT % % % Created: 2009-08-06. % Copyright (c) 2009 Guillaume Maze. % http://codes.guillaumemaze.org % % This program is free software: you can redistribute it and/or modify it under the % terms of the GNU General Public License as published by the Free Sof...
github
gmaze/gmaze_legacy-master
colormap_plt.m
.m
gmaze_legacy-master/matlab/codes/colors/colormap_plt.m
3,235
utf_8
17d5cbba5d0fa2088230bdcc2e16682a
% colormap_plt Load a colormap from the Matplotlib palette % % [CMAP] = colormap_plt([NAME]) % % Load a colormap from the Matplotlib palette. % If no NAME is specified, we loop through all colormaps on the current figure. % % Created: 2012-02-16. % Copyright (c) 2012, Guillaume Maze (Laboratoire de Physique des Oceans...
github
gmaze/gmaze_legacy-master
bluewhitered.m
.m
gmaze_legacy-master/matlab/codes/colors/bluewhitered.m
3,963
utf_8
27f9034a270248c7bf501a60f87f4256
% BLUEWHITERED Blue, white, and red color map. % % CMAP = BLUEWHITERED(M) % returns an M-by-3 matrix containing a blue to white % to red colormap, with white corresponding to the CAXIS value closest % to zero. This colormap is most useful for images and surface plots % with positive and negative values. ...
github
gmaze/gmaze_legacy-master
logcolormap.m
.m
gmaze_legacy-master/matlab/codes/colors/logcolormap.m
2,736
utf_8
fb6dc1282fefb80e867a17ea6bb1f07a
% LOGCOLORMAP Stretch a colormap extremum toward black and white % % cmap = logcolormap(Ncol,c1,c2,cmapO,[TOPcol,BOTcol]) % Ncol is the number of points in the colormap % [c1 c2] are the stretching parameters % cmap0 is the initial colormap to stretch (N,3) % % EG: % cmap = logcolormap(256,1,2,jet); % % or: % c = [...
github
gmaze/gmaze_legacy-master
clabelcmap.m
.m
gmaze_legacy-master/matlab/codes/colors/clabelcmap.m
3,562
utf_8
00b0056f4fbf42fdf62a7f383219f521
% clabelcmap Create labels for colorbar % % [yt ytl] = clabelcmap(hcb,cx,N,[C,F]) % % Create clean labels for a colorbar % Inputs: % hcb: handle of the colorbar % cx: 2 values of the caxis % N: Number of colors in the colormap % C = 0(default) or 1: specified if labels have to be centered on % each colors or placed o...
github
gmaze/gmaze_legacy-master
canom.m
.m
gmaze_legacy-master/matlab/codes/colors/canom.m
2,275
utf_8
d21302147afb400c42127e6ec7af31e2
% CANOM Center the color axis around zero % % [CX] = CANOM() % % Center the coloraxis on zero % and change the colormap to: % AdvancedColormap('kbswopk') if AdvancedColormap is available % otherwise to: % mapanom2 % % % Copyright (c) 2008 Guillaume Maze. % http://codes.guillaumemaze.org % Revised: 2016-05-25 (G. Maz...
github
gmaze/gmaze_legacy-master
unif.m
.m
gmaze_legacy-master/matlab/codes/colors/unif.m
1,882
utf_8
bd1c9642b7ce06f9e7d4a3a7c18162cb
% UNIF Uniformize colorscale on different figures % % UNIF(FLIST,[CX]) % % Change caxis in all figures (given by their handles in FLIST) % so that they are of the same limits % % Copyright (c) 2004 Guillaume Maze. % http://codes.guillaumemaze.org % % This program is free software: you can redistribute it and/or modi...
github
gmaze/gmaze_legacy-master
thinnercolorbar.m
.m
gmaze_legacy-master/matlab/codes/colors/thinnercolorbar.m
4,679
utf_8
aed5d66ab18dbb8cb45d35136a5e9042
% thinnercolorbar Change colorbars thickness in groups % % [] = thinnercolorbar(CL,OPTIONS) % % Change colorbars thickness in groups % % Inputs: % CL: a list of colorbars handles % OPTIONS: a pair from: % 'verticalAlignment' (string) : 'b' (bottom) or 'm' (middle, default) or 't' (top) % 'horizontalAlignment' (st...
github
gmaze/gmaze_legacy-master
test_vivid.m
.m
gmaze_legacy-master/matlab/codes/colors/test_vivid.m
4,748
utf_8
b4def9f1cc18e0852a2676842f3c2f2f
function varargout = test_vivid(varargin) % TEST_VIVID M-file for test_vivid.fig % TEST_VIVID, by itself, creates a new TEST_VIVID or raises the existing % singleton*. % % H = TEST_VIVID returns the handle to a new TEST_VIVID or the handle to % the existing singleton*. % % TEST_VIVID('CALLBACK'...
github
gmaze/gmaze_legacy-master
newclim.m
.m
gmaze_legacy-master/matlab/codes/colors/newclim.m
2,140
utf_8
2aac5d7d69ee61e08f273e8a54e65e1b
% NEWCLIM Used to get more than 1 colormap in subplot windows % % CLim = newclim(BeginSlot,EndSlot,CDmin,CDmax,CmLength) % Convert slot number and range % to percent of colormap % Used to get more than 1 colormap in subplot windows. % % For example: % % z = peaks(25); % map1=jet...
github
gmaze/gmaze_legacy-master
mycolormaps_create.m
.m
gmaze_legacy-master/matlab/codes/colors/mycolormaps_create.m
1,769
utf_8
93b01dfd531bea0b39dc02488b751e85
% mycolormaps_create H1LINE % % [] = mycolormaps_create(which_cmap) % % HELPTEXT % % % Created: 2009-06-18. % Copyright (c) 2009 Guillaume Maze. % http://codes.guillaumemaze.org % % This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published ...
github
gmaze/gmaze_legacy-master
cmapa.m
.m
gmaze_legacy-master/matlab/codes/colors/cmapa.m
2,955
utf_8
ed3bacc95f552fd826e9c00a5cd7c9cc
% cmapa change colormap for anomalies % % [] = cmapa([TYP],[Nc]) % % TYP=1 Color (default) % TYP=2 B&W % % Created: 2010-01-11. % Copyright (c) 2010, Guillaume Maze (Laboratoire de Physique des Oceans). % All rights reserved. % http://codes.guillaumemaze.org % % Redistribution and use in source and binary forms, wit...
github
gmaze/gmaze_legacy-master
thincolorbar.m
.m
gmaze_legacy-master/matlab/codes/colors/thincolorbar.m
15,908
utf_8
ea46237527ab2484d6f88339fc1475cd
% THINCOLORBAR Display thinner colorbar % % This is a modification of Matlab's colorbar function that % generates thinner colorbars. % % THINCOLORBAR('vert') appends a vertical color scale to the current % axes. THINCOLORBAR('horiz') appends a horizontal color scale. % % THINCOLORBAR(H) places the thincolorbar in...
github
gmaze/gmaze_legacy-master
scalprod.m
.m
gmaze_legacy-master/matlab/codes/geophysic/scalprod.m
5,904
utf_8
eca3096fc4d5d6c64ae33da29be49756
% scalprod Cross or dot product of two 3D scalar fields % % [a1,a2,a3] = scalprod(DZ,DY,DX,A,B,WPROD) % % Compute either the cross or dot products of the two % scalar fields A and B. % A and B are of dimensions: (NZ,NY,NX) % DX,DY,DZ are distances between A,B grid points % DX: DX(NZ,NY,NX-1) % DY: DY(NZ,NY-1,NX) % ...
github
gmaze/gmaze_legacy-master
simplify_unit.m
.m
gmaze_legacy-master/matlab/codes/geophysic/simplify_unit.m
11,680
utf_8
e307109e75528c4abe4c81abf5fd358d
% simplify_unit Simplify unit expression % % U = simplify_unit(U,[VERB]) % % Simplify unit expression U. % U is a string with products and ratios of units % such like: 'm^2/s' % Option VERB set to 1/true will print some infomations on % screen. % % Remarks: % Powers can be handled if between (.) % Blank spaces are ...
github
gmaze/gmaze_legacy-master
get_thdv2.m
.m
gmaze_legacy-master/matlab/codes/geophysic/get_thdv2.m
6,609
utf_8
d5659a3d9d892230bed210252e1b4cda
% get_thdv2 H1LINE % % [] = get_thdv2() % % HELPTEXT % % Created: 2011-06-07. % Copyright (c) 2011, Guillaume Maze (Laboratoire de Physique des Oceans). % All rights reserved. % http://codes.guillaumemaze.org % % Redistribution and use in source and binary forms, with or without % modification, are permitted provide...
github
gmaze/gmaze_legacy-master
get_mmld_along_track.m
.m
gmaze_legacy-master/matlab/codes/geophysic/get_mmld_along_track.m
2,870
utf_8
6e700a1421d03c000de5256015634de9
% get_mmld_along_track Get Boyer-Montegut MLD climatology along a track % % H = get_mmld_along_track(x,y,[M]) % % Compute the MLD from the de Boyer Montegut Argo monthly climatology along a set of stations. % % Inputs: % x,y: longitude,latitude coordinates of the stations % M: from 1 to 12 for a single month or 112 fo...
github
gmaze/gmaze_legacy-master
get_pyc.m
.m
gmaze_legacy-master/matlab/codes/geophysic/get_pyc.m
3,671
utf_8
b2da3aa10086597efdf1f27af644ba37
% get_pyc Compute pycnocline characteristics % % pyc = get_pyc([ARG,VAL],...) % % HELPTEXT % % Created: 2013-05-10. % Copyright (c) 2013, Guillaume Maze (Ifremer, Laboratoire de Physique des Oceans). % All rights reserved. % http://codes.guillaumemaze.org % % Redistribution and use in source and binary forms, with o...
github
gmaze/gmaze_legacy-master
shiftxORCA025.m
.m
gmaze_legacy-master/matlab/codes/geophysic/shiftxORCA025.m
5,711
windows_1250
d7ba928da53630fe71be57f79dbe8949
function FIELD = shiftxORCA025(FIELD) % shiftxORCA025 Shift an ORCA025 2/3D field for 0-360 longitude convention % % FIELD = shiftxORCA025(FIELD) % Shift an ORCA025 2/3D field for 0-360 longitude convention % % REQUIRED INPUTS: % FIELD: a (1442x1021xZ) array from the original grid % OUTPUTS: % FIELD (1442x1021xZ) shi...
github
gmaze/gmaze_legacy-master
get_WOA05_grid.m
.m
gmaze_legacy-master/matlab/codes/geophysic/get_WOA05_grid.m
1,609
utf_8
ef0b384a9fd15b8899ebedc8880da774
% WOA05_grid Read World Ocean Atlas 2005 grid % % [t,z,y,x] = WOA05_grid(tp) % % tp = '0112' for monthly atlas % tp = '00' for climatology % % % Created: 2009-06-17. % Copyright (c) 2009 Guillaume Maze. % http://codes.guillaumemaze.org % % This program is free software: you can redistribute it and/or modify it under...
github
gmaze/gmaze_legacy-master
get_woa05_along_track.m
.m
gmaze_legacy-master/matlab/codes/geophysic/get_woa05_along_track.m
5,217
utf_8
13026a1936f25fcc5c7b51bae7459703
% get_woa_along_track Interpolate World Ocean Atlas data along a ship track % % [val z] = get_woa_along_track(x,y,'VAR',[IM]) % % Interpolate World Ocean Atlas data along a ship track given by (x,y) % VAR: % 'temp','t','temperature','theta' % 'psal','salt','s','salinity' % 'oxyl' % 'aou' % 'oxsl' % % IM could be a num...
github
gmaze/gmaze_legacy-master
drawmpoly.m
.m
gmaze_legacy-master/matlab/codes/geophysic/drawmpoly.m
3,797
utf_8
24993885a0ef76d9623aa9c72ecca045
% drawpoly Draw a polygon on a map (using m_map) % % [LON LAT HL] = drawmpoly; % % Draw a polygon on a map by mouse clicks and return coordinates % of the closed polygon. % % Outputs: % LON: Longitude of the polygon points % LAT: Latitude of the polygon points % HL: Handle of the polygon plotted on the map % % Use % ...
github
gmaze/gmaze_legacy-master
dwn_nao.m
.m
gmaze_legacy-master/matlab/codes/geophysic/dwn_nao.m
3,188
utf_8
a465f46ba91a64f83c86f0eca43b584e
% dwn_nao Download the monthly NAO index % % [NAO_index, NAO_time] = dwn_nao([DT]) % % Download the monthly NAO index at: % http://www.cpc.noaa.gov/products/precip/CWlink/pna/norm.nao.monthly.b5001.current.ascii % % Inputs: % DT is the time step of the time serie: % 'm': Monthly mean (default) % 'y': Annual mean % ...
github
gmaze/gmaze_legacy-master
compute_air_sea_o2_flux.m
.m
gmaze_legacy-master/matlab/codes/geophysic/compute_air_sea_o2_flux.m
4,750
utf_8
07c1b9ca8845457b820d56e0ebd50b85
% compute_air_sea_o2_flux Compute air-sea oxygen flux % % F = compute_air_sea_o2_flux(METHOD,PARAMETERS) % % Compute air-sea oxygen flux in mol/m2/s % F is positive upward, ie for outgasing (reduction of oceanic O2) % % Inputs: % METHOD can 1 or 2: % METHOD = 1 : Compute the thermal component of the flux % as: F = -d...
github
gmaze/gmaze_legacy-master
constraint_jstar.m
.m
gmaze_legacy-master/matlab/codes/geophysic/constraint_jstar.m
6,836
utf_8
45da55460bf6c59b4efe9b833802ac45
% constraint_jstar H1LINE % % [Jstarinv Jstar zstar z0 zt zb zthd] = constraint_jstar(DPT,T,S,O2) % % Eg: % % % Created: 2009-12-30. % Copyright (c) 2009, Guillaume Maze (Laboratoire de Physique des Oceans). % All rights reserved. % http://codes.guillaumemaze.org % % Redistribution and use in source and binary form...
github
gmaze/gmaze_legacy-master
dinterp3bin_grid.m
.m
gmaze_legacy-master/matlab/codes/geophysic/dinterp3bin_grid.m
1,706
utf_8
50b6be44169bd99955dd70694cd0f907
% DINTERP3BIN_GRID Compute the new grid for DINTERP3BIN interpolated fields % % [xHR,yHR,zHR] = DINTERP3BIN_GRID(x,y,z,subdomain,Rfact) % % subdomain = [ix1 ix2 iy1 iy2 iz1 iz2] is the domain for which the new grid % is computed. % x positive eastward % y positive northward % z<0, from top to bottom % % Created by Gu...
github
gmaze/gmaze_legacy-master
udunits.m
.m
gmaze_legacy-master/matlab/codes/geophysic/udunits.m
3,889
utf_8
d1b8a9ef7f171db07f75f13e6f099e48
% udunits Unidata units library % % [INFO] = udunits(UNIT) % % Standard units definitions for Unidata softwares (netcdf...) % % Input: % UNIT is a string to look for in the database units name. % It is case sensitive. % % Output: % INFO is a cell of structure with fields: % name: Unit name % plural: indicates whet...
github
gmaze/gmaze_legacy-master
select_1transect.m
.m
gmaze_legacy-master/matlab/codes/geophysic/select_1transect.m
3,844
utf_8
dd68a91dbfb8c026812e1fbb95f41937
% select_1transect Extract only one transect from a campaign % % [] = select_1transect(x,y,x0,y0,[dd]) % % From a serie of profiles, we select only those % forming a specific section within a multiple % transects campaign. % % % Created: 2009-06-15. % Copyright (c) 2009 Guillaume Maze. % http://codes.guillaumemaze.or...
github
gmaze/gmaze_legacy-master
get_woa13_along_track.m
.m
gmaze_legacy-master/matlab/codes/geophysic/get_woa13_along_track.m
6,265
windows_1250
559043a0a010fe6eeb2c8d7ff97c179c
function varargout = get_woa13_along_track(varargin) % get_woa13_along_track H1LINE % % [val z] = get_woa13_along_track(x,y,'VAR') % % Inteprolate WOA13 with Bi-linear interpolation at each depth level % TIME SPAN: % 5564: 1955 - 1964 (First decade with sufficient data for climatological mean fields) % 6574: 1965 -...
github
gmaze/gmaze_legacy-master
piston_velocity.m
.m
gmaze_legacy-master/matlab/codes/geophysic/piston_velocity.m
3,001
utf_8
d8bc27c1f8a349eb880c7f1c9d2eb64b
% piston_velocity Compute a gaz air-sea interface transfer velocity (piston velocity) % % K = piston_velocity(GAZ,PARAMETERS) % % Compute a gaz transfer velocitiy (piston velocity) for gaz GAZ. % PARAMETERS depend on GAZ (see inputs here-after) % % Inputs: % GAZ (string): the gaz to compute piston velocity for. In ca...
github
gmaze/gmaze_legacy-master
load_maskOCCA.m
.m
gmaze_legacy-master/matlab/codes/geophysic/load_maskOCCA.m
2,320
utf_8
430d25863a1717bb357b84afbf4b9c8d
% LOAD_MASKOCCA Load any mask from OCCA % % [mask_C mask_U mask_V mask_W] = load_maskOCCA(path_to_the_hrid_files) % % % Created by Guillaume Maze on 2008-10-14. % Copyright (c) 2008 Guillaume Maze. % http://www.guillaumemaze.org/codes % % This program is free software: you can redistribute it and/or modify % it...
github
gmaze/gmaze_legacy-master
typicalyear.m
.m
gmaze_legacy-master/matlab/codes/geophysic/typicalyear.m
1,890
utf_8
1211efc5eb6f20a4f6786ecde5f64976
% typicalyear Compute a typical year from a daily volume time serie % % [] = typicalyear(V,pivot,t0) % % pivot = '1231' % t0 = datenum('First date of the timeserie') % % Created: 2008-11-06. % Copyright (c) 2008 Guillaume Maze. % http://codes.guillaumemaze.org % % This program is free software: you can redistribute ...
github
gmaze/gmaze_legacy-master
m_drawbox.m
.m
gmaze_legacy-master/matlab/codes/geophysic/m_drawbox.m
1,341
utf_8
103b1377967daeadebba44db5d7f8ac6
% M_DRAWBOX Draw a rectangular box using m_line % % h = m_drawbox(NW,SE,[OPTIONS]) % % Draw a box on a map with upper-left corner coordinates % given by NW(lon,lat) and lower-right corner coord. by SE(lon,lat) % OPTION is any thing from the LINE function options % H is handle of the plotted box % % % Created by Guillau...
github
gmaze/gmaze_legacy-master
distsphere.m
.m
gmaze_legacy-master/matlab/codes/geophysic/distsphere.m
1,525
utf_8
1493ddf57f02868968d6745b68e34075
% distsphere Compute the angle between two points on the sphere % % ALPHA = DISTSPHERE(LON1,LAT1,LON2,LAT2,[FLAG]) % % Compute the angle ALPHA on the sphere between two points given % by (LON1,LAT1) and (LON2,LAT2). % If FLAG = 0, angles are in radian (default) % If FLAG = 1, angles are in degree, % % Create...
github
gmaze/gmaze_legacy-master
guiOCCA.m
.m
gmaze_legacy-master/matlab/codes/geophysic/guiOCCA.m
37,221
utf_8
f13573c98d0ebe2659c8be1591cbb576
% guiOCCA GUI to OCCA dataset % % [] = guiOCCA() % % Graphical User Interface to hlpe create scripts for % Integral Layer Volume Budget (ILVB) diagnostics. % % % Created: 2008-12-12. % Copyright (c) 2008 Guillaume Maze. % http://codes.guillaumemaze.org % % This program is free software: you can redistribute it and/o...
github
gmaze/gmaze_legacy-master
lldist.m
.m
gmaze_legacy-master/matlab/codes/geophysic/lldist.m
6,764
utf_8
ede26c5d9f6eac6ee5a934a0494a3e59
% lldist Compute distance in m between two points on Earth % % D = lldist(LAT,LON,[METHOD]) % % Compute distance in m between two points on Earth. % % Inputs: % LAT (double): Latitude (degree) % LON (double): Longitude (degree) % METHOD (optional, integer): Define the method to use: % 1: (default) Haversine formula %...
github
gmaze/gmaze_legacy-master
convert_oxygen.m
.m
gmaze_legacy-master/matlab/codes/geophysic/convert_oxygen.m
3,974
utf_8
205e9d81819e310bd94493bf63eea1a6
% convert_oxygen O2 unit conversion % % [valout] = convert_oxygen(valin,uin,uout,[aST0]) % % !!! Now call convert_unit routine to convert oxygen !!! % % Cette fonction convertit les données d'oxygène d'une unité à l'autre. % Voir: convert_unit % % valout = valeur d'oxygene converties dans l'unité uout % valin = ...
github
gmaze/gmaze_legacy-master
oc_vmodes.m
.m
gmaze_legacy-master/matlab/codes/geophysic/oc_vmodes.m
2,993
utf_8
5f2a6c58b85dc9f188652fd34237b128
% oc_vmodes Compute vertical mode solutions % % [] = oc_vmodes(Z,ST) % % Computing oceanic vertical mode profiles % % Created: 2011-01-13. % Copyright (c) 2011, Guillaume Maze (Laboratoire de Physique des Oceans). % All rights reserved. % http://codes.guillaumemaze.org % % Redistribution and use in source and binary...
github
gmaze/gmaze_legacy-master
getdH.m
.m
gmaze_legacy-master/matlab/codes/geophysic/getdH.m
3,614
utf_8
436a8f5da76abb65ff1c797976180b3d
% getdH Compute Layer thickness from a vertical axis % % [dH Zw dZw] = getdH(Z) Return the layer thickness of each level % assuming that centers are at middle between interfaces. % % Also return the interface depth (Zw) and interface distance (dZw) % % Created: 2013-07-22. % Copyright (c) 2013, Guillaume Maze (Ifreme...
github
gmaze/gmaze_legacy-master
convX.m
.m
gmaze_legacy-master/matlab/codes/geophysic/convX.m
2,774
utf_8
a2c3c614874253accb0e5593efed61c0
% convX Convert longitude convention % % lon = convX(lon,[idconv]) % % Convert longitude from one convention to another: % Inputs: % lon: The longitudes to convert (any dimensions) % idconv: One of the following: % 1 (default): Convert to longitude East, ie: 0 < lon < 360 % 0: Convert to longitude East/West, ie:...
github
gmaze/gmaze_legacy-master
dlowerres.m
.m
gmaze_legacy-master/matlab/codes/geophysic/dlowerres.m
3,151
utf_8
e601af4edc6f80a32997adffada3fdb8
% DLOWERRES Reduce the resolution of a field % % Clr = DLOWERRES(DS_Fact,Chr,[Mopt]) % % Lower the resolution of a field by summing grid cells % DS_fact is the downscaling factor % Chr(z,y,x) or Chr(y,x) % Mopt = 0 (default) to average cell values % Mopt = 1 to sum cell values % DS_fact is the downscaling factor % % Cr...
github
gmaze/gmaze_legacy-master
get_pyc_idvgrads_v2b.m
.m
gmaze_legacy-master/matlab/codes/geophysic/get_pyc_idvgrads_v2b.m
34,540
utf_8
15d152b6cc89e131ead996c97827aa7c
% idvgrads_v2 Identify profile properties based on N2 % % [] = idvgrads_v2([PARAMETER,VALUES]) % % Identify profile properties based on N2 % % Inputs: % % Outputs: % % % Created: 2013-03-12 % http://code.google.com/p/copoda % Copyright 2013, COPODA % Permission is hereby granted, free of charge, to any person obtaini...
github
gmaze/gmaze_legacy-master
get_thd.m
.m
gmaze_legacy-master/matlab/codes/geophysic/get_thd.m
15,148
utf_8
f421283881c4c178284ec36bed09eb05
% get_thd Determine the seasonal and main thermocline depths % % [THD THD_sc QC R D] = get_thd(ST,DPT,[PLOT],[DZMETHOD],[SMOOTHING]) % % Determine the seasonal and main thermocline depths from the vertical % density gradient. % % We assume the seasonal and main thermoclines to induce two significant % peaks in the ver...
github
gmaze/gmaze_legacy-master
diag_PV.m
.m
gmaze_legacy-master/matlab/codes/geophysic/diag_PV.m
1,159
utf_8
a7ea27fa6f533c064c5ec886ff0d748e
% PV = diag_PV(LON,LAT,DPT,SIGMATHETA,RHO) % % Compute a simple potential vorticity as: % PV = -f/RHO * dSIGMATHETA/dz % % PV is given on the SIGMATHETA vertical grid % % 2008/02/14 % gmaze@mit.edu % function varargout = diag_PV(varargin) % Axis: lon = varargin{1}; lat = varargin{2}; dpt = varargin{3}; nlon = length...
github
gmaze/gmaze_legacy-master
diagHatisoC.m
.m
gmaze_legacy-master/matlab/codes/geophysic/diagHatisoC.m
4,286
utf_8
8cdbad5f74038cef3cc958e358fcc521
% diagHatisoC Compute iso-surface of a 3D field % % [H,[dH,h,dh]] = diagHatisoC(C,Z,isoC,[dC]) % % Given the 3D field C(depth,n1,n2) and the vertical % axis Z(<0,downward), this function computes the 2D % iso-surface such like C(H or h) = isoC % Eventualy computes a thickness with parameter dC. % % OUTPUTS: % H(n1,n2)...
github
gmaze/gmaze_legacy-master
plotts.m
.m
gmaze_legacy-master/matlab/codes/geophysic/plotts.m
3,075
utf_8
e44e0d1c3ab0ff1f3d55b669190782d7
% plotts Plot Temperature, Salinity on a T,S diag % % [p,h,cs,cl] = plotts(TEMP,SALT,[OPT,VAL]) % % Plot temperature TEMP and salinity SALT on a T/S diagram. % Output: % - p: handle for points % - h: handle for density contours % - cs: density contours matrix % - cl: handle of density labels % % Options OPT/VAL: % - ...
github
gmaze/gmaze_legacy-master
csvreadargo2.m
.m
gmaze_legacy-master/matlab/codes/geophysic/csvreadargo2.m
5,119
utf_8
a578625b15fdba472b19a97d8ae77138
% csvreadargo2 H1LINE % % [] = csvreadargo2() % % HELPTEXT % % Created: 2009-11-18. % Copyright (c) 2009, Guillaume Maze (Laboratoire de Physique des Oceans). % All rights reserved. % http://codes.guillaumemaze.org % % Redistribution and use in source and binary forms, with or without % modification, are permitted p...
github
gmaze/gmaze_legacy-master
diag_interpallREQ.m
.m
gmaze_legacy-master/matlab/codes/geophysic/diag_interpallREQ.m
5,502
utf_8
5f577e2adb98ebaa16d3d84e9010311d
% NEWFIELD = diag_interpallREQ(FIELD,LON,LAT,netcdf_domain,resolution,... % [grid]) % % We interpolate linearly FIELD(LAT,LON) on a grid, independant of the dataset % with a resolution on the domain netcdf_domain. % % [grid] = 'T' or 'U' or 'V' % Indicate where the field is on the C-grid % ...
github
gmaze/gmaze_legacy-master
csvreadargo.m
.m
gmaze_legacy-master/matlab/codes/geophysic/csvreadargo.m
4,693
utf_8
83308ed4ab87d1933f0c1692880d6d19
% csvreadargo H1LINE % % [] = csvreadargo() % % HELPTEXT % % Created: 2009-11-17. % Copyright (c) 2009, Guillaume Maze (Laboratoire de Physique des Oceans). % All rights reserved. % http://codes.guillaumemaze.org % % Redistribution and use in source and binary forms, with or without % modification, are permitted pro...
github
gmaze/gmaze_legacy-master
getdSb.m
.m
gmaze_legacy-master/matlab/codes/geophysic/getdSb.m
3,799
utf_8
8f566ce7e0261579063739d24d8b8fd9
function dS = getdSb(lat,lon,varargin) % getdSb Compute centered surface elements from latitude/longitude axis % % dS = getdSb(lat,lon) Compute centered surface elements from % lat/lon axis using quadrangles. % % Inputs: % with N the number of latitude, M the number of longitude: % lat [1xN] or [MxN] is latitude ax...
github
gmaze/gmaze_legacy-master
get_mld.m
.m
gmaze_legacy-master/matlab/codes/geophysic/get_mld.m
4,026
ibm852
95e314c15fb404c5a4940e0e64354e39
% get_mld Compute a mixed layer depth % % ------------------ Method 1: % H = get_mld(S,T,Z) Compute a mixed layer depth (MLD) from vertical profiles % of salinity and temperature, given depth of samples. % The MLD is the first depth for which: % SIG0(T,S) > SIG0(T(z=0)-0.8,S(z=0)) % Inputs: % S: salinity (PSS-78, ...
github
gmaze/gmaze_legacy-master
is_in_box.m
.m
gmaze_legacy-master/matlab/codes/geophysic/is_in_box.m
2,970
utf_8
45586af7abb8a9494d8efd382097feb8
% is_in_box Identify points inside a geographical domain or box % % I = is_in_box(BOX,x,y) % % Determine indeces I in the list of points (x,y) which % are inside the polygon defined by [BOX.lon,BOX.lat] % % Created: 2013-03-14. % Copyright (c) 2013, Guillaume Maze (Ifremer, Laboratoire de Physique des Oceans). % All r...
github
gmaze/gmaze_legacy-master
getGRD.m
.m
gmaze_legacy-master/matlab/codes/geophysic/getGRD.m
5,726
utf_8
02b5968cff38f19cb6d940b1eda244bf
% getGRD Compute horizontal gradient of a geographical field % % [dCdx dCdy] = getGRD(C,LAT,LON,[flag,grid]) % % Compute horizontal gradient of a geographical field C(LAT,LON) % % OPTIONS: % % flag = 0: lat,lon are normal axis coordinates % flag = 1: lat,lon specify the spacing between coordinates % ie, leng...
github
gmaze/gmaze_legacy-master
schmidt_number.m
.m
gmaze_legacy-master/matlab/codes/geophysic/schmidt_number.m
2,423
utf_8
32b6ae56ea6d57c7bfb97a59891c861b
% schmidt_number Compute a Schmidt number % % Sc = schmidt_number(SPECIES,T,S) % % Compute Schmidt number for SPECIES % % Inputs: % SPECIES (string): Can be: % OXY for oxygen % T (double): temperature in Celsius % S (double): salinity in psu % % Output: % Sc: Schmidt number for SPECIES % % Note: % The Schmidt number ...
github
gmaze/gmaze_legacy-master
get_ovide_track.m
.m
gmaze_legacy-master/matlab/codes/geophysic/get_ovide_track.m
2,618
utf_8
37a52e018cb0239ac075fb2252a4fa60
% get_ovide_track Load OVIDE track % % [lat,lon,dist] = get_ovide_track() % % Load the OVIDE track (lat,lon) of all stations and their distances to Cape Farewell, Greenland % % Created: 2010-03-02. % Copyright (c) 2010, Guillaume Maze (Laboratoire de Physique des Oceans). % All rights reserved. % http://codes.guillaum...
github
gmaze/gmaze_legacy-master
fillgaps.m
.m
gmaze_legacy-master/matlab/codes/geophysic/fillgaps.m
2,030
utf_8
6b9135b7aec185345b8f5378b5b852e6
% fillgaps Try to fill gaps in 2D geograpical field % % [] = fillgaps(LON,LAT,LSMASK,FIELD) % % HELPTEXT % % Created: 2010-07-07. % Copyright (c) 2010, Guillaume Maze (Laboratoire de Physique des Oceans). % All rights reserved. % http://codes.guillaumemaze.org % % Redistribution and use in source and binary forms, w...
github
gmaze/gmaze_legacy-master
dfromo.m
.m
gmaze_legacy-master/matlab/codes/geophysic/dfromo.m
2,214
utf_8
3bdc459b06fbdd065da527d7c76a461b
% dfromo Compute distances of points from an origin % % d = dfromo(LON0,LAT0,LON,LAT,[METHOD]) % % Compute the distance in meters between the point of coordinates % [LON0,LAT0] and all points defined by [LON,LAT]. % % See lldist help for the METHOD option % % Created: 2010-05-31. % Copyright (c) 2010, Guillaume Maze (...
github
gmaze/gmaze_legacy-master
getdS.m
.m
gmaze_legacy-master/matlab/codes/geophysic/getdS.m
6,420
utf_8
895a2db7c698be61ba092da783264889
% getdS Compute 2D surface elements matrix % % [dS, dx, dy] = getdS(LATITUDE,LONGITUDE,[ISSYM,METHOD]) % % Compute 2D surface elements matrix from geographical % axis LATITUDE(northward) and LONGITUDE(eastward) % % Options: % ISSYM = 0/1 indicates if the longitudinal axis is zonaly % symetric or not (by default it's ...
github
gmaze/gmaze_legacy-master
get_pyc_idvgrads_v2.m
.m
gmaze_legacy-master/matlab/codes/geophysic/get_pyc_idvgrads_v2.m
34,324
utf_8
0c59dab5065189c270c16831f97467df
% idvgrads_v2 Identify profile properties based on N2 % % [] = idvgrads_v2([PARAMETER,VALUES]) % % Identify profile properties based on N2 % % Inputs: % % Outputs: % % % Created: 2012-06-12. % http://code.google.com/p/copoda % Copyright 2012, COPODA % Permission is hereby granted, free of charge, to an...
github
gmaze/gmaze_legacy-master
get_elev_along_track.m
.m
gmaze_legacy-master/matlab/codes/geophysic/get_elev_along_track.m
1,654
utf_8
ab4ee24f910641a34d72c702048da280
% elev_along_track Determine topograpahy along ship track % % h = elev_along_track(x,y) % % Determine the bathymetry along the track given % by vectors x,y. % % % Created: 2009-06-16. % Copyright (c) 2009 Guillaume Maze. % http://codes.guillaumemaze.org % % This program is free software: you can redistribute it and/...
github
gmaze/gmaze_legacy-master
convert_unit.m
.m
gmaze_legacy-master/matlab/codes/geophysic/convert_unit.m
13,966
utf_8
b1703e3f22d4684eadd4bbf8b79c7dac
% convert_unit Convert unit of oceanic concentration substance % % NEW_SUBST_CONTENT = convert_unit(SUBST_CONTENT,SUBST_TYPE,UNIT_IN,UNIT_OUT,[SIG0,VERBOSE]) % % Convert concentration of substance SUBST_CONTENT of type SUBST_TYPE % from UNIT_IN to UNIT_OUT. % % Inputs: % SUBST_CONTENT: a double array of any dimension...
github
gmaze/gmaze_legacy-master
eos_insitu_pot.m
.m
gmaze_legacy-master/matlab/codes/geophysic/eos_insitu_pot.m
5,443
utf_8
c18815af2e94348b364212076ea24b1a
% [prd,prhop]=eos_insitu_pot( ptem, psal ,dept,nn_eos) % ptem ! potential temperature [Celcius] % psal ! salinity [psu] % dept ! depth [m] % prd ! in situ density % prhop ! potential density (surface referenced) % ptem psal and dept must be ...
github
gmaze/gmaze_legacy-master
densjmd95.m
.m
gmaze_legacy-master/matlab/codes/geophysic/densjmd95.m
6,587
utf_8
cc431f7236ecce45da2226e4202c021a
% DENSJMD95 Density of sea water %========================================================================= % % USAGE: dens = densjmd95(S,Theta,P) % % DESCRIPTION: % Density of Sea Water using Jackett and McDougall 1995 (JAOT 12) % polynomial (modified UNESCO polynomial). % % INPUT: (all must have same dimensi...
github
gmaze/gmaze_legacy-master
project3don2d.m
.m
gmaze_legacy-master/matlab/codes/geophysic/project3don2d.m
4,002
utf_8
ae1e8130a73a74ab452dc4d3234d4fc1
% project3don2d Project a 3D field on a 2D surface % % C = projetc3don2d(Z,THREEDFIELD,TWODSURFACE) % [Cup Cdw] = projetc3don2d(Z,THREEDFIELD,TWODSURFACE) % [C Cup Cdw] = projetc3don2d(Z,THREEDFIELD,TWODSURFACE) % % Given the vertical axis Z, project the 3D variable THREEDFIELD on the % 2D surface variable TWODSURFACE....
github
gmaze/gmaze_legacy-master
dinterp3bin.m
.m
gmaze_legacy-master/matlab/codes/geophysic/dinterp3bin.m
2,555
utf_8
796ec42aa66f2a13d2a6ab7543bf0621
% DINTERP3BIN Interpolate a 3D field % % C_HR = DINTERP3BIN(C_LR,Rfact) % % Interpolate a 3D field C_LR(Z,Y,X) % LRfact is the factor by which the initial % number of points is increased (must be even) % % Copyright (c) 2008 Guillaume Maze. % http://codes.guillaumemaze.org % % This program is free software: you can r...
github
gmaze/gmaze_legacy-master
load_climOCCA.m
.m
gmaze_legacy-master/matlab/codes/geophysic/load_climOCCA.m
7,151
utf_8
4c49cb7a11c725445f622bfb4f943d45
% LOAD_CLIMOCCA Load any climatological fields from OCCA % % [FIELD1, FIELD2, ...] = load_climOCCA('FIELD1;FIELD2;...',MONTHS) % % MONTHS can be 1 to 12 of a subset like: [1:3] % It may also be simply: 'y', 'year', 'annual' to mean MONTHS=[1:12]; % % EG: % [SST,SSH,U] = load_climOCCA('sst;ssh;u',3); % Will give back t...
github
gmaze/gmaze_legacy-master
getdV.m
.m
gmaze_legacy-master/matlab/codes/geophysic/getdV.m
3,302
utf_8
e0eaa6257969d730928bc105c7d01e6d
% getdV Compute 3D volume elements matrix % % dV = getdV(DEPTH,LATITUDE,LONGITUDE,[ISSYM]) % % Compute 3D volume elements matrix from geographical % axis DEPTH(<0,downward), LATITUDE(northward) and % LONGITUDE(eastward) % % Rev. by Guillaume Maze on 2013-07-18: Added issym option % Created: 2009-04-21. % Copyright (c) ...
github
gmaze/gmaze_legacy-master
get_occaclim_along_track.m
.m
gmaze_legacy-master/matlab/codes/geophysic/get_occaclim_along_track.m
3,034
utf_8
ca1f6db5416378adc40d693486d0b9f3
% get_occa_along_track H1LINE % % [] = get_occa_along_track() % % HELPTEXT % % Created: 2010-02-23. % Copyright (c) 2010, Guillaume Maze (Laboratoire de Physique des Oceans). % All rights reserved. % http://codes.guillaumemaze.org % % Redistribution and use in source and binary forms, with or without % modification,...
github
gmaze/gmaze_legacy-master
diagVOLU.m
.m
gmaze_legacy-master/matlab/codes/geophysic/diagVOLU.m
6,166
utf_8
8dacf1b27c50a00186210877aa53d193
% [V,Cm,E,Vt,CC] = diagVOLU(FLAG,C1,C2,CLASS,LON,LAT,DPT,DV,[Ca(Z,Y,X),Cb(Z,Y,X),...]) % % DESCRIPTION: % Compute the volume of water for a particular CLASS of potential % temperature or density. % Also compute mean values of additional 3D fields (such as Ca, Cb ...) along % the CLASS of the analysed field. % % The vol...
github
gmaze/gmaze_legacy-master
diagCatH.m
.m
gmaze_legacy-master/matlab/codes/geophysic/diagCatH.m
2,297
utf_8
bcaf02cc95a4d5250c64a7c1a5612cd9
% diagCatH Compute a 3D field projection on a 2D surface % % Ch = diagCatH(C,depth,h) % % Get field C(depth,lat,lon) on surface h(lat,lon) using a linear depth level interpolation. % % depth < 0 is the vertical axis % h < 0 is the surface to compute C on. % % Rq: % - Respect upper/lower case in the function name %...
github
gmaze/gmaze_legacy-master
get_WOA13_grid.m
.m
gmaze_legacy-master/matlab/codes/geophysic/get_WOA13_grid.m
2,877
utf_8
f312eea1a160235e1af7b922a8665292
% get_WOA13grid H1LINE % % [t,z,y,x] = get_WOA13grid(GR) % % Load the WOA13 3D grid given a grid resolution % % [gr]-[grlong] represents the grid size, two digit code as follows: % 04 – 0.25 (quarter-degree grid resolution) % 01 – 1.00 (one-degree grid resolution) % 5d – 5.00 (five-degree grid resolution) % % Create...
github
gmaze/gmaze_legacy-master
exportf.m
.m
gmaze_legacy-master/matlab/codes/graphicxFigures/exportf.m
4,716
utf_8
622fe75df7b21568d1c0dfe04a40ba26
% exportf Export a figure to A4 color PDF format % % exportf(GCF,[ORIENTATION,FILE,FOOTNOTE]) % % Export a figure GCF to A4 color pdf,png anf eps formats. % % Default output files are: fig.pdf, fig.png and fig.eps in current directory % or specify it into FILE (extensions are automatic). % % ORIENTATION is an o...
github
gmaze/gmaze_legacy-master
figur.m
.m
gmaze_legacy-master/matlab/codes/graphicxFigures/figur.m
1,621
utf_8
9fc1e82e7a700c4a427b6f61099d4fb2
% FIGUR Create figure window without Menu Bar % % FIGUR, by itself, creates a new figure window, and returns % its handle. % % FIGUR(H) makes H the current figure, forces it to become visible, % and raises it above all other figures on the screen. If Figure H % does not exist, and H is an integ...
github
gmaze/gmaze_legacy-master
maximizeplots.m
.m
gmaze_legacy-master/matlab/codes/graphicxFigures/maximizeplots.m
2,090
utf_8
007f18653d6415caae89393d91cb03d8
% maximizeplots H1LINE % % [] = maximizeplots() % % HELPTEXT % % Created: 2010-07-12. % Copyright (c) 2010, Guillaume Maze (Laboratoire de Physique des Oceans). % All rights reserved. % http://codes.guillaumemaze.org % % Redistribution and use in source and binary forms, with or without % modification, are permitted...
github
gmaze/gmaze_legacy-master
sgetool.m
.m
gmaze_legacy-master/matlab/codes/graphicxFigures/sgetool.m
1,992
utf_8
da9c8db3ce484128b201729c43474dd4
% sgetool Add a button to a figure toolbar to check on SGE scripts in the queue % % [] = sgetool() % % Add a button to a figure toolbar to check on SGE scripts in the queue % % % Created: 2008-11-19. % Copyright (c) 2008 Guillaume Maze. % http://codes.guillaumemaze.org % % This program is free software: you can redi...
github
gmaze/gmaze_legacy-master
footstamp.m
.m
gmaze_legacy-master/matlab/codes/graphicxFigures/footstamp.m
2,045
utf_8
51649fa968f0fb9d37f30156f6f21ed9
% footstamp Create the default footnote for figure % % STR = footstamp([TYP]) % % Create the default footnote string for figure % % TYP (optional): % 1 (default) : % >> footstamp % code@guillaumemaze.org (22-Jul-2009 14:09) % macbook://Users/gmaze/work/Postdoc/work/main/hydrolpo % 2: % >> footstamp(2,[mfilename(...
github
gmaze/gmaze_legacy-master
realgnfootnote.m
.m
gmaze_legacy-master/matlab/codes/graphicxFigures/realgnfootnote.m
1,908
utf_8
415b42f0baf63e6dcddc0861c966f186
% realgnfootnote H1LINE % % [] = realgnfootnote() % % HELPTEXT % % Created: 2010-01-13. % Copyright (c) 2010, Guillaume Maze (Laboratoire de Physique des Oceans). % All rights reserved. % http://codes.guillaumemaze.org % % Redistribution and use in source and binary forms, with or without % modification, are permitt...
github
gmaze/gmaze_legacy-master
graphtool.m
.m
gmaze_legacy-master/matlab/codes/graphicxFigures/graphtool.m
1,715
utf_8
87817389dee2c64cd1d77bb732c84dc8
% graphtool Custom graphic toolbar for figure % % [] = graphtool() % % In devel ! % % % Created: 2008-11-18. % Copyright (c) 2008 Guillaume Maze. % http://codes.guillaumemaze.org % % This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published...
github
gmaze/gmaze_legacy-master
mailtool.m
.m
gmaze_legacy-master/matlab/codes/graphicxFigures/mailtool.m
10,909
utf_8
05eace1d88df8f1047c095a9d083e5dc
% mailtool Email button to figure toolbar % % [] = mailtool() % % Add an "send by email" button to the figure toolbar to % email the figure. % % Created: 2008-11-13. % Copyright (c) 2008 Guillaume Maze. % http://codes.guillaumemaze.org % % This program is free software: you can redistribute it and/or modify it under...
github
gmaze/gmaze_legacy-master
ffband.m
.m
gmaze_legacy-master/matlab/codes/graphicxFigures/ffband.m
2,314
utf_8
4690c65277f1ed2ba50f576d063afd90
% ffband White background thin landscape figure % % [] = ffband() % % Change gcf figure to white background, thin, full screen wide and landscape. % % Created: 2011-06-24. % Rev. by Guillaume Maze on 2012-12-21: Change name from figure_band to ffband % Copyright (c) 2011, Guillaume Maze (Laboratoire de Physique des Oc...
github
gmaze/gmaze_legacy-master
algnfootnote.m
.m
gmaze_legacy-master/matlab/codes/graphicxFigures/algnfootnote.m
2,190
utf_8
834234b525c33c008c08ea37cc022d9f
% algnfootnote Horizontal alignement of the footnote for export % % [] = algnfootnote([GCF]) % % Horizontal alignement of the footnote for export. % % Created: 2010-01-13. % Copyright (c) 2010, Guillaume Maze (Laboratoire de Physique des Oceans). % All rights reserved. % http://codes.guillaumemaze.org % % Redistribu...
github
gmaze/gmaze_legacy-master
figure_tall.m
.m
gmaze_legacy-master/matlab/codes/graphicxFigures/figure_tall.m
1,190
utf_8
1580e7fa081d9a8bef0b84207cb2673f
% FIGURE_TALL White background portrait figure % % figure_tall([H]) % % Set current figure, or with handle H, to a portrait format. % % Copyright (c) 2004 Guillaume Maze. % http://codes.guillaumemaze.org % % This program is free software: you can redistribute it and/or modify it under the terms of the GNU General P...
github
gmaze/gmaze_legacy-master
figs2pdf.m
.m
gmaze_legacy-master/matlab/codes/graphicxFigures/figs2pdf.m
20,055
utf_8
4b2eb26ea725f1fa6112fb25f945c43d
% figs2pdf Save several figures in 1 pdf file % % [] = figs2pdf(PDFFILE,[FIGLIST]) % % Save several figures in 1 pdf file with multiple pages. % % Inputs: % PDFFILE: the output pdf file name (without the pdf extension) % FIGLIST(optional): the list of figure's handle to include in the file % If not specified (default...
github
gmaze/gmaze_legacy-master
showmenu.m
.m
gmaze_legacy-master/matlab/codes/graphicxFigures/showmenu.m
942
utf_8
7f66461b23082753365b7bc6356b1ab3
% SHOWMENU Ensure the menu bar is shown on a figure % % showmenu(GCF) % % Created by Guillaume Maze on 2008-10-14. % Copyright (c) 2008 Guillaume Maze. % http://codes.guillaumemaze.org % % This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publ...