Displaying 1 result from an estimated 1 matches for "whiteblack".
Did you mean:
whileblock
2008 Jan 25
1
several image.plots with same axis (maximum)
...lue of the respective plot.
E.g: this is a modified example from the help file "image.plot" z values go until 25. My maximum in plot two is set to 30, so I want the first one to be the same range:
par(mfrow=c(1,2))
x<- 1:10; y<- 1:15; z<- outer( x,y,"+") #define array
whiteblack = colorRampPalette(c("white", "black"), space = "Lab") #color
image.plot(x,y,z, legend.lab="inches",col=whiteblack(30), breaks=seq(0,30,1)) #image.plot with breaks from 0 to 30
x<- 1:10; y<- 1:15; z<- outer( x,y+5,"+")
whiteblack = colo...