Changeset 8245 for trunk/anuga_work
- Timestamp:
- Nov 8, 2011, 2:14:10 PM (13 years ago)
- Location:
- trunk/anuga_work
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_work/development/2010-projects/anuga_1d/channel/channel_domain.py
r8241 r8245 174 174 self.plot1 = pylab.subplot(311) 175 175 176 self.zplot, = pylab.plot(x, z )177 self.wplot, = pylab.plot(x, w )176 self.zplot, = pylab.plot(x, z, 'k') 177 self.wplot, = pylab.plot(x, w, 'k') 178 178 179 179 self.plot1.set_ylim(stage_lim) 180 180 #pylab.xlabel('Position') 181 pylab.ylabel(' Stage')181 pylab.ylabel('Bed/Stage') 182 182 183 183 #------------------------------- … … 186 186 self.plot2 = pylab.subplot(312) 187 187 188 self.bplot, = pylab.plot(x, b )188 self.bplot, = pylab.plot(x, b, 'k') 189 189 190 190 self.plot2.set_ylim(width_lim) … … 197 197 self.plot3 = pylab.subplot(313) 198 198 199 self.vplot, = pylab.plot(x, v )199 self.vplot, = pylab.plot(x, v, 'k') 200 200 201 201 self.plot3.set_ylim(velocity_lim) -
trunk/anuga_work/development/2010-projects/anuga_1d/channel/circular_test.py
r8242 r8245 15 15 16 16 17 def initialize_plotting(domain, style = '- ',17 def initialize_plotting(domain, style = '-k', 18 18 stage_lim = [-1.0, 40.0], 19 19 velocity_lim = [-5.0, 5.0]): … … 178 178 yieldstep = 0.2 179 179 180 initialize_plotting(domain, style = '. ', stage_lim = [0.0, 16.0],180 initialize_plotting(domain, style = '.k', stage_lim = [0.0, 16.0], 181 181 velocity_lim = [-10.0, 10.0]) 182 182 … … 190 190 #------------------------------------------------------------- 191 191 192 domain1 = Domain(*uniform_mesh( 5000, x_0 = 0.0, x_1 = 100.0))192 domain1 = Domain(*uniform_mesh(1000, x_0 = 0.0, x_1 = 100.0)) 193 193 194 194 … … 221 221 222 222 223 hold_plotting(domain1, save="circular_dam_break_ not_well_balanced")224 225 226 227 223 hold_plotting(domain1, save="circular_dam_break_well_balanced") 224 225 226 227 -
trunk/anuga_work/development/2010-projects/anuga_1d/channel/var_width_depth.py
r8241 r8245 115 115 domain.initialize_plotting(stage_lim = [-1.0, 20.0], 116 116 width_lim = [0.0, 6.0], 117 velocity_lim = [-1 .0, 1.0])117 velocity_lim = [-15.0, 15.0]) 118 118 119 119 … … 125 125 #print domain.quantities['elevation'].vertex_values 126 126 127 domain.hold_plotting( )127 domain.hold_plotting(save='not_well_balanced_random_depth_and_width') 128 128
Note: See TracChangeset
for help on using the changeset viewer.