Package: kwb.plot 0.5.0

Hauke Sonnenberg

kwb.plot: some useful functions for plotting

Some useful functions for plotting.

Authors:Hauke Sonnenberg [aut, cre], Michael Rustler [ctb], FAKIN [fnd], MIA-CSO [fnd], Kompetenzzentrum Wasser Berlin gGmbH [cph]

kwb.plot_0.5.0.tar.gz
kwb.plot_0.5.0.zip(r-4.5)kwb.plot_0.5.0.zip(r-4.4)kwb.plot_0.5.0.zip(r-4.3)
kwb.plot_0.5.0.tgz(r-4.4-any)kwb.plot_0.5.0.tgz(r-4.3-any)
kwb.plot_0.5.0.tar.gz(r-4.5-noble)kwb.plot_0.5.0.tar.gz(r-4.4-noble)
kwb.plot_0.5.0.tgz(r-4.4-emscripten)kwb.plot_0.5.0.tgz(r-4.3-emscripten)
kwb.plot.pdf |kwb.plot.html
kwb.plot/json (API)
NEWS

# Install 'kwb.plot' in R:
install.packages('kwb.plot', repos = c('https://kwb-r.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/kwb-r/kwb.plot/issues

On CRAN:

data-visualisationproject-fakinproject-miacso

40 exports 3.64 score 30 dependencies 26 dependents 1 scripts

Last updated 12 months agofrom:5548903e51. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 22 2024
R-4.5-winNOTEAug 22 2024
R-4.5-linuxNOTEAug 22 2024
R-4.4-winNOTEAug 22 2024
R-4.4-macNOTEAug 22 2024
R-4.3-winOKAug 22 2024
R-4.3-macOKAug 22 2024

Exports:.defaultPlotParameteraddLabelsaddTimeAxisappropriateLimitsargs_textargs_yaxisarrange_in_pdfarrange_in_pngbestRowColumnSettingcmToUserWidthAndHeightdemo_theme_propertiesdemo.adjdrawBoxplotexample_plotexample_plot_2generic_barplotgetCurrentLimitsgetPlotRegionSizeInCmgetPlotRegionSizeInInchesgetPlotRegionSizeInPixelsgetPlotRegionSizeInUserCoordsggplot_text_linesinLimitsmybarplotniceLabelsoutput_to_pngplot_all_to_pdfplot_curve_areaplot_curve_areas_ggplot_variableplotLevelFrequenciesplotRainpreview_themesset_labelsset_subtitlesset_titlesset_xlabssetMarginsstackplotuserCoordinatesToLimits

Dependencies:clicolorspacefansifarverggplot2gluegridExtragtableisobandkwb.utilslabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Default Plot Parameters for Hydraulic Variables.defaultPlotParameter
Add LabelsaddLabels
Add Time AxisaddTimeAxis
Apply themes with given text properties to a plotapply_elements_text
default limits for plotting valuesappropriateLimits
Create argument list for mybarplotargs_mybarplot
Create argument list for textargs_text
Create argument list for axisargs_yaxis
Arrange Plots in PDF file (DIN A4)arrange_in_pdf
Arrange Plots in PNG filearrange_in_png
best nrow/ncol setting for n plotsbestRowColumnSetting
Convert Length in Centimetres to Lengths in User CoordinatescmToUserWidthAndHeight
Plots Demonstrating Theme Propertiesdemo_theme_properties
demo themes linedemo_themes_line
demo themes rectdemo_themes_rect
demo themes textdemo_themes_text
Demo of Graphical Parameter "adj"demo.adj
Draw Boxplot IcondrawBoxplot
element typeselement_types
Simple ggplot Barplotexample_plot
Simple ggplot Scatter Plotexample_plot_2
Create a generic barplot using ggplot.generic_barplot
Get Current xlim and ylimgetCurrentLimits
Current plot region's ratiogetPlotRegionRatio
Size of Current Plot Region in CentimetresgetPlotRegionSizeInCm
Size of Current Plot Region in InchesgetPlotRegionSizeInInches
Size of Current Plot Region in PixelsgetPlotRegionSizeInPixels
Size of Current Plot Region in User CoordinatesgetPlotRegionSizeInUserCoords
Plot Text Onlyggplot_text_lines
List of available ggplot2-Themesggplot_themes
Convert Length in Inches to Lengths in User CoordinatesinchesToUserWidthAndHeight
are values within limits (e.g. xlim, ylim)?inLimits
barplot with more flexibility on labels and axismybarplot
Nice LabelsniceLabels
Redirect Output of Plot Function to PNG fileoutput_to_png
Print all ggplot Objects to a PDF fileplot_all_to_pdf
Plot Filled Area Below a Curve Lineplot_curve_area
Plot Filled Areas below Curve Lines using ggplotplot_curve_areas_gg
Plot a Variable of a Data Frameplot_variable
Plot Frequencies of Level CombinationsplotLevelFrequencies
Plot Rain Data as BarsplotRain
Preview the Effects of Themes on a Plotpreview_themes
Set the Labels in a List of ggplot Objectsset_labels
Set the Subtitles in a List of ggplot Objectsset_subtitles
Set the Titles in a List of ggplot Objectsset_titles
Set the x Axis Label in a List of ggplot Objectsset_xlabs
Set the Plot MarginssetMargins
Plots on Top of Each Otherstackplot
Create Layout for "stackplot"stackplotLayout
to element themesto_element_themes
userCoordinatesToLimitsuserCoordinatesToLimits
Convert Lenghts in User Coordinates to Lengths in CentimetresuserWidthAndHeightToCm