Closed paleolimbot closed 3 years ago
Making progress!
library(ggplot2)
library(ggoce)
data(ctd, package = "oce")
ggplot(ctd, aes(salinity, temperature)) +
geom_isopycnal() +
geom_point()
#> Loading required package: oce
#> Loading required package: gsw
#> Loading required package: testthat
#> Warning: package 'testthat' was built under R version 4.0.4
#> Loading required package: sf
#> Linking to GEOS 3.8.0, GDAL 3.0.4, PROJ 6.3.1
Created on 2021-04-29 by the reprex package (v2.0.0)
See
oce::drawIsopycnals()
( https://github.com/dankelley/oce/blob/7f1fc09785723005d23195c076e9b4462993e2cd/R/ctd.R#L4674-L4746 )