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

Home » Public Forums » archive » Re: Plot and Plots
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Plot and Plots [message #58459 is a reply to message #58454] Thu, 31 January 2008 11:27 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
pb24 writes:

> I am trying to produce a graphic showing continent outlines,
> coastlines etc, with a graticule and the footprint of a satellite
> image. I can do all this by using MAP_SET, and then I use PLOTS to
> plot a vector of the image coordinates. Using MAP_SET however, I can
> only specify a STEREOGRAPHIC projection, when I want a POLAR
> STEREOGRAPHIC projection.
>
> To get a POLAR STEREOGRAPHIC projection I need to use MAP_PROJ_INIT
> and then PLOT to display the graticule. However when I do this I cant
> seem to get PLOTS to display the image footprint. I have converted my
> image footprint coordinates from lat./long. to cartesian using
> MAP_PROJ_FORWARD, but using PLOTS just doesnt work. Any ideas from
> anyone would be gratefully received. Is it not possible to use PLOT
> and PLOTS together??

I suspect the problem is the way you are using PLOT to set
up your UV data coordinate space. The code will look something
like this:

polar = Map_Proj_Init(1, CENTER_LAT=90, CENTER_LON=0)
uvgraticule = Map_Proj_Forward(graticule, MAP_STRUCTURE=polar)
uv_box = polar.uv_box
Plot, uv_box[[0, 2]], uv_box[[1, 3]], Position=[0.1,0.1,0.9,0.9], $
/Nodata, XStyle=5, YStyle=5, /NoErase
Oplot, uvgraticule ; Or MAP_grid, MAP_STRUCT=polar, /LABEL, etc.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Creating a dicom-file in HSV colors
Next Topic: window size

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

Current Time: Fri Nov 28 21:57:10 PST 2025

Total time taken to generate the page: 0.09421 seconds