Changeset 4912
- Timestamp:
- Jan 8, 2008, 10:49:31 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/abstract_2d_finite_volumes/util.py
r4911 r4912 1021 1021 speed = zeros((n0,m,p), Float) 1022 1022 bearings = zeros((n0,m,p), Float) 1023 due_east = 90.0*ones( n0, Float)1024 due_west = 270.0*ones( n0, Float)1023 due_east = 90.0*ones((n0,1), Float) 1024 due_west = 270.0*ones((n0,1), Float) 1025 1025 depths = zeros((n0,m,p), Float) 1026 1026 eastings = zeros((n0,m,p), Float) … … 1229 1229 #due_east = 90.0*ones(shape(model_time[0:n[j]-1,k,j],Float)) 1230 1230 #due_west = 270.0*ones(shape(model_time[0:n[j]-1,k,j],Float)) 1231 print 'hello', bearings 1232 print 'east', due_east 1231 1233 plot(model_time[0:n[j]-1,k,j], bearings[0:n[j]-1,k,j], '-', 1232 1234 model_time[0:n[j]-1,k,j], due_west[0:n[j]-1], '-.', 1233 1235 model_time[0:n[j]-1,k,j], due_east[0:n[j]-1], '-.') 1234 1236 units = 'degrees from North' 1235 ax = axis([time_min, time_max, 0.0, 360.0])1237 #ax = axis([time_min, time_max, 0.0, 360.0]) 1236 1238 legend(('Bearing','West','East')) 1237 1239
Note: See TracChangeset
for help on using the changeset viewer.