HMIN_plot_writeborder()

Writes the border of a plot to HyperMesh.

Syntax

void HMIN_plot_writeborder(int borderon, int bordercolor, int borderwidth, int bordermargin, double borderxmin, double borderxmax, double borderymin, double borderymax);

Type

HyperMesh hminlib Function

Description

Writes the border of a plot to HyperMesh.

Inputs

borderon
Indicates whether the border is on or off. Use:
  • 1 - If the border is on.
  • 0 - If the border is off.
bordercolor
The color to be assigned to the border.
borderwidth
The width to be assigned the border. Use:
  • 0 - For a thick border.
  • 3 - For a thin border.
bordermargin
The margin of the border in pixels.
borderxmin
The x value of the upper left plot window border.
borderxmax
The x value of the lower right plot window border.
borderymin
The y value of the upper left plot window border.
borderymax
The y value of the lower right plot window border.

Example

The values allowed for the x and y coordinates used for border minimums and maximums range from (0.0, 0.0) to (1.0, 1.0).

Errors

None.