<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title></title><style type="text/css">.felamimail-body-blockquote {margin: 5px 10px 0 3px;padding-left: 10px;border-left: 2px solid #000088;} </style></head><body>Hi all!<div><span style="font-size: small;"><br></span></div><div><span style="font-size: small;">I plotted two different global SST datasets in the same panel using a common labelbar for both plots.</span></div><div><span style="font-size: small;">I used the function printMinMax to help me setting the cnMinLevelValF and cnMaxLevelValF options.</span></div><div><span style="font-size: small;"><br></span></div><div><span style="font-size: small;">Now I would like to plot a zoom of that panel, for the region defined by the interval [lat1,lat2]x[lon1,lon2] </span></div><div><span style="font-size: small;">but i find it difficult to readjust cnMinLevelValF and cnMaxLevelValF so they represent this zoomed-in region, </span></div><div><span style="font-size: small;">because although the SST function has coordinates LONG and LAT, LONG and LAT are curvilinear grids,</span></div><div><span style="font-size: small;">so lat1 for example is not represented by a unique j value, which makes it hard to find the right j1, j2, i1, i2 values for the expression:</span></div><div><span style="font-size: small;">printMinMax(SST(j1:j2,i1:i2),0)</span></div><div><span style="font-size: small;"><br></span></div><div><span style="font-size: small;">Any ideas how to solve that?</span></div><div><span style="font-size: small;">Best,</span></div><div><span style="font-size: small;">Amanda</span></div></body></html>