Changeset 194 for palm/trunk/SCRIPTS/NCL/spectra.ncl
- Timestamp:
- Aug 28, 2008 12:15:13 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/NCL/spectra.ncl
r190 r194 6 6 ; load ncl_preferences.ncl 7 7 ;*************************************************** 8 9 function which_script() 10 local script 11 begin 12 script="spectra" 13 return(script) 14 end 8 15 9 16 if (isfilepresent("~/ncl_preferences.ncl")) then … … 21 28 22 29 begin 23 24 if (cross_sections .NE. 0 .OR. profiles .NE. 0 .OR. timeseries .NE. 0 .OR. spectra .NE. 1)then25 print(" ")26 print("Please specify the used script in 'ncl_preferences.ncl' (Line 7-10)")27 print(" ")28 print("Set 'spectra' equal 1 and the other variables equal 0")29 print(" ")30 exit31 end if32 30 33 31 ;*************************************************** … … 339 337 end do 340 338 end if 341 342 step=round(235/(np-1),3) 343 if (black .eq. 0 ) then 344 res@xyLineColors = ispan(2,237,step) 339 340 if (black .eq. 0 ) then 341 if (np .EQ. 1)then 342 res@xyLineColors = 237 343 else 344 step=round(235/(np-1),3) 345 res@xyLineColors = ispan(2,237,step) 346 end if 345 347 end if 346 348 if ( dash .eq. 0 ) then
Note: See TracChangeset
for help on using the changeset viewer.