logxy sets the linear/log axis scaling flags for the current coordinate system. xflag and yflag may be 0 to select linear scaling, or 1 to select log scaling. yflag may be omitted (but not xflag).
Turns on or off grid lines according to flag. In the first form, both the x and y axes are affected. In the second form, xflag and yflag may differ to have different grid options for the two axes. In either case, a flag value of 0 means no grid lines (the default), a value of 1 means grid lines at all major ticks (the level of ticks which get grid lines can be set in the style sheet), and a flag value of 2 means that the coordinate origin only will get a grid line. In styles with multiple coordinate systems, only the current coordinate system is affected. The keywords can be used to affect the style of the grid lines.
You can also turn the ticks off entirely. (You might want to do this to plot your own custom set of tick marks when the automatic tick generating machinery will never give the ticks you want. For example a latitude axis in degrees might reasonably be labeled "0, 30, 60, 90", but the automatic machinery considers 3 an "ugly" number - only 1, 2, and 5 are "pretty" - and cannot make the required scale. In this case, you can turn off the automatic ticks and labels, and use plsys, pldj, and plt to generate your own.)
To fiddle with the tick flags in this general manner, set the 0x200 bit of flag (or xflag or yflag), and "or-in" the 0x1ff bits however you wish. The meaning of the various flags is described in the "work.gs" Gist style sheet. Additionally, you can use the 0x400 bit to turn on or off the frame drawn around the viewport. Here are some examples: