I have the following contour graph of sea temperatures at different sea depths. I want to shade out the area beneath the max depth at each x axis point to represent the sea floor. How could I reverse the shaded portion as seen on the following image?
The code I’ve used to generate this is:
plot_ly(data = sampleData1, x=~factor(Station_No), y=~-Depth_Sample, z=~Temperature, type = "contour", colorscale='Jet') %>% add_trace(x = ~factor(Station_No), y = ~-Depth_Max, type = "scatter", mode = "ribbon", fill='tozeroy')