AgsGui.Plot

Fields

Name

Type

Access

Description

bitmap

int

r/w

bitmap_color

float

r/w

fill_flags

AgsGui.PlotFillFlags

r/w

join_points

bool

r/w

n_bitmaps

int

r/w

n_pixmaps

int

r/w

n_points

int

r/w

pixmap

float

r/w

point

float

r/w

point_color

float

r/w

point_label

str

r/w

Methods

class

alloc (n_points, n_bitmaps, n_pixmaps)

class

free (plot)

class

get_bitmap (plot)

class

get_bitmap_color (plot)

class

get_join_points (plot)

class

get_n_bitmaps (plot)

class

get_n_pixmaps (plot)

class

get_n_points (plot)

class

get_pixmap (plot)

class

get_point (plot)

class

get_point_color (plot)

class

get_point_label (plot)

class

set_bitmap (plot, bitmap)

class

set_bitmap_color (plot, bitmap_color)

class

set_join_points (plot, join_points)

class

set_n_bitmaps (plot, n_bitmaps)

class

set_n_pixmaps (plot, n_pixmaps)

class

set_n_points (plot, n_points)

class

set_pixmap (plot, pixmap)

class

set_point (plot, point)

class

set_point_color (plot, point_color)

class

set_point_label (plot, point_label)

Details

class AgsGui.Plot
classmethod alloc(n_points, n_bitmaps, n_pixmaps)
Parameters:
  • n_points (int) – number of points

  • n_bitmaps (int) – number of bitmaps

  • n_pixmaps (int) – number of pixmaps

Returns:

the newly allocated AgsGui.Plot-struct

Return type:

object or None

Allocate AgsGui.Plot-struct.

New in version 3.0.0.

classmethod free(plot)
Parameters:

plot (object or None) – the AgsGui.Plot-struct

Free plot.

New in version 3.0.0.

classmethod get_bitmap(plot)
Parameters:

plot (object or None) – the AgsGui.Plot-struct

Returns:

bitmap field

Return type:

int

Get bitmaps.

New in version 3.2.0.

classmethod get_bitmap_color(plot)
Parameters:

plot (object or None) – the AgsGui.Plot-struct

Returns:

bitmap color field

Return type:

float

Get bitmap colors.

New in version 3.2.0.

classmethod get_join_points(plot)
Parameters:

plot (object or None) – the AgsGui.Plot-struct

Returns:

join_points field

Return type:

bool

Get join points.

New in version 3.2.0.

classmethod get_n_bitmaps(plot)
Parameters:

plot (object or None) – the AgsGui.Plot-struct

Returns:

n_bitmaps field

Return type:

int

Get number of bitmaps.

New in version 3.2.0.

classmethod get_n_pixmaps(plot)
Parameters:

plot (object or None) – the AgsGui.Plot-struct

Returns:

n_pixmaps field

Return type:

int

Get number of pixmaps.

New in version 3.2.0.

classmethod get_n_points(plot)
Parameters:

plot (object or None) – the AgsGui.Plot-struct

Returns:

n_points field

Return type:

int

Get number of points.

New in version 3.2.0.

classmethod get_pixmap(plot)
Parameters:

plot (object or None) – the AgsGui.Plot-struct

Returns:

pixmap field

Return type:

int

Get pixmaps.

New in version 3.2.0.

classmethod get_point(plot)
Parameters:

plot (object or None) – the AgsGui.Plot-struct

Returns:

point field

Return type:

float

Get points.

New in version 3.2.0.

classmethod get_point_color(plot)
Parameters:

plot (object or None) – the AgsGui.Plot-struct

Returns:

point color field

Return type:

float

Get point colors.

New in version 3.2.0.

classmethod get_point_label(plot)
Parameters:

plot (object or None) – the AgsGui.Plot-struct

Returns:

point label field

Return type:

[str]

Get point labels.

New in version 3.2.0.

classmethod set_bitmap(plot, bitmap)
Parameters:

Set bitmap field of plot.

New in version 3.2.0.

classmethod set_bitmap_color(plot, bitmap_color)
Parameters:

Set bitmap color field of plot.

New in version 3.2.0.

classmethod set_join_points(plot, join_points)
Parameters:

Set join_points field of plot.

New in version 3.2.0.

classmethod set_n_bitmaps(plot, n_bitmaps)
Parameters:

Set n_bitmaps field of plot.

New in version 3.2.0.

classmethod set_n_pixmaps(plot, n_pixmaps)
Parameters:

Set n_pixmaps field of plot.

New in version 3.2.0.

classmethod set_n_points(plot, n_points)
Parameters:

Set n_points field of plot.

New in version 3.2.0.

classmethod set_pixmap(plot, pixmap)
Parameters:

Set pixmap field of plot.

New in version 3.2.0.

classmethod set_point(plot, point)
Parameters:

Set point field of plot.

New in version 3.2.0.

classmethod set_point_color(plot, point_color)
Parameters:

Set point color field of plot.

New in version 3.2.0.

classmethod set_point_label(plot, point_label)
Parameters:

Set point label field of plot.

New in version 3.2.0.