plmvorg

move origin in user units

parametertypeunitsdescription
x,yfloatuuposition to which the origin is moved
returns:void

Description

plmvorg moves the origin (the position (0,0)) of the user units coordinate system to the position (x,y) in the current user units coordinate system (plmvorg).

Examples

The following program draws axes, then moves the origin and plots the same axes again; as the axes cross in the origin (that is: in the point (0,0)) in millimeters, the new axes are shifted with respect to the initial axes. Finally, a dot is plotted in the new coordinate system, before as well as after moving the origin with plmvorgm.
plinit PS plmvorg A4 50 50 "" ""
plaxes 100 100 200 200 70 70 "" "" "initial coordinate system"
plmvorg 110 115
plaxes 100 100 200 200 70 70 "" "" "after plmvorg(110,115)"
pldot 150 150 2 plmvorgm 10 10 pldot 150 150 2
plframe 5 3

plmvorg

See also

plformat plaxes plpgon plreserv plpline plhist simplot program plot