Skip to content
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

labelling x and y axis of the wtr.heat.map - no error detected but nothing changes on my heat map #122

Open
heatheranneshaw-13 opened this issue Jan 16, 2024 · 2 comments

Comments

@heatheranneshaw-13
Copy link

I'm using the following code to create a heat map with rlakeanalyzer. I'm having problems when I add functions.

When I run

TalusSouthHeatMap <- wtr.heat.map(TalusSouthdf)

I get a graph with a labelled y axis (Depth m). When I add the zlim function the y axis label disappears, and when I try to add the ylab, xlab and plot title nothing happens. No error is detected but nothing on my plot view changes.

This is the code I'm using when all the functions are added.

TalusSouthHeatMap <- wtr.heat.map(TalusSouthdf, zlim=c(0,20), xlab='Date', ylab="Depth (m)", plot.title="Talus South Water Temp (C)")

@heatheranneshaw-13
Copy link
Author

image of my heat map for reference

TalusNorthHeatMap

@spencer-tassone
Copy link

Rather than using plot.title = use main = .

library(rLakeAnalyzer)

wtr = load.ts(system.file('extdata',
                          'sparkling.wtr', package="LakeMetabolizer"))

wtr.heat.map(wtr, main = 'Sparkling Lake Water Temp (C)')

wtr.heat.map(wtr, zlim = c(0,15), main = 'Sparkling Lake Water Temp (C)')

Created on 2024-12-12 with reprex v2.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants