comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Object graphics output police (iImage)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Object graphics output police (iImage) [message #44094] Fri, 13 May 2005 05:58
Randall  Skelton is currently offline  Randall Skelton
Messages: 31
Registered: October 2004
Member
Hi all,

Can someone explain if there is a way to 'fix' the iTools problem
demonstrated in the code below. The problem is that the image plotted
in the iMap call does not export to a vector postscript cleanly
(File->Export->'To File'->myFile.eps). Instead of getting a white
masked area outside of the map projection, I get black in the eps file.
None of the bitmap outputs suffer the same. I've tinkered with the
CHANNEL and CLIP_PLANES keywords but was unable to make this go away :(

Any help is greatly appreciated.

IDL> print, !version
{ ppc darwin unix Mac OS X 6.1.1 Oct 11 2004 32 32}

Cheers,
Randall

pro test, NH=nh, SH=sh

xlon = 3*findgen(120) - 179.5
xlat = 2*findgen(90) - 89.5
field = sin(xlon/30) # cos(xlat/30)

; Default to plotting northern hemisphere
nh = 0 & sh = 0
if keyword_set(nh) then nh = 1
if keyword_set(sh) then sh = 1
if (nh + sh) eq 0 then nh = 1

idx_nh = where(xlat ge 0, COMPLEMENT=idx_sh)
if nh then idx_lat = idx_nh else idx_lat = idx_sh

; Plot it
iMap, field[*,idx_lat], xlon, xlat[idx_lat], $
MAP_PROJECTION='Polar Stereographic', GRID_UNITS=2, $
DIMENSIONS=[450,450]

end
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: problem with save
Next Topic: idl lmgrd

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 20:09:05 PDT 2025

Total time taken to generate the page: 0.00726 seconds