Changeset 18658


Ignore:
Timestamp:
10/20/14 08:38:17 (10 years ago)
Author:
bdef
Message:

CHG: title is an option for point plots also

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/exp/expdisp.m

    r18657 r18658  
    5050        if domain(i).nods==1
    5151                plot(domain(i).x*unitmultiplier,domain(i).y*unitmultiplier,'o','MarkerEdgeColor','k','MarkerFaceColor','r','MarkerSize',10);
    52                 text(domain(i).x*unitmultiplier,domain(i).y*unitmultiplier, ...
    53                                  domain(i).name,'BackgroundColor',[1. .0 .0]);
     52          if exist(options,'title')
     53                        text(domain(i).x*unitmultiplier,domain(i).y*unitmultiplier,domain(i).name,'BackgroundColor',[1. .0 .0]);
     54          end
    5455        else
    5556                if (isnumeric(linestyle))
Note: See TracChangeset for help on using the changeset viewer.