source: issm/oecreview/Archive/18296-19100/ISSM-18657-18658.diff

Last change on this file was 19102, checked in by Mathieu Morlighem, 10 years ago

NEW: added 18296-19100

File size: 819 bytes
RevLine 
[19102]1Index: ../trunk-jpl/src/m/exp/expdisp.m
2===================================================================
3--- ../trunk-jpl/src/m/exp/expdisp.m (revision 18657)
4+++ ../trunk-jpl/src/m/exp/expdisp.m (revision 18658)
5@@ -49,8 +49,9 @@
6 for i=1:length(domain),
7 if domain(i).nods==1
8 plot(domain(i).x*unitmultiplier,domain(i).y*unitmultiplier,'o','MarkerEdgeColor','k','MarkerFaceColor','r','MarkerSize',10);
9- text(domain(i).x*unitmultiplier,domain(i).y*unitmultiplier, ...
10- domain(i).name,'BackgroundColor',[1. .0 .0]);
11+ if exist(options,'title')
12+ text(domain(i).x*unitmultiplier,domain(i).y*unitmultiplier,domain(i).name,'BackgroundColor',[1. .0 .0]);
13+ end
14 else
15 if (isnumeric(linestyle))
16 plot(domain(i).x*unitmultiplier,domain(i).y*unitmultiplier,'Color',linestyle,'linewidth',linewidth);
Note: See TracBrowser for help on using the repository browser.