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

Home » Public Forums » archive » Re: Plot single data points in IMAP
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 single data points in IMAP [message #68665 is a reply to message #68644] Thu, 05 November 2009 08:55 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Nov 5, 11:35 am, "Karlo Janos" <groups.20.beam...@spamgourmet.com>
wrote:
> Dear all,
>
> I am wondering if it is possible to plot single data points in a map
> set produced with IMAP.
> In the help document I only found examples for overplotting IMAP with
> images or vector fields with regularly gridded.
>
> In direct graphics mode I would use "MAP_SET, ..." and then plot single
> data points by "PLOTS, lons, lats, ...". In this case "lons" and "lats"
> can be arbitrary coordinates from the intervals [-180; 180] and
> [-90;90], respectively.
> Is there any way to get a similar result with IMAP?
>
> Thanks in advance,
>
> Karlo

I think you need to use iplot to overplot on the imap, with your lats
and lons converted to cartesian coordinates. As an example:

lats=[60.,30.,0.,-60.,-45.,60.]
lons=[-60.,0.,120.,30.,-60.,-60.]
imap,map_projection='sinusoidal'
mp=map_proj_init('sinusoidal')
xy=map_proj_forward(lons,lats,map_structure=mp)
iplot,xy,/over,color=[255,0,0]
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: A. G. Lisi's E8 model may be showing us what both our space & time really are.
Next Topic: max installation problem - Do you want the application lmgrd to accept incoming network connections ?

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

Current Time: Sun Nov 30 09:02:06 PST 2025

Total time taken to generate the page: 0.72381 seconds