Learn R Programming

MSQC (version 1.1.0)

prism: Draws a rectangular prism

Description

This function draws a rectangular prism using three-dimensional limits

Usage

prism(LSL = LSL, USL = USL, add = TRUE, xlim = xlim, ylim = ylim, zlim = zlim, ...)

Arguments

LSL

is the lower specification limit

USL

is the upper specification limit

add

xlim

xlim

ylim

ylim

zlim

zlim

additional parameters

Examples

Run this code
# NOT RUN {
require(rgl)
LSL <- c( 0.60, 0.30, 49.00)
USL <- c(1.40, 1.70, 51.00)
prism(LSL, USL, add = TRUE, col = "#D55E00" )
# }

Run the code above in your browser using DataLab