Dear All,<br><br>Could you tell me how to make the x-axis long?<br>in my code I did like this :<br>###<br> program background <br> <br> integer :: i,j,k<br> real,dimension(100,100) :: a<br> <br> open(1000,file = 'grid.dat',form = 'binary')<br>
do i=1,100<br> do j = 1,100<br> a(i,j) = 0.0<br> enddo<br> enddo<br> <br> write(1000) ((a(i,j), i =1,100), j=1,100)<br> <br> END<br>### <br><br>My ".ctl" file is :<br>
<br>###<br>dset grid.dat<br>title grid data<br>undef -999.9<br>xdef 100 linear 100.00 0.05<br>ydef 100 linear 20.00 0.10<br>zdef 1 levels 1000. <br>tdef 2 linear jan1980 1mo<br>vars 1<br>r 0 99 grid td<br>endvars<br>###<br clear="all">
<br>but the x-axis is too short when displayed , there is a picture in attachment. Please tell me shat should I do.<br><br>Thank you. <br><br>Sincerely.<br>-- <br><br>Shenghui Student<br><br>HuNan University . China<br>