Hello,
I am trying to have two plots in the horizontal direction in one page using IDL.
a part of the code:
!P.Multi = [0,2,1,0,0]
;first plot
!P.Position = [0.02,0.04,0.40,0.90]
Map_Set, 90, 0, -90, /Stereographic, /isotropic, limit=[60,180,60,-180]
polyfill,[[0,0],[0,1],[1,1],[1,0]],/normal,color=blanc
Map_Continents,color=0,/Continents,thick=2
Map_Grid, color=0, londel=30, latdel=10, glinethick=2, /box,/label
;second plot
!P.Position = [0.58,0.04,0.96,0.90]
Map_Set, -90, 0, /Stereographic, /isotropic, limit=[-60,180,-60,-180]
polyfill,[[0,0],[0,1],[1,1],[1,0]],/normal,color=blanc
Map_Continents,color=0,/Continents,thick=2
Map_Grid, color=0, londel=30, latdel=10, glinethick=2, /box,/label
;
fname=fiche+'_p_'+heure+'.png'
image=tvrd(order=0)
tvlct, r, g, b, /get
write_png, fname, image, r, g, b
;
end
Only the second plot is visualised. I tried without setting positions but it did not work.
As well, I tried to remove the polyfill for the first or the second plot only and for both.
Any advice or suggestions will be greatly appreciated!
Iriola
|