Changeset 19870 for issm/trunk-jpl/src/m/plot/plot_mesh.js
- Timestamp:
- 12/09/15 19:58:31 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/plot/plot_mesh.js
r19853 r19870 21 21 //}}} 22 22 23 //Compute coordinates and data range: 24 xmin = ArrayMin(x); 25 xmax = ArrayMax(x); 26 ymin = ArrayMin(y); 27 ymax = ArrayMax(y); 28 zmin = ArrayMin(z); 29 zmax = ArrayMax(z); 23 //Compute coordinates and data range: 24 var modelxlim = [ArrayMin(x),ArrayMax(x)]; 25 var modelylim = [ArrayMin(y),ArrayMax(y)]; 26 var modelzlim = [ArrayMin(z),ArrayMax(z)]; 27 var xlim = options.getfieldvalue('xlim',modelxlim); 28 var ylim = options.getfieldvalue('ylim',modelylim); 29 var zlim = options.getfieldvalue('zlim',modelzlim); 30 xmin = xlim[0]; 31 xmax = xlim[1]; 32 ymin = ylim[0]; 33 ymax = ylim[1]; 34 zmin = zlim[0]; 35 zmax = zlim[1]; 30 36 31 37 //Compute scaling:
Note:
See TracChangeset
for help on using the changeset viewer.