Changeset 25058
- Timestamp:
- 06/18/20 00:04:23 (5 years ago)
- Location:
- issm/trunk-jpl/src/m/plot
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/plot/plot_coastlines.m
r24882 r25058 9892 9892 set(p,'LineWidth',getfieldvalue(options,'coast_linewidth',1)); 9893 9893 else 9894 [x,y,z]=AboveGround(coastlat,coastlon,mesh.r(1),1000); 9895 hold on, p=plot3(x,y,z,'k-'); 9894 if ~strcmpi(getfieldvalue(options,'coord','xy'),'latlon'), 9895 [x,y,z]=AboveGround(coastlat,coastlon,mesh.r(1),1000); 9896 hold on, p=plot3(x,y,z,'k-'); 9897 else 9898 hold on, p=plot(coastlon,coastlat,'k-'); 9899 end 9896 9900 set(p,'Color',getfieldvalue(options,'coast_color','k')); 9897 9901 set(p,'LineWidth',getfieldvalue(options,'coast_linewidth',1)); -
issm/trunk-jpl/src/m/plot/processmesh.m
r21958 r25058 24 24 if strcmp(domaintype(md.mesh),'3Dsurface'), 25 25 [x y z elements is2d isplanet] = processmesh(md.mesh,options); 26 if strcmpi(getfieldvalue(options,'coord','xy'),'latlon'), 27 x=md.mesh.long; 28 y=md.mesh.lat; 29 elements=delaunay(x,y); 30 z=md.mesh.lat; z(:)=0; 31 end 26 32 return; 27 33 end
Note:
See TracChangeset
for help on using the changeset viewer.