Maps, overlaying, and !Pmulti (again) [message #84117] |
Tue, 30 April 2013 06:19 |
Andy Sayer
Messages: 127 Registered: February 2009
|
Senior Member |
|
|
Hi all,
I am having some problems with multiple maps per page, and have read old topics on this newsgroup about it (suggesting these issues have been around for a decade or more), but I haven’t managed to convert the advice in those posts into something which works for me. I also went through the Exelis webpage (if you’re reading, please consider adding code examples onto your site) and David’s page.
The situation is, I want to overlay two images (e.g. two separate satellite orbits) on one map projection, through sequential calls to map_set.
If !p.multi=0, this seems to work fine:
map_set
(plot first orbit)
map_set,/noerase
(plot second orbit)
However, if !p.multi is something different, it doesn’t work. For example:
!p.multi=[0,2,2]
map_set
map_set,/noerase
gives two separate map areas—even though I did not specify the /advance keyword either time.
Anyone know what I am doing wrong?
I don’t really want to manually specify plot positions for each subpanel in this case as this is for a time-saving routine I am writing (so e.g. final positions on sizes would depend on output size and type). There must be something simple I am doing wrongly. Same behaviour on IDL 7.1.1. and 8.2.2., on CentOS.
Thanks,
Andrew
|
|
|