[Thread Prev][Thread Next][Index]

Re: [ferret_users] multiple plots with stereographic projections



Hi
If you are using mp_viewport_aspect, you do NOT need to also call mp_aspect. The mp_aspect script issues a SET WINDOW command, which re initializes the window and cancels your viewports. If you look at the example in mp_viewport_aspect.jnl

yes? go/help mp_viewport_aspect.jnl

then you will see the correct sequence of commands.

Ansley

On 6/5/2011 11:38 PM, nuncio@xxxxxxxxx wrote:
Hi list,
           I am trying to plot two plots in stereographic on the same window using mp_viewport_aspect

here is the code snippet

go mp_stereographic_south
set grid t1[d=1]
go mp_aspect
go margins 0.1 0.1 0.1 0.1
go mp_viewport_aspect 0.1 0.5 0.6 1 mp_vp1
fill/noaxis/nolab/lev=(-inf)(-0.05,0.05,0.01)(inf) t1[d=1],x_page,y_page
go mp_graticule
go mp_land

go mp_stereographic_south
set grid t1[d=2]
go mp_aspect
go margins 0.1 0.1 0.1 0.1
go mp_viewport_aspect 0.1 0.5 0.1 1 mp_vp2
fill/noaxis/nolab/lev=(-inf)(-0.03,0.03,0.01)(inf) t1[d=2],x_page,y_page
go mp_graticule
go mp_land

This draws the two plots but the first plot is erased when the second one is drawn.
any suggestions
nuncio


National Centre for Antarctic and Ocean Research
Headland Sada, Vasco Da Gama
Goa, 403804
India.
Ph: Cell-91 9890357423
     off- 91 832 2525428


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement