1 function [] = fire_ellipse( x )
\r
2 % function takes a struct from the patch2 simulation and finds detections
\r
3 % in x.data then sends them to the ellipse_3d which plots the cone
\r
4 % describing the history of the fire
\r
6 % load the patch_fire_layer.mat file to have the struct x which is a set of
\r
7 % detections for the Patch fire.
\r
9 [rows cols] = find(x.data > 6 );
\r
10 detects = [x.lon(cols) ; x.lat(rows)]';
\r
11 rate_vector = [1 -1];
\r
12 ellipse_3d(detects,1.9,rate_vector,0)
\r