- Timestamp:
- 07/23/09 11:18:49 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_html_output/Interpolation/cutpar.html
r338 r402 292 292 <h3>Examples</h3><div class="preformat"> 293 293 294 IDL> x0 = [2,6,2]295 IDL> y0 = [0,2,6]296 IDL> x1 = [3,8,4]297 IDL> y1 = [4,4,6]298 IDL> x2 = [1,6,4]299 IDL> y2 = [5,6,8]300 IDL> x3 = [0,4,2]301 IDL> y3 = [1,4,8]302 IDL> n = 4303 IDL> splot, [0,10], [0,10], xstyle = 1, ystyle = 1,/nodata304 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]]305 IDL> res=cutpar(x0, y0, x1, y1, x2, y2, x3, y3, n)306 IDL> for i=0,2 do oplot, [res[0,*,i]], [res[1,*,i]], color = 20+10*i, psym = 1, thick = 3294 IDL> x0 = [2,6,2] 295 IDL> y0 = [0,2,6] 296 IDL> x1 = [3,8,4] 297 IDL> y1 = [4,4,6] 298 IDL> x2 = [1,6,4] 299 IDL> y2 = [5,6,8] 300 IDL> x3 = [0,4,2] 301 IDL> y3 = [1,4,8] 302 IDL> n = 4 303 IDL> splot, [0,10], [0,10], xstyle = 1, ystyle = 1,/nodata 304 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]] 305 IDL> res=cutpar(x0, y0, x1, y1, x2, y2, x3, y3, n) 306 IDL> for i=0,2 do oplot, [res[0,*,i]], [res[1,*,i]], color = 20+10*i, psym = 1, thick = 3 307 307 </div> 308 308 <h3>Version history</h3> 309 309 310 310 <h4>Version</h4><div class="preformat"> 311 $Id: cutpar.pro 3 27 2007-12-13 16:22:35Z pinsard $311 $Id: cutpar.pro 372 2008-08-08 12:31:53Z pinsard $ 312 312 </div> 313 313 <h4>History</h4><div class="preformat"> 314 315 314 S. Masson (smasson@lodyc.jussieu.fr) 315 - July 5th, 2002 316 316 </div> 317 317
Note: See TracChangeset
for help on using the changeset viewer.