Changeset 7197


Ignore:
Timestamp:
01/27/11 08:53:13 (14 years ago)
Author:
Mathieu Morlighem
Message:

Added plot_gridded, very useful for pdf figure export.
Also, one might need to use different models in the same plot. There is now a 'model' options:

plotmodel(md,'data','thickness','model#2',md2,'data','thickness')

Location:
issm/trunk/src/m/model/plot
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/model/plot/plot_manager.m

    r7143 r7197  
    144144if exist(options,'overlay'),
    145145        plot_overlay(md,data,options,nlines,ncols,i);
     146        return;
     147end
     148
     149%Figure out if this is a semi-transparent plot.
     150if exist(options,'gridded'),
     151        plot_gridded(md,data,options,nlines,ncols,i);
    146152        return;
    147153end
  • issm/trunk/src/m/model/plot/plotmodel.m

    r6860 r7197  
    4747        try,
    4848                for i=1:numberofplots,
    49                         plot_manager(md,options.list{i},subplotwidth,nlines,ncols,i);
     49                        plot_manager(getfieldvalue(options.list{i},'model',md),options.list{i},subplotwidth,nlines,ncols,i);
    5050                end
    5151        catch me,
Note: See TracChangeset for help on using the changeset viewer.