Since you are new, let us show you how Trendy works.

Close-button

An approximation to surf conditions - Hampton, NH

  • Created by: Kye Taylor
  • Latest result: Plot created
  • Created on: 01 Apr 2012

Wave height + water temp = informed surfers

Plot Image
% Water temp - Hampton, NH
%   time vector is: time1562
%   data vector is: data1562 
% 
% Wave height - Hampton, NH
%   time vector is: time1561
%   data vector is: data1561

% two y axes
[ax,lh1,lh2] = plotyy(time1561,data1561,time1562,data1562);

% change line markers
set(lh1,'Marker','o')
set(lh2,'Marker','h')

% label y axes
set(get(ax(1),'Ylabel'),'String','Wave Height (ft)') 
set(get(ax(2),'Ylabel'),'String','Water Temp (\circ F)') 

% deal with the x axis
datetick(ax(2))
datetick(ax(1))

Tags:

Add Tags


0 comments