Re: Anyone can explain this? [message #64261 is a reply to message #64197] |
Wed, 10 December 2008 09:56   |
xiao zhang
Messages: 81 Registered: June 2008
|
Member |
|
|
On Dec 10, 11:40 am, David Fanning <n...@dfanning.com> wrote:
> xiao writes:
>> Sorry, David, But i have another question, I suddenly realized that my
>> map did not show the continent line. The continent line was erased by
>> the contour . But if I put the map_grid and map_continents after the
>> contour, it showed me the error :
>> -Current ploting device must have mapping coordinates..
>> I think i have used the overplot and noerase key word in contour
>> command. But it still does not shown.....
>
> I think the (unneeded) NOERASE keyword in the CONTOUR command
> is causing a different set of data coordinates to be established
> by the CONTOUR command. You want the data coordinates to be set
> by the MAP_SET command. You can either re-issue the MAP_SET command
> after you issue the CONTOUR command (to re-establish) the map data
> coordinates, or you can take the NOERASE off the CONTOUR command.
> I would try the latter first.
>
> Is the data you are trying to contour in latitude and longitude units?
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Coyote's Guide to IDL Programming (www.dfanning.com)
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Thank you David, you reply so fast :)
Yeap, they are in latitude and longitude units.
The interesting thing is that if I take off the NOERASE in CONTOUR, it
did not show the plot, but when i reset the map coordinates, it
works. :)
|
|
|