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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Plot single data points in IMAP [message #68642] Tue, 10 November 2009 13:22 Go to next message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Nov 10, 10:23 am, "Karlo Janos" <groups.20.beam...@spamgourmet.com>
wrote:
>> I think you need to use iplot to overplot on the imap, with your lats
>> and lons converted to cartesian coordinates. As an example:
>
>> [...]
>
> Thank you for this hint! That's what I've been looking for.
> Regards,
>
> Karlo

Though that is a bit incomplete, because if you change the projection
with the imap widgets, the plot will not change accordingly.

Probably with some digging around the imap objects there would be a
way to make the plot be updated when the projection change method got
called, and it probably could be neatly packaged into a wrapper to
iplot. It is, however, the kind of obvious need that ITTVIS should
have provided for.
Re: Plot single data points in IMAP [message #68644 is a reply to message #68642] Tue, 10 November 2009 04:23 Go to previous messageGo to next message
Karlo Janos is currently offline  Karlo Janos
Messages: 31
Registered: July 2008
Member
> I think you need to use iplot to overplot on the imap, with your lats
> and lons converted to cartesian coordinates. As an example:
>
> [...]

Thank you for this hint! That's what I've been looking for.
Regards,

Karlo
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 next 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]
Re: Plot single data points in IMAP [message #75848 is a reply to message #68642] Wed, 27 April 2011 07:52 Go to previous message
kidpix is currently offline  kidpix
Messages: 23
Registered: July 2007
Junior Member
Hi,
there are some news about this topic?
I'm interested in the linking the iplot data to the current map projection, but I'm far to new to iTools to find a realiable solution.

Regards,
Mario.
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Wed Oct 08 19:44:01 PDT 2025

Total time taken to generate the page: 0.00600 seconds