Changeset 16733


Ignore:
Timestamp:
11/13/13 11:01:09 (11 years ago)
Author:
cborstad
Message:

added an option to print the mean value of data along a section in sectionvalue plot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/plot/plot_section.m

    r13646 r16733  
    5858                %Compute section value
    5959                [elements,x,y,z,s,data_s]=SectionValues(md,datai,profile,resolution);
     60
     61                if getfieldvalue(options,'sectionmean',0)==1,
     62                        disp(['Mean value of data along section: ' num2str(mean(data_s))])
     63                end
    6064
    6165                %units
Note: See TracChangeset for help on using the changeset viewer.