so i have an image projected, and then another set of data being plotted over top..
I have the selected areas being contoured, which is what i want, but i dont want to solid fill it i want to fill it using a pattern.
pattern = BYTE(RANDOMN(seed, 32, 4)*255)
myPattern = OBJ_NEW('IDLgrPattern', 2, PATTERN=pattern)
im2=contour(var2,position=[0.1,0.1,0.9,0.9],C_FILL_PATTERN=myPattern,$
grid_units=2,c_linestyle=0,n_levels=2,/overplot,/cell_fill)
I dont know why its not working, all i get is the same contour, no pattern filling. even if i remove the /cell_fill, still nuthing. ANY ideas on why there is no pattern fill?
Thanks
Albert
|