cbdate

colorbar date formatting.
1,2K download
Aggiornato 10 nov 2014

Visualizza la licenza

This function formats colorbar ticks as dates strings.

Syntax
cbdate
cbdate(h)
cbdate(datenums)
cbdate(datenums,dateformat)
cbdate(datestrs)
cbdate('horiz')
h = cbdate(...)

Description
cbdate converts tick marks of current colorbar to date strings.

cbdate(h) specifies a colorbar handle h on which to perform cbdate. If no handle is specified, cbdate will try to find a current colorbar.

cbdate(datenums) specifies datenums to set as tick marks.

cbdate(datenums,dateformat) specifies date formatting as described in the documentation for datestring. For example, 'mmm yyyy' will print date strings as Nov 2014.

cbdate(datestrs) specifies date strings to use as colorbar ticks.

cbdate('horiz') must be declared if the colorbar is horizontal (pre-R2014b).

h = cbdate(...) returns a colorbar handle h.

Cita come

Chad Greene (2024). cbdate (https://www.mathworks.com/matlabcentral/fileexchange/48413-cbdate), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2014b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Dates and Time in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

cbdate/html/

Versione Pubblicato Note della release
1.0.0.0