GLEON / rLakeAnalyzer

An R version of Lake Analyzer
43 stars 26 forks source link

rLakeAnalyzer - create consistent temperature gradient/legend for reference of lake temps #121

Open heatheranneshaw-13 opened 8 months ago

heatheranneshaw-13 commented 8 months ago

I have two sets of data from two lakes that are located 400m apart. I have created a heat map for both lakes and would like to compare the heat maps. I am wondering if there is a way to set the range of the temperature gradient/legend. The way it is now it is hard to compare heat maps because the temperature legend is different for each. On one map 15 degrees Celsius is represented by a green colour band, and on the other 15 degrees Celsius is represented by a red colour band. This makes it visually hard to compare heat maps. I'm hoping to create a temp gradient/legend that is consistent for both.

Example of maps: TalusNorthHeatMap TalusSouthHeatMap

hdugan commented 8 months ago

This doesn't necessarily answer your question, but there's a similar function in the R packge {glmtools} (https://github.com/GLEON/glmtools) that has more customization options.

see plot_var_df @param zlim Color palette limits for z-variable

heatheranneshaw-13 commented 8 months ago

Thanks I'll check it out