Changeset 19880


Ignore:
Timestamp:
12/11/15 09:16:48 (9 years ago)
Author:
Mathieu Morlighem
Message:

BUG: fixed option check

File:
1 edited

Legend:

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

    r19877 r19880  
    277277                textrotationi=textrotation{i};
    278278                h=text(textpositioni(1),textpositioni(2),10,textstringi,'FontSize',textsizei,'FontWeight',textweighti,'Color',textcolori,'Rotation',textrotationi);
    279                 if getfieldvalue(options,'textclip','on'),
     279                if strcmpi(getfieldvalue(options,'textclip','on'),'on'),
    280280                        set(h,'Clipping','on'); %prevent text from appearing outside of the box
    281281                end
Note: See TracChangeset for help on using the changeset viewer.