Changeset 2483


Ignore:
Timestamp:
10/22/09 10:55:54 (15 years ago)
Author:
Mathieu Morlighem
Message:

Added figure number support in plot_transient_field

File:
1 edited

Legend:

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

    r2462 r2483  
    1212end
    1313
    14 fontsize=getfieldvalue(options,'fontsize',14);
     14fontsize  =getfieldvalue(options,'fontsize',14);
    1515fontweight=getfieldvalue(options,'fontweight','n');
     16figurenum =getfieldvalue(options,'figure',1);
    1617
    1718%Figure out the iterations to plot and check if it is possible
     
    4546end
    4647
    47 
    4848string='plotmodel(md';
    4949for i=1:length(steps),
    5050        string=[string ',''data'',md.results.transient(' num2str(steps(i)) ').' field  ',''title'',''' field ' at time ' num2str(md.results.transient(steps(i)).time) ' a'''];
    5151end
    52 string=[string ',''colorbar#all'',''on'',''fontsize'',' num2str(fontsize) ',''fontweight'',''' fontweight ''');'];
     52string=[string ',''colorbar#all'',''on'',''fontsize'',' num2str(fontsize) ',''fontweight'',''' fontweight ''',''figure'',' num2str(figurenum) ');'];
    5353eval(string);
    5454clear string;
    55 
Note: See TracChangeset for help on using the changeset viewer.