hongyuanjia / ggpsychro Goto Github PK
View Code? Open in Web Editor NEW[WIP] 'ggplot2' extension for making pyschrometric charts
Home Page: https://hongyuanjia.github.io/ggpsychro/
License: Other
[WIP] 'ggplot2' extension for making pyschrometric charts
Home Page: https://hongyuanjia.github.io/ggpsychro/
License: Other
You can't add anything over the "mask area" since it is manually rendered as the last item. It would be nice if we could add text in that nice big white space.
Hello,
Trying to plot the psychrometric chart with the basic command line:
ggpsychro(tdb_lim = c(0, 50), hum_lim = c(0, 50), units = "IP")
I obtain the chart with no X and Y axis text. I do have axis title but no text indicating the X and Y axis values.
I know i can add it using scale_x_continuous
but I don't know how to do it for the Y-axis on the right.
And above all, I would like to understand why it is not displayed by default in my case.
Thanks in advance.
Current grid colors are too distracting.
Please briefly describe your problem and what output you expect. If you have a question, please don't use this form. Instead, ask on https://stackoverflow.com/ or https://community.rstudio.com/.
Please include a minimal reproducible example (AKA a reprex). If you've never heard of a reprex before, start by reading https://www.tidyverse.org/help/#reprex.
Hi,
I'm not being able to get the basic plot. See the error below.
It was working a month ago, but not anymore, not sure why.
Thanks for your help.
# insert reprex here
> ggpsychro() +
+ geom_grid_relhum() +
+ geom_grid_wetbulb() +
+ geom_grid_vappres() +
+ geom_grid_specvol() +
+ geom_grid_enthalpy()
Error in if (scale_grid$scale_name == "wetbulb") { :
argument is of length zero
I use R 4.4.0 and run the ggpsychro to plot the psuchrometric plot. While I run the basic plot as the example shows, it give the error. I'n not sure whether it the package needs update or not.
Here is the code:
> ggpsychro(tdb_lim = c(0, 50), hum_lim = c(0, 50), units = "IP")
Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) :
invalid non-character version specification 'x' (type: double)
In addition: Warning messages:
1: The `scale_name` argument of `continuous_scale()` is deprecated as of ggplot2 3.5.0.
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated.
2: The `trans` argument of `continuous_scale()` is deprecated as of ggplot2 3.5.0.
ℹ Please use the `transform` argument instead.
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated.
Look forward to hearing from you!
Thanks!
First quotation:
‘ggplot2’ extension for making pYschrometric charts.
Questions sent via email from one user:
library(ggplot2)
library(psychrolib)
library(ggpsychro)
library(checkmate)
library(eplusr) # for reading EPW data
setwd("E:/FAR")
x<- read.delim("E:/FAR/input.txt")
datamto=as.data.frame(x)
ggpsychro(
data = datamto,
mapping = aes(datamto$T2M_MAX, datamto$RH2M),
tdb_lim = c(0, 50),
hum_lim = c(0, 100),
altitude = 0L,
mask_style = waiver(),
sat_style = waiver(),
units = "SI",
mollier = FALSE
)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.