moonmann
Civil/Environmental
- Mar 5, 2007
- 2
Hi!
I have a figure generated for the following code:
figure(1)
pcolor(X2,Y2,Z2)
shading interp
colormap(red)
colorbar('v')
X2, Y2 are map coordinates, and Z2 is the concentration of an air contaminant. The 'red' colormap gives a scale from RGB 1,0,0 to RGB 1,1,1.
But, instead of showing the scale in red changing hue to white, I would like to show the scale in density of red pixels. Does anyone know how?
Thanks in advance!
I have a figure generated for the following code:
figure(1)
pcolor(X2,Y2,Z2)
shading interp
colormap(red)
colorbar('v')
X2, Y2 are map coordinates, and Z2 is the concentration of an air contaminant. The 'red' colormap gives a scale from RGB 1,0,0 to RGB 1,1,1.
But, instead of showing the scale in red changing hue to white, I would like to show the scale in density of red pixels. Does anyone know how?
Thanks in advance!