1.4.4 Settings of the U-Coordinate

Before drawing graphics in a U-coordinate, the sgfrm must be called and the parameters that determine the transformation functions must also be specified. The parameters that must be specified depends on the coordinate system, but the main parameters are all handled by sgpget/sgpset. However, sgpget/sgpset acts only as a bulletin board, and the values of the set parameters become effective when routine sgstrf is called, which makes the transformation function effective. Since it is cumbersome to set the parameters for the transformation function individually, a routine is available for setting the parameters at once, and normally, this routine is used to set the parameters.

To set the parameters for a transformation function, the following coding is performed after sgfrm.

Rectangular Coordinate


       NumRu::DCL.sgsvpt(vxmin,vxmax,vymin,vymax)

       NumRu::DCL.sgswnd(uxmin,uxmax,uymin,uymax)

       NumRu::DCL.sgstrn(itr)

       CALL sgstrf

Orthogonal Coordinate

       NumRu::DCL.sgsvpt(vxmin,vxmax,vymin,vymax)

       NumRu::DCL.sgssim(simfac,vxoff,vyoff)

       NumRu::DCL.sgstrn(itr)

       CALL sgstrf 

Map Projection Coordinate

       NumRu::DCL.sgsvpt(vxmin,vxmax,vymin,vymax)

       NumRu::DCL.sgssim(simfac,vxoff,vyoff)

       NumRu::DCL.sgsmpl(plx,ply,plrot)

       NumRu::DCL.sgstrn(itr)

       CALL sgstrf


In conic projections, the latitude (STLAT1, STLAT2) of the standard parallel must be specified with sgrset besides the above.

These parameters can be specified in any order as long as it is before the sgstrf routine is called, which makes the transformation function effective. A Function is also available which returns the number of transformation function when inquired using the function name or abbreviation.