Pixelmatrix: Plot of a Pixel Matrix
Description
Plots Data matrix as a pixel coulour image.
Usage
Pixelmatrix(Data, XNames, LowLim, HiLim,YNames, main,FillNotFiniteWithHighestValue=FALSE)
Arguments
- Data
[1:n,1:d] Data cases in rows (n), variables in columns (d)
- LowLim
Optional: limits for the color axis
- HiLim
Optional: limits for the color axis
- XNames
Optional: Vector - names for the X-ticks, NULL: no ticks at all
- YNames
Optional: Vector - names for the Y-ticks, NULL: no ticks at all
- main
Optoinal: String - Title of the plot
- FillNotFiniteWithHighestValue
Optional: TRUE: fills not finite values with same color as the highest value
Author
Michael Thrun, Felix Pape
Details
Low values are shown in blue and green, middle values in yellow and high values in orange and red.
Examples
Run this codedata("Lsun3D")
Data=Lsun3D$Data
# \donttest{
Pixelmatrix(Data)
# }
# \dontshow{
Pixelmatrix(Data[1:100,])
# }
Run the code above in your browser using DataLab