Changeset 19877


Ignore:
Timestamp:
12/11/15 09:09:28 (9 years ago)
Author:
Eric.Larour
Message:

CHG: adding an option to control text clippling (default on).

File:
1 edited

Legend:

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

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