Changeset 2647


Ignore:
Timestamp:
11/11/09 16:06:25 (15 years ago)
Author:
Mathieu Morlighem
Message:

added check for quiver+ overlay

Location:
issm/trunk/src/m/classes/public/plot
Files:
2 edited

Legend:

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

    r2623 r2647  
    190190        eval(['axis ' getfieldvalue(options,'axis')]);
    191191else
    192         axis tight equal;
     192        if (strcmpi(md.type,'2d') | exist(options,'layer')),
     193                axis tight equal;
     194        else
     195                axis auto tight
     196        end
    193197end
    194198
  • issm/trunk/src/m/classes/public/plot/plot_overlay.m

    r2439 r2647  
    1414if ~is2d,
    1515        error('buildoverlay error message: overlay not supported for 3d meshes, project on a layer');
     16end
     17if isquiver
     18        error('buildoverlay error message: overlay not supported for quiver plots');
    1619end
    1720
Note: See TracChangeset for help on using the changeset viewer.