define viewport: setting the drawing size and location in window

cited from ferret
yes? use levitus_climatology                                  ! using levitus data (default)
yes? define viewport/xlim=0,0.8/ylim=0,1 my_view   ! defining new size and location of drawing as “my_view”
yes? set viewport my_view                                     ! selecting “my_view” as viewport
yes? shade temp[k=1]                                          ! drawing.
this function is useful for making some space for colorbar expression.
pic. 1. the result after applying “my_view”(left), original(right)
defineview

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s