Changeset 6167
- Timestamp:
- 10/06/10 12:05:02 (14 years ago)
- Location:
- issm/trunk/src/m/model/plot
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/model/plot/applyoptions.m
r6088 r6167 57 57 %Must be done here so that it uses the same xlim and ylim as plot_overlay 58 58 %these are changed by axis that follows 59 if exist(options,'latlon')59 if strcmpi(getfieldvalue(options,'latlon','off'),'on') 60 60 latlonoverlay(options); 61 61 end … … 130 130 c=colorbar; 131 131 end 132 set(c,'FontSize',getfieldvalue(options,'colorbarfontsize', 14));132 set(c,'FontSize',getfieldvalue(options,'colorbarfontsize',fontsize)); 133 133 if exist(options,'wrapping') 134 134 lim=get(c,'Ylim'); … … 187 187 if exist(options,'text'); 188 188 textstring=getfieldvalue(options,'text'); 189 textweight=getfieldvalue(options,'textweight' );189 textweight=getfieldvalue(options,'textweight','b'); 190 190 textsize=getfieldvalue(options,'textsize'); 191 191 textcolor=getfieldvalue(options,'textcolor'); -
issm/trunk/src/m/model/plot/plot_manager.m
r6134 r6167 180 180 PosInset=[cplotpos(1)+insetpos(1)*cplotpos(3),cplotpos(2)+insetpos(2)*cplotpos(4), insetpos(3)*cplotpos(3), insetpos(4)*cplotpos(4)]; 181 181 %show pos 182 X1=getfieldvalue(options,'insetx',[min(x) max(x)]); 183 Y1=getfieldvalue(options,'insety',[min(y) max(y)]); 182 184 if strcmpi(getfieldvalue(options,'showinset','off'),'on') 183 X1=getfieldvalue(options,'insetx',[min(x) max(x)]);184 Y1=getfieldvalue(options,'insety',[min(y) max(y)]);185 185 line(X1([1 2 2 1 1]),Y1([1 1 2 2 1]),zeros(1,5),'Color','k','LineWidth',2); 186 186 end … … 189 189 axes('pos',PosInset); 190 190 box('on') 191 patch('Faces',[1 2 3 4 1],'Vertices',[X1([1 2 2 1])' Y1([1 1 2 2])' -10^10*ones(4,1)],'FaceColor','w','EdgeColor','k'); 192 hold on 191 193 plot_unit(x,y,z,elements,data2,is2d,datatype,options); 192 194 -
issm/trunk/src/m/model/plot/plot_unit.m
r5867 r6167 9 9 %edgecolor 10 10 edgecolor=getfieldvalue(options,'edgecolor','none'); 11 %P=get(gca,'pos') ;11 %P=get(gca,'pos') 12 12 %P(3)=P(3)+0.04; 13 13 %P(1)=P(1)-0.02;
Note:
See TracChangeset
for help on using the changeset viewer.