This release of unikn (v0.9.0) reduces its functionality by migrating some color palettes to a new R\ package unicol. [2023-08-09]
Changes since last release:
Add user feedback when newpal()
uses col
and names
of different lengths.
Add is_col_pal()
utility function.
README
. The current development version of unikn is available at https://github.com/hneth/unikn/.
This release of unikn (v0.8.0) extends its functionality to additional color palettes. [2023-01-06]
Changes since last release:
Add color palettes of the following academic institutions:
caltech_pal_1
, caltech_pal_2
, caltech_pal_3
fu_pal_0
, fu_pal_1
, fu_pal_2
, fu_pal_3
hu_pal_1
, hu_pal_2
lmu_pal_1
, lmu_pal_2
, lmu_pal_3
uni_bonn_1
, uni_bonn_2
uni_goettingen_1
, uni_goettingen_2
, uni_goettingen_3
uni_hamburg_1
, uni_hamburg_2
uni_jena_1
, uni_jena_2
uni_kiel_1
, uni_kiel_2
uni_koeln_1
, uni_koeln_2
uni_mannheim_1
, uni_mannheim_2
uni_regensburg_1
, uni_regensburg_2
, uni_regensburg_3
uni_ulm_1
, uni_ulm_2
rpi_pal_1
, rpi_pal_2
, rpi_pal_3
rptu_pal
Updated color palettes:
eth_pal
, eth_pal_light
, eth_pal_grey
to eth_pal_1
, eth_pal_2
, eth_pal_3
, respectively mpg_pal
(based on RGB values and extended to 5 colors) uni_freiburg_0
, uni_freiburg_1
, uni_freiburg_2
,
(added to palettes from\ 2022: uni_freiburg_br
, uni_freiburg_blue
, uni_freiburg_grey
, uni_freiburg_info
) uni_konstanz
and uni_konstanz_pref
to uni_konstanz_1
and uni_konstanz_2
, respectively col_asif_alpha()
and v_col_asif_alpha()
. This release of unikn (v0.7.0) adds and improves functionality and fixes some bugs. [2022-11-10]
Changes since last release:
seecol("add")
for palettes). type = 'curve'
option to demopal()
for evaluating transparent color palettes. Improve demopal()
function:
type = "scatter"
to those of other options. type
inputs. ...
to auxiliary functions. Improve newpal()
function:
as_df = FALSE
. names
to enable automatic naming and non-named palettes. Bug fixes:
length(pal) == 1
case for all types of demopal()
. alpha = NA
case in demopal()
. pal = NA
case in seecol()
and usecol()
. seecol()
. This release of unikn (v0.6.0) adds and revises functionality and fixes some bugs. [2022-09-20]
Changes since last release:
demopal()
function for illustrating color palettes. xbox()
: Add a use_x
argument for hiding or showing a cross in upper right corner (default use_x = TRUE
). seecol()
: Deprecate the title
argument and replace by standard main
and sub
arguments. col_distinct()
function. grepal()
that caused an error when no color is found. isCol()
and isHexCol()
to is_col()
and is_hex_col()
. This release of unikn (v0.5.0) adds new functionality and fixes some bugs. [2022-08-15]
Changes since last release:
simcol()
function to find similar colors. ac()
function as a flexible wrapper of grDevices::adjustcolor()
. shades_of()
function to conveniently get n
\ shades of a color. plot
argument to grepal()
and simcol()
to visualize results.distinct
argument to usecol()
and simcol()
to remove visual duplicates. get_alpha()
),
quantifying color distance (col_distance()
), and
detecting and filtering visual duplicates (col_distinct()
). x_layout
argument to control horizontal positions of text labels (e.g., by numeric increments, centering, right-adjusted). slide()
now uses the dim
argument. This release of unikn (v0.4.0) adds new functionality, tweaks aesthetics, and fixes a bug. [2021-03-27]
Changes since last release:
grepal()
function to match patterns in the names of colors()
or color palettes. pal_unikn_pref
to increase contrast between adjacent colors. mar_note
argument to seecol()
for margin note option. theme_unikn()
and theme_grau()
for use with ggplot2. seecol()
:
Show HEX codes on two alternating lines (or with diagonal labels) when length of codes exceed line length(s). This release of unikn (v0.3.0) adds functionality and fixes some bugs. [2020-08-24]
Changes since last release:
theme_grau()
to provide an alternative ggplot2 theme. pal_names
argument to seecol()
function to allow re-labeling color palettes and colors. seecol()
to flexibly plot color palettes provided by name or incomplete names. seecol()
and usecol()
functions. This version of unikn (v0.2.0) is a maintenance release, adding some functionality, but primarily fixing bugs. [2019-09-25]
Changes since last release:
New functionality:
newpal()
function for defining new color palettes (as a named vector or data frame). theme_unikn()
function to provide a basic ggplot2 theme. Changes in existing functionality:
col_bg
argument to the seecol()
function to allow setting background color. title
argument to the seecol()
function to allow overwriting the default title (created when title = NA
). lwd_brd
argument to the seecol()
function to allow setting the linewidth of shapes (and setting sensible defaults in combination with col_brd
). seecol()
and usecol()
that prevented use in other packages (by requiring list of palettes). seecol()
, due to searching both the current set of color palettes and base R colors()
. Different names for the same color are now separated by a forward slash (/), duplicates are removed before naming. isHexCol()
to recognize hexadecimal color values starting with lowercase letters. [File NEWS.md
updated on 2023-08-09.]
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.