Re: google earth projections [message #64007 is a reply to message #63180] |
Mon, 24 November 2008 18:54   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> Yes, I don't know what that is all about. The size of the
> border appears to be proportional to the window size,
> and not to the size of the data being displayed. I think
> you will have to ask ITTVIS about it. :-)
Of course, you could use TVIMAGE instead of CONTOUR. This
wouldn't *fix* the problem with MAP_SET, but it would
extend the colors to the edge and maybe make it easier
to finesse the rest of it:
data = dist(181, 91)
x = scale_vector(findgen(181), -180, 180)
y = scale_vector(findgen(91), -90, 90)
ctload, 4, /brewer, NCOLORS=20
device, decomposed=0
map_set, /Cylindrical, Position=[0,0,1,1]
;contour, /overplot, data, x, y, Cell_Fill=1, nlevels=20
TVIMAGE, BytScl(data, TOP=19), Position=[0,0,1,1]
MAP_GRID
MAP_CONTINENTS
END
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|