Roms 1d - Plot_all.m error (missing tzplot funtion)

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
bikirandas
Posts: 12
Joined: Sun Mar 13, 2016 7:58 pm
Location: IIT Bhubaneswar

Roms 1d - Plot_all.m error (missing tzplot funtion)

#1 Unread post by bikirandas »

hi
i have issue with running the plot_all in MATLAB R2016b. The function tzplot('u') etc is popping error saying function not defined.

can any one please provide me the tzplot function

below is a piece from roms-1d documentation
If the cpp key ASCII_OUTPUT is defined, the depth of the vertical levels are stored in the file ``z.dat'', and every noutput time-step,

the time is stored in the file ``days.dat''
the depth of the oceanic boundary layer is stored in the file ``zbl.dat''
the horizontal velocities are stored in the files ``u.dat'' and ``v.dat''
all the tracers are stored in the files ``tXX.dat'', where XX is 01 for temperature, 02 for salinity, ...

The variables stored in the ASCII files can be visualized with MATLAB using the function ``tzplot(vname)'', where vname is the name of the variable: ``u'', ``v'', ``t01'', ``t02''...

andres
Posts: 54
Joined: Tue May 06, 2003 4:35 pm
Location: University of Concepcion
Contact:

Re: Roms 1d - Plot_all.m error (missing tzplot funtion)

#2 Unread post by andres »

I think the tzplot file is just a contour plot for your data. Since the model is 1D
you can set depth in the Y-axis and time in the X-axis.
Andres Sepulveda

------------------------------
Geophysics Department
University of Concepcion

penven
Posts: 4
Joined: Tue Jul 01, 2003 8:18 am
Location: institut de recherche pour le developpement - lpo

Re: Roms 1d - Plot_all.m error (missing tzplot funtion)

#3 Unread post by penven »

hello

sorry for the late answer. I have dig out an old tzplot.m

best regards

pierrick
Attachments
tzplot.m
(565 Bytes) Downloaded 232 times

Post Reply