Hi,
I have a 2-d histogram that I am plotting using im1=IMAGE(hist, ...). Is there a way to add color to the image so the histogram is colored rather than black&white? I've tried things like color=color, /color, n_colors etc. but haven't had any luck. (as a side note I can't seem to get background_color to work either...)
I can get a color plot using the older image command. imdisp,hist, ....
SET_PLOT, 'PS'
loadct,9
DEVICE, FILE='24bit.ps', /COLOR, BITS=8
imdisp,hist,xtitle='Stellar mass',ytitle='u-r',xrange=xr,yrange=yr
DEVICE, /CLOSE
But the image quality isn't great and I'm having issues getting things like contours to overplot on the image with this method - sometimes it works and sometimes it doesn't. It's driving me nuts.
I can easily get the image to look the way I want it to with im=image(hist, ...) and overplotting any contours with the exception of the color.
Any suggestions? I realize that I threw a few issues in here, but I'm really more concerned with getting the image to show in color than anything else.
Thanks
|