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

Home » Public Forums » archive » using map_set with postscript device
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
using map_set with postscript device [message #63824] Thu, 20 November 2008 20:36 Go to previous message
pepperjack is currently offline  pepperjack
Messages: 2
Registered: November 2008
Junior Member
Hello

I'm trying to overplot a contour with a map using contour .... /
overplot followed by map_set ... /noerase. It works fine when I output
it to my screen, but when I output it to a .eps file the map_set turns
the entire plot one colour so I lose my contours.

Here is my code:

set_plot, 'ps'
device, /encapsulated, filename='chi.eps'
device, /color
!p.region = [0.0, 0.1, 1, 1]
loadct, 33
range = max(chi) - min(chi)
step = range/20.
clevs = (indgen(21)*step) + min(chi)
ccols = indgen(20)*(254/19)
contour, chi, x, y, levels=clevs,c_col=ccols,/cell_fill,/overplot
map_set,/noerase,/continents,/grid,/isotropic
colorbar, clevs,ccols, format='(i4)'
device,/close

I'd really appreciate any help anyone can offer with this.

Thanks.
[Message index]
 
Read Message
Read Message
Previous Topic: Re: using map_set with postscript device
Next Topic: Re: Returning up the stack after error

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

Current Time: Fri Oct 10 11:29:17 PDT 2025

Total time taken to generate the page: 0.00635 seconds