function []=mctsplt(cdf,var,y1,mo1,d1,h1,mn1,s1,y2,mo2,d2,h2,mn2,s2)
% MCTSPLT  Plots a time series variable from a netCDF file with a Gregorian
%          time axis
% Usage: []=mctsplt(cdf,var) or
%        []=mctsplt(cdf,var,y1,mo1,d1,h1,mn1,s1,y2,mo2,d2,h2,mn2,s2)
%
if nargin==2,
[y1,mo1,d1,h1,mn1,s1,y2,mo2,d2,h2,mn2,s2]=mcgtim(cdf);
end
[icyc,ncyc,jd]=mctime(cdf,y1,mo1,d1,h1,mn1,s1,y2,mo2,d2,h2,mn2,s2);
u=mcvgt(cdf,var,icyc,ncyc);
timeplt(jd,u,1,1);
