Skip to content

Commit 7c30d77

Browse files
author
Fabian Bernhard
committed
docs: Add documentation for postprocessing functions
1 parent a6c3998 commit 7c30d77

4 files changed

+182
-160
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "LWFBrook90"
22
uuid = "100deb6c-4418-4b77-ad5c-a1fadb580743"
33
authors = ["Fabian Bernhard"]
4-
version = "0.7.0"
4+
version = "0.7.1"
55

66
[deps]
77
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"

main_with_isotopes.jl

-35
Original file line numberDiff line numberDiff line change
@@ -503,41 +503,6 @@ function run_main_with_isotopes(;input_prefix, input_path)
503503
# # xlabel = "Date",
504504
# # ylabel = "Depth [mm]",
505505
# # colorbar_title = "δ2H [‰]")
506-
507-
# # TODO: edges of cells in heatmap are not entirely correct. Find a way to override heatmap()
508-
# # where we provide cell edges (n+1) instead of cell centers (n)
509-
# # TODO: e.g. plots_heatmap_edges: @recipe function f(::Type{Val{:plots_heatmap_edges}}, xe, ye, z)
510-
# # TODO: e.g. plots_heatmap_edges: m, n = size(z.surf)
511-
# # TODO: e.g. plots_heatmap_edges: x_pts, y_pts = fill(NaN, 6 * m * n), fill(NaN, 6 * m * n)
512-
# # TODO: e.g. plots_heatmap_edges: fz = zeros(m * n)
513-
# # TODO: e.g. plots_heatmap_edges: for i in 1:m # y
514-
# # TODO: e.g. plots_heatmap_edges: for j in 1:n # x
515-
# # TODO: e.g. plots_heatmap_edges: k = (j - 1) * m + i
516-
# # TODO: e.g. plots_heatmap_edges: inds = (6 * (k - 1) + 1):(6 * k - 1)
517-
# # TODO: e.g. plots_heatmap_edges: x_pts[inds] .= [xe[j], xe[j + 1], xe[j + 1], xe[j], xe[j]]
518-
# # TODO: e.g. plots_heatmap_edges: y_pts[inds] .= [ye[i], ye[i], ye[i + 1], ye[i + 1], ye[i]]
519-
# # TODO: e.g. plots_heatmap_edges: fz[k] = z.surf[i, j]
520-
# # TODO: e.g. plots_heatmap_edges: end
521-
# # TODO: e.g. plots_heatmap_edges: end
522-
# # TODO: e.g. plots_heatmap_edges: ensure_gradient!(plotattributes, :fillcolor, :fillalpha)
523-
# # TODO: e.g. plots_heatmap_edges: fill_z := fz
524-
# # TODO: e.g. plots_heatmap_edges: line_z := fz
525-
# # TODO: e.g. plots_heatmap_edges: x := x_pts
526-
# # TODO: e.g. plots_heatmap_edges: y := y_pts
527-
# # TODO: e.g. plots_heatmap_edges: z := nothing
528-
# # TODO: e.g. plots_heatmap_edges: seriestype := :shape
529-
# # TODO: e.g. plots_heatmap_edges: label := ""
530-
# # TODO: e.g. plots_heatmap_edges: widen --> false
531-
# # TODO: e.g. plots_heatmap_edges: ()
532-
# # TODO: e.g. plots_heatmap_edges: end
533-
# # TODO: e.g. plots_heatmap_edges: @deps plots_heatmap_edges shape
534-
# # TODO: e.g. plots_heatmap_edges: @shorthands plots_heatmap_edges
535-
# # TODO: e.g. plots_heatmap_edges:
536-
# # TODO: e.g. plots_heatmap_edges: Plots.heatmap(x[1:100], y_centers, z[:,1:100])
537-
# # TODO: e.g. plots_heatmap_edges: Plots.heatmap(x[1:100], y_centers, z[:,1:100])
538-
# # TODO: e.g. plots_heatmap_edges: plot(t = :heatmap, x[1:50], y_centers, z[:,1:50]) # works
539-
# # TODO: e.g. plots_heatmap_edges: plot(t = :plots_heatmap, x[1:50], y_centers, z[:,1:50]) # doesn't work
540-
# # TODO: e.g. plots_heatmap_edges: plot(t = :plots_heatmap_edges, x[1:50], y_centers, z[:,1:50]) # doesn't work either
541506
# # # ###################
542507

543508
# # plot(x,

0 commit comments

Comments
 (0)