Re: Plot single data points in IMAP [message #68642] |
Tue, 10 November 2009 13:22  |
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 #68665 is a reply to message #68644] |
Thu, 05 November 2009 08:55   |
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  |
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.
|
|
|