Skip to content

process.capability S3 example for plot #36

@ellis-geoff

Description

@ellis-geoff

The end effect I'm looking to achieve is simply set a fill color for the histogram boxes..

I have been unable to figure out how to set the fill color through par, qcc.options or process.capability arguments. The help doc seems to imply there is a way to use the S3 method with plot but I have not been able to make that work. And it's not part of the current examples anymore ...also the current examples to work either errors on gcc.groups ( older version had example using plot too )

S3 method for process.capability

plot(x,
add.stats = qcc.options("add.stats"),
breaks = "scott",
col = adjustcolor(qcc.options("zones")$fill, alpha.f = 0.5),
border = "white",
digits = getOption("digits"),
restore.par = TRUE, …)

############################################################################
sessionInfo()

R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19044)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] qcc_2.7 RevoUtils_11.0.2 RevoUtilsMath_11.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions