Pixelmatrix function

Plot of a Pixel Matrix

Plot of a Pixel Matrix

Plots Data matrix as a pixel coulour image.

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

Details

Low values are shown in blue and green, middle values in yellow and high values in orange and red.

Author(s)

Michael Thrun, Felix Pape

Examples

data("Lsun3D") Data=Lsun3D$Data Pixelmatrix(Data)