Method axes
| Improve this Doc View Sourceaxes(Double, Double, String, Double, Int32, String, Double, Int32)
plaxes: Draw a box with axes, etc. with arbitrary origin
Declaration
public void axes(Double x0, Double y0, string xopt, Double xtick, Int32 nxsub, string yopt, Double ytick, Int32 nysub)
Parameters
Type | Name | Description |
---|---|---|
Double | x0 | World X coordinate of origin. |
Double | y0 | World Y coordinate of origin. |
System.String | xopt | One or more string concatenated from XYAxisOpt. |
Double | xtick | World coordinate interval between major ticks on the x axis. If it is set to zero, PLplot automatically generates a suitable tick interval. |
Int32 | nxsub | Number of subintervals between major x axis ticks for minor ticks. If it is set to zero, PLplot automatically generates a suitable minor tick interval. |
System.String | yopt | One or more string concatenated from XYAxisOpt. |
Double | ytick | World coordinate interval between major ticks on the y axis. If it is set to zero, PLplot automatically generates a suitable tick interval. |
Int32 | nysub | Number of subintervals between major y axis ticks for minor ticks. If it is set to zero, PLplot automatically generates a suitable minor tick interval. |
Remarks
Draws a box around the currently defined viewport with arbitrary world-coordinate origin specified by x0 and y0 and labels it with world coordinate values appropriate to the window. Thus plaxes should only be called after defining both viewport and window. The ascii character strings xopt and yopt specify how the box should be drawn as described below. If ticks and/or subticks are to be drawn for a particular axis, the tick intervals and number of subintervals may be specified explicitly, or they may be defaulted by setting the appropriate arguments to zero.