Changeset 2254


Ignore:
Timestamp:
09/17/09 11:40:21 (16 years ago)
Author:
Eric.Larour
Message:

Inserted plot_qmuhistnorm into our plotting framework.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/public/plot/plot_qmuhistnorm.m

    r2242 r2254  
    6464else
    6565        varargin=options_structure.histnorm_data;
     66end
     67
     68%recover fontsize
     69if isnans(options_structure.fontsize),
     70        fontsize=options_structure.fontsize;
     71else
     72        fontsize=18;
    6673end
    6774
     
    189196
    190197%  add the annotation
    191 
    192 if isnans(options_structure.title),
    193         options_structure.title='Relative Frequency Histogram';
    194 end
    195 if isnans(options_structure.xlabel),
    196         options_structure.xlabel='Interval Edge Value';
    197 end
    198 if isnans(options_structure.ylabel),
    199         options_structure.ylabel='Relative Frequency';
    200 end
     198ylabel('Relative Frequency','Fontsize',fontsize);
    201199
    202200if exist('desc','var')
     
    252250%  add the annotation
    253251
    254 ylabel('Cumulative Percent')
     252ylabel('Cumulative Percent','FontSize',fontsize)
    255253
    256254% legend doesn't combine with bar chart above
     
    267265%hold off
    268266
     267
     268%apply options.
     269if isnans(options_structure.title),
     270        options_structure.title='Relative Frequency Histogram';
     271end
     272if isnans(options_structure.xlabel),
     273        options_structure.xlabel='Interval Edge Value';
     274end
     275
    269276if isnan(options_structure.colorbar)
    270277        options_structure.colorbar=0;
Note: See TracChangeset for help on using the changeset viewer.