Ignore:
Timestamp:
03/19/07 18:15:51 (17 years ago)
Author:
pinsard
Message:

improvements/corrections of some *.pro headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/PLOTS/DIVERS/projsegment.pro

    r163 r231  
    1 ;------------------------------------------------------------ 
    2 ;------------------------------------------------------------ 
    3 ;------------------------------------------------------------ 
    41;+ 
    52; 
    63; @file_comments 
    7 ; project linearly a segment, a vector whose boundaries are [a,b] on  
     4; project linearly a segment, a vector whose boundaries are [a,b] on 
    85; a vector whose boundaries are [c,d] 
    96; 
     
    1411; A vector whose the first element must be the smallest one and the last must be the biggest one. 
    1512; 
    16 ; @param BORNES  
     13; @param BORNES 
    1714; New boundaries of the vector. 
    1815; 
    1916; @keyword MP 
    20 ; Activate this keyword to the function send back this a vector of 2  
    21 ; elements which are the m and p of the linear projection y=mx+p used  
     17; Activate this keyword to the function send back this a vector of 2 
     18; elements which are the m and p of the linear projection y=mx+p used 
    2219; to pass from the [a,b] segment to the [c,d] segment. 
    2320; 
    24 ; @returns  
     21; @returns 
    2522; A vector whose new boundaries are specified by BORNES. 
    2623; 
    2724; @examples 
    28 ;    
    29 ;   IDL> a=indgen(9)  
    30 ;   IDL> print, a  
     25; 
     26;   IDL> a=indgen(9) 
     27;   IDL> print, a 
    3128;          0       1       2       3       4       5       6       7       8 
    32 ;   IDL> print, projsegment(a,[0,80])  
     29;   IDL> print, projsegment(a,[0,80]) 
    3330;          0      10      20      30      40      50      60      70      80 
    34 ;   IDL> print, projsegment(a,[0,-80])   
     31;   IDL> print, projsegment(a,[0,-80]) 
    3532;          0     -10     -20     -30     -40     -50     -60     -70     -80 
    36 ;   IDL> print, projsegment(a,[-80,0])    
     33;   IDL> print, projsegment(a,[-80,0]) 
    3734;        -80     -70     -60     -50     -40     -30     -20     -10      0 
    3835; 
     
    4542; 
    4643;- 
    47 ;------------------------------------------------------------ 
    48 ;------------------------------------------------------------ 
    49 ;------------------------------------------------------------ 
     44; 
    5045FUNCTION projsegment, vecteur, bornes, MP = mp 
    51 ;-------------------------------------------------------------- 
    5246; 
    5347  compile_opt idl2, strictarrsubs 
Note: See TracChangeset for help on using the changeset viewer.