Method box
| Improve this Doc View Sourcebox(String, Double, Int32, String, Double, Int32)
plbox: Draw a box with axes, etc
Declaration
public void box(string xopt, Double xtick, Int32 nxsub, string yopt, Double ytick, Int32 nysub)
Parameters
Type | Name | Description |
---|---|---|
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, and labels it with world coordinate values appropriate to the window. Thus plbox 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.