@@ -503,41 +503,6 @@ function run_main_with_isotopes(;input_prefix, input_path)
503
503
# # xlabel = "Date",
504
504
# # ylabel = "Depth [mm]",
505
505
# # 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
541
506
# # # ###################
542
507
543
508
# # plot(x,
0 commit comments