-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
changing scale on heat map (thermal profile through time) #195
Comments
I like this idea, and I think it should be supported. I would suggest adding an additional argument to the heatmap functions that lets you pass in a range. Right now I think you can specify a palette, but the range is auto-calculated, which is a bit limiting. |
working on a pull request for this. But it is just for Syntaxsim_folder <- run_example_sim(verbose = FALSE)
nc_file <- file.path(sim_folder, 'output.nc')
nml_file <- file.path(sim_folder, 'glm2.nml')
field_file <- file.path(sim_folder, 'field_data.tsv')
plot_temp_compare(nc_file, field_file, fig_path='test.png', col_lim=c(3.5,35)) This will lock the color range to 3.5-35°C |
Thanks. On Mon, Mar 14, 2016 at 9:15 AM, Luke Winslow notifications@github.com
Kyle Christianson |
I think you will need to update the package @KRChristianson library(devtools)
install_github('USGS-R/glmtools') does that work for you? |
I received the following error: Error in loadNamespace(j <- i[[1L]], On Mon, Mar 14, 2016 at 1:45 PM, Jordan S Read notifications@github.com
Kyle Christianson |
You had that error with this command?
if you don't have devtools, can you install it w/ |
I've gotten that before. It's sometimes useful to restart R and force the install.packages('sp')
library(devtools)
install_github('USGS-R/glmtools') |
yeah, but |
That worked! Many thanks! I am still working on learning the workings of On Mon, Mar 14, 2016 at 2:23 PM, Jordan S Read notifications@github.com
Kyle Christianson |
No, but for whatever reason, I've run into that exact thing on various packages. |
weird. Haven't hit that one. Keep us posted as to how that new |
I am trying to compare heat maps of different waters, however, the thermal scale of varying colors changes from map to map, making it difficult to make comparisons. Any ideas on how to be able to set a color scale?
The text was updated successfully, but these errors were encountered: