#### 6.10.2.5. ScalarFieldData

`class compolyx.plot_data.ScalarFieldData`(graph, obj, parent=None)

Bases: compolyx.plot_data.contour_data.ContourData

`get_support_point_coordinates`()

  Get the coordinates of the supporting points.

  Returns

  Resulting n-dimensional array with the coordinates for each supporting point.

  Data is returned independent of update status of plot.

  Examples:

    Get coordinates for supporting points defining look-up table plot:

        >>> coords = my_plot._get_support_point_coordinates()

`get_support_point_labels`()

  Get the identifiers for the supporting points.

  Returns

  Resulting n-dimensional array with the supporting point labels.

  Labels are returned independent of update status of plot.

  Examples:

    Get labels for supporting points defining look-up table plot:

        >>> coords = my_plot._get_support_point_labels()

`get_support_point_values`()

  Get the scalar values defined at the supporting points.

  Returns

  Resulting n-dimensional array with the scalar values as defined at the supporting points.

  Values are returned independent of update status of plot.

  Examples:

    Get scalar values for supporting points defining look-up table plot:

        >>> coords = my_plot._get_support_point_values()

`scalar_field`

  Status boolean. Set to true if the underlying data has been changed. Write only property

`serialize`()

  Serialize to Python string

`show_supporting_point_labels`

  Whether to plot supporting points.

`show_supporting_points`

  Whether to plot supporting points.

`spot`

  Not applicable to a scalar field plot

Release 18.2 - © ANSYS, Inc. All rights reserved.