- Timestamp:
- 07/23/09 11:18:49 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_html_output/Interpolation/cutsegment.html
r338 r402 235 235 236 236 <h3>Examples</h3><div class="preformat"> 237 IDL> x0=[2,5] 238 IDL> y0=[5,1] 239 IDL> x1=[9,3] 240 IDL> y1=[1,8] 241 IDL> res=cutsegment(x0, y0, x1, y1, 10) 242 IDL> splot, [0,10], [0,10], xstyle = 1, ystyle = 1,/nodata 243 IDL> oplot, [x0[0], x1[0]], [y0[0], y1[0]] 244 IDL> oplot, [res[0,*,0]], [res[1,*,0]], color = 20, psym = 1, thick = 3 245 IDL> oplot, [x0[1], x1[1]], [y0[1], y1[1]] 246 IDL> oplot, [res[0,*,1]], [res[1,*,1]], color = 40, psym = 1, thick = 3 237 238 IDL> x0=[2,5] 239 IDL> y0=[5,1] 240 IDL> x1=[9,3] 241 IDL> y1=[1,8] 242 IDL> res=cutsegment(x0, y0, x1, y1, 10) 243 IDL> splot, [0,10], [0,10], xstyle = 1, ystyle = 1,/nodata 244 IDL> oplot, [x0[0], x1[0]], [y0[0], y1[0]] 245 IDL> oplot, [res[0,*,0]], [res[1,*,0]], color = 20, psym = 1, thick = 3 246 IDL> oplot, [x0[1], x1[1]], [y0[1], y1[1]] 247 IDL> oplot, [res[0,*,1]], [res[1,*,1]], color = 40, psym = 1, thick = 3 247 248 </div> 248 249 <h3>Version history</h3> 249 250 250 251 <h4>Version</h4><div class="preformat"> 251 $Id: cutsegment.pro 3 27 2007-12-13 16:22:35Z pinsard $252 $Id: cutsegment.pro 371 2008-08-07 09:32:02Z pinsard $ 252 253 </div> 253 254 <h4>History</h4><div class="preformat">
Note: See TracChangeset
for help on using the changeset viewer.