Giter Site home page Giter Site logo

ibarraespinosa / cptcity Goto Github PK

View Code? Open in Web Editor NEW
15.0 3.0 5.0 9.47 MB

7140 colour palletes in an R package to play!

Home Page: https://ibarraespinosa.github.io/cptcity/

R 100.00%
colour-palette cpt-city cptcity gradient r color colors colour colours

cptcity's Introduction

Hi there ๐Ÿ‘‹

  • ๐Ÿ”ญ Iโ€™m currently working on vehicular emissions inventories, mobility, environment and interactions with COVID-19
  • ๐ŸŒฑ Iโ€™m currently learning Fortran in R packages
  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on paper to estimate vehicular emissions in different countries
  • ๐Ÿค” Iโ€™m looking for help with data to estimate vehicular emissions in different countries
  • ๐Ÿ’ฌ Ask me about VEIN R package
  • ๐Ÿ“ซ How to reach me: [email protected]
  • โšก Fun fact: Check my YouTube Channel
  • Buy me a CoFFee

cptcity's People

Contributors

dependabot[bot] avatar ibarraespinosa avatar salvatirehbein avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

cptcity's Issues

append colour palettes

Sometimes one colour palette is not enough and we wish to append one or more to produce the results that we want

Minor spelling issue

A selection of colours is a palette, while a pallet is a wooden support for transporting things.
single-pallet

I don't think pallete is a word in English at all.

update database and show colors

fd <- function(x) {
oldpar <- par(no.readonly = TRUE)
par(mfrow = c(10,10), mar =c(0,0,0,0))
for(i in seq_along(x)){
image(matrix(1:100), col = cpt(x[i]), frame = F, xaxt = "n", yaxt = "n")
text(x = 50, y = 1, labels = i)
}
on.exit(par(oldpar))
}

find_cpt("sky")[2]
fd(find_cpt("sky")[1])
image(matrix(1:10))

I need to define the dimensions of mfrow automatically according to length of vector

add argument to return colorRamp

Lattice plots (sf, mapview, etc) uses col.regions with level.colors. It means they need a colorRamp function. it would be usefull to add an argument to lucky and cpt to use cptcity in these packages.

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.