about axis
sh zhou
sh.maeam at GMAIL.COM
Sun May 31 11:00:23 EDT 2009
Dear All,
Could you tell me how to make the x-axis long?
in my code I did like this :
###
program background
integer :: i,j,k
real,dimension(100,100) :: a
open(1000,file = 'grid.dat',form = 'binary')
do i=1,100
do j = 1,100
a(i,j) = 0.0
enddo
enddo
write(1000) ((a(i,j), i =1,100), j=1,100)
END
###
My ".ctl" file is :
###
dset grid.dat
title grid data
undef -999.9
xdef 100 linear 100.00 0.05
ydef 100 linear 20.00 0.10
zdef 1 levels 1000.
tdef 2 linear jan1980 1mo
vars 1
r 0 99 grid td
endvars
###
but the x-axis is too short when displayed , there is a picture in
attachment. Please tell me shat should I do.
Thank you.
Sincerely.
--
Shenghui Student
HuNan University . China
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090531/5b109b3b/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.gif
Type: image/gif
Size: 25070 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090531/5b109b3b/attachment.gif
More information about the gradsusr
mailing list