greg常用命令解释
1. SET BOX_LOCATION [GREG1\]SET BOX_LOCATION Argument_List Define the position of the box. The argument list specifies various options for the box position : box位置的不同选项 - PORTRAIT Define a default Portrait oriented box 定义默认的纵向框 - LANDSCAPE Define a default Landscape oriented box 定义默认的横向框 - SQUARE Define a square box 定义方形框 - MATCH [Gx1 Gy1 [Ratio]] Define a box which matches the ratio of the physical units. By default, the bottom left corner is placed at the default position for the current plot page, but can be moved by specifying arguments Gx1 and Gy1. The box size is adjusted such that the box occupies as much space as possible within the default box position for the current plot page type. Ratio is an additional ar- guments which indicates a scaling factor for the Y axis. WARNING : The box is computed from the current limits, and will not change if you compute new limits. - Gx1 Gx2 Gy1 Gy2 Defines the positions of all box corners in physi- cal units.以物理单位定义所有长方体角点的位置 The default is LANDSCAPE, PORTRAIT or the default VIEWPORT according to the current PLOT_PAGE type. 2.limits [GREG1\]LIMITS [X1 X2 Y1 Y2 [Unit]] [/XLOG] [/YLOG] [/RGDATA] [/BLANKING Bval Eval] [/REVERSE [X] [Y]] [/VARIABLES Array_X Array_Y] [/MARGIN [...]] Sets the coordinates of the plot region. The limits are the user coordi- nates of the BOX corners, and in conjunction with the BOX_LOCATION, specifies the conversion formula between USER and PLOT coordinates. 设置plot区域的坐标。限制是框角的用户坐标,并结合框位置指定user和plot坐标之间的转换公式。 The limits can be computed from different data: - if LIMITS has no arguments, it will compute automatic limits using data from the most recent COLUMN X and Y, if any, - if the option /RGDATA is present, the current Regular Grid map is used, if any, - if the option /VARIABLES Array_X Array_Y is present, the named SIC variables are used. Options /RGDATA and /VARIABLES are exclusive专用的. Some special characters are allowed instead of numerical values for the limits : * Compute automatic limit for this argument < Compute automatic limit for this argument, and take the minimum of this value and the precedent limit. > Same as above, but take the maximum. = Keep the precedent value for this limit.保持当前的值 An additional argument can be used when a projection and a system are defined. It may take values - RADIAN : The values are assumed to be normal projected coordinates from the projection center. - SECOND, MINUTE or DEGREE : The values are converted from the speci- fied angular unit to radians. They still represent offsets from the projection center. - ABSOLUTE : The values are assumed to be absolute coordinates on the sphere. APPROXIMATE corresponding projected coordinates are computed from these values (the projected coordinates are necessarily approx- imate since in general e.g. the upper left and lower left corner of the box correspond to different absolute Right ascension for Equato- rial system). The default value is the current angle unit as defined by SET ANGLE. 3. image 读取gdf文件, 4.run reproject 输入fits文件,输出gdf文件 坐标 equ, projection type radio 5.limits calculate the limits of the read data to plot the whole set计算读取数据的限制,绘制整个集合 limits xmin xmax ymin ymax limits /xlog or /ylog 6. connect curve histogram points draw set:controls many greg parameters
7.
1: column x 1 y 2 /file data.dat2: limits3: box4: set marker 12 3 .35: points6: mfit y=&A+&B*x+&C*x**27: pencil /c 18: curve x mfit %fit9: draw text 0.1 0.9"y=A+B*x+C*x**2"6 010: draw text 0.1 0.85"A=6.2346908731640158E-002(6E-002)"6 011:draw text 0.1 0.8"B=2.2712825762132412E-002(0.3)"6 012:draw text 0.1 0.75"C=1.0423135078228181(0.3)"6 013: hardcopy mfit_fit.eps
浙公网安备 33010602011771号