- Timestamp:
- 07/23/09 11:18:49 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_assistant_output/Interpolation/cutpar.html
r338 r402 275 275 <h3>Examples</h3><pre> 276 276 277 IDL> x0 = [2,6,2]278 IDL> y0 = [0,2,6]279 IDL> x1 = [3,8,4]280 IDL> y1 = [4,4,6]281 IDL> x2 = [1,6,4]282 IDL> y2 = [5,6,8]283 IDL> x3 = [0,4,2]284 IDL> y3 = [1,4,8]285 IDL> n = 4286 IDL> splot, [0,10], [0,10], xstyle = 1, ystyle = 1,/nodata287 IDL> for i=0,2 do oplot, [x0[i],x1[i],x2[i],x3[i],x0[i]],[y0[i],y1[i],y2[i],y3[i],y0[i]]288 IDL> res=cutpar(x0, y0, x1, y1, x2, y2, x3, y3, n)289 IDL> for i=0,2 do oplot, [res[0,*,i]], [res[1,*,i]], color = 20+10*i, psym = 1, thick = 3277 IDL> x0 = [2,6,2] 278 IDL> y0 = [0,2,6] 279 IDL> x1 = [3,8,4] 280 IDL> y1 = [4,4,6] 281 IDL> x2 = [1,6,4] 282 IDL> y2 = [5,6,8] 283 IDL> x3 = [0,4,2] 284 IDL> y3 = [1,4,8] 285 IDL> n = 4 286 IDL> splot, [0,10], [0,10], xstyle = 1, ystyle = 1,/nodata 287 IDL> for i=0,2 do oplot, [x0[i],x1[i],x2[i],x3[i],x0[i]],[y0[i],y1[i],y2[i],y3[i],y0[i]] 288 IDL> res=cutpar(x0, y0, x1, y1, x2, y2, x3, y3, n) 289 IDL> for i=0,2 do oplot, [res[0,*,i]], [res[1,*,i]], color = 20+10*i, psym = 1, thick = 3 290 290 291 291 </pre><h3>Version history</h3> 292 292 293 293 <h4>Version</h4> 294 $Id: cutpar.pro 3 27 2007-12-13 16:22:35Z pinsard $294 $Id: cutpar.pro 372 2008-08-08 12:31:53Z pinsard $ 295 295 296 296 <h4>History</h4> 297 298 297 S. Masson (smasson@lodyc.jussieu.fr) 298 - July 5th, 2002 299 299 300 300
Note: See TracChangeset
for help on using the changeset viewer.