- Timestamp:
- 07/23/09 11:18:49 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_assistant_output/Interpolation/cutsegment.html
r338 r402 210 210 211 211 <h3>Examples</h3><pre> 212 IDL> x0=[2,5] 213 IDL> y0=[5,1] 214 IDL> x1=[9,3] 215 IDL> y1=[1,8] 216 IDL> res=cutsegment(x0, y0, x1, y1, 10) 217 IDL> splot, [0,10], [0,10], xstyle = 1, ystyle = 1,/nodata 218 IDL> oplot, [x0[0], x1[0]], [y0[0], y1[0]] 219 IDL> oplot, [res[0,*,0]], [res[1,*,0]], color = 20, psym = 1, thick = 3 220 IDL> oplot, [x0[1], x1[1]], [y0[1], y1[1]] 221 IDL> oplot, [res[0,*,1]], [res[1,*,1]], color = 40, psym = 1, thick = 3 212 213 IDL> x0=[2,5] 214 IDL> y0=[5,1] 215 IDL> x1=[9,3] 216 IDL> y1=[1,8] 217 IDL> res=cutsegment(x0, y0, x1, y1, 10) 218 IDL> splot, [0,10], [0,10], xstyle = 1, ystyle = 1,/nodata 219 IDL> oplot, [x0[0], x1[0]], [y0[0], y1[0]] 220 IDL> oplot, [res[0,*,0]], [res[1,*,0]], color = 20, psym = 1, thick = 3 221 IDL> oplot, [x0[1], x1[1]], [y0[1], y1[1]] 222 IDL> oplot, [res[0,*,1]], [res[1,*,1]], color = 40, psym = 1, thick = 3 222 223 223 224 </pre><h3>Version history</h3> 224 225 225 226 <h4>Version</h4> 226 $Id: cutsegment.pro 3 27 2007-12-13 16:22:35Z pinsard $227 $Id: cutsegment.pro 371 2008-08-07 09:32:02Z pinsard $ 227 228 228 229 <h4>History</h4>
Note: See TracChangeset
for help on using the changeset viewer.