Giter Club home page Giter Club logo

ggpsychro's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

ariel32

ggpsychro's Issues

Mask area overlay blocks everything

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.

No x and y axis texts on basic chart

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.

Basic plot not working

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

Error while running the basic plot of ggpsychro

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!

Readme typo

First quotation:
‘ggplot2’ extension for making pYschrometric charts.

Failed to plot

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
)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.