[Thread Prev][Thread Next][Index]

about color key and plot a rectangular



Hi, All
 
I'm trying to plot topography by fill command, why the color of the shading key is not continuous?
Pls look at the attached figure. My problem is why the color from -9000 to -10000 is gray not blue? Is there a way to solve it?
 
My second question is how to plot a rectangular over the Marianas trench?  Thanks in advance!
 
Ferret version is 5.5.
Gao Rongzhen
 
---------------------------map.jnl  i used-------------------------------------
\ cancel mode verify
  cancel region;  cancel data/all;cancel var/all;cancel sym/all
 
  def view/xlim=0.05,0.95/ylim=0.2,0.8 v11
  def sym lon1=105;def sym lon2=165
  def sym lat1=0;  def sym lat2=40
  def sym dx=10;  def sym dy=5
  def sym pall=bluescale
  def sym levv=(-10000,0,1000)
  set window/size=1/aspect=1.294
 
  set data etopo5
  set view v11
  set region/x=($lon1):($lon2)/y=($lat1):($lat2)
  fill/nolabel/nokey/lev=($levv)/pal=($pall)/set rose
  ppl xaxis ($lon1),($lon2),($dx); ppl yaxis ($lat1),($lat2),($dy)
  ppl labset,,0.16,0.16;ppl axlsze 0.16,0.16;ppl tics .1,.12,.1,.12;ppl axlint 1,1  
  let ylo = ($ppl$yorg);let yhi = ylo + ($ppl$ylen);let xlo = ($ppl$xorg) + ($ppl$xlen) + .2; let xhi = xlo + .2
  ppl shakey 1, 1, 0.12, 0, 5, 6, `xlo`, `xhi`, `ylo`, `yhi`; ppl fill;ppl shaset reset
  contour/nolabel/line=2/lev=(-10000,-9000,1000)/over/set rose;ppl contour/over
  ppl xaxis ($lon1),($lon2),($dx); ppl yaxis ($lat1),($lat2),($dy);  ppl labset,,0.16,0.16; ppl axlsze 0.16,0.16;ppl tics .1,.12,.1,.12;ppl axlint 1,1
  ppl ylab LATITUDE;ppl xlab LONGITUDE;
  ppl contour
  go fland 5 
 
 
  frame/file=map.gif

Attachment: map.gif
Description: GIF image

Attachment: face-2.gif
Description: GIF image


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement