Skip to content

stephancb/ColormapsOcean.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ColormapsOcean

Build Status

Coverage Status

codecov.io

ColormapsOcean.jl

This package makes the beautiful color maps for oceanography, cmocean, available for the PlotlyJS package.

See also

Thyng, K. M., C. A. Greene, R. D. Hetland, H. M. Zimmerle, and S. F. DiMarco. 2016. True colors of oceanography: Guidelines for effective and accurate colormap selection. Oceanography 29(3):9–13, doi:10.5670/oceanog.2016.66.

Example:

cmaps=[:algae,:amp,:balance,:curl,:deep,:delta,:dense,:gray,:haline,:ice,:matter,:oxy,:phase,:solar ,:speed,:tempo,:thermal,:turbid]
x=linspace(0,1,256);
p=[[plot(heatmap(x=x,y=[0,1],z=hcat(x,x),colorscale=cmocean[cm],showscale=false), Layout(title=String(cm), xaxis_showticklabels=false)) for cm in cmaps]...];
relayout!(p, height=1080, width=400); display(p);

ocean colormaps

About

Julia package for using the beautiful color maps for oceanography with PlotlyJs.jl

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.md

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages