| | |
- Axes
-
- Subplot
- AxisText
- gtk.Button(gtk.Bin)
-
- Button_Navigation
-
- Button_AxisAutoScale
- Button_XAxisLim
- Button_XAxisScale
- Button_YAxisLim
- Button_YAxisScale
- gtk.Dialog(gtk.Window)
-
- Dialog_MeasureTool
- Dialog_NavigationTool
- gtk.DrawingArea(gtk.Widget)
-
- Figure
- matplotlib.utils.Range
-
- AxisRange
- _process_plot_var_args
class Axes |
| |
Emulate matlab's axes command, creating axes with
Axes(position=[left, bottom, width, height])
where all the arguments are fractions in [0,1] which specify the
fraction of the total figure window. |
| |
Methods defined here:
- __init__(self, position, bg=<GdkColor>)
- _draw_axes(self, widget)
- Draw the axis lines and ticks
- _draw_labels(self, widget)
- Draw the axis and tick labels
- _draw_lines(self, widget)
- Draw the plot lines
- _generate_axis_boilerplate(self, c)
- Generate the getters and setters which emulate matlab
style axis properties (eg, xticks, xticklabels, yticks,
yticklabels) to interact with the underlying AxisRange
objects.
The underlying range objects are self._xaxisRange, self._xaxisRange,
self._zrange.
c is the char specifying the axis to gen the boilerplate for,
eg, 'x', 'y' 'z'
- _get_tick_sizes_in_data_coords(self)
- I want the tick sizes to be independent of the size of the
axis. Since the axis lines and ticks are in data
coordinates, I compute the data coordinates of a fixed
tick size (admittedly, a bit backwards)
- _pass_func(self, *args, **kwargs)
- _set_axis_lines(self)
- Set the location and extent of the axis lines and ticks. The
resultant lines are assigned to the class attributes _xaxis,
_yaxis, _xticks, _yticks, each of which are lists of Line2D
instances.
- _transform_win_to_x(self, win)
- win is a scalar or numpy array in window coords; transform it
into a same size array in x coords
- _transform_win_to_y(self, win)
- win is a scalar or numpy array in window coords; transform it
into a same size array in y coords
- _transformx(self, val)
- Transform x data (val can be a scalar or numpy array) into window coords
- _transformy(self, val)
- Transform y data (val can be a scalar or numpy array) into window coords
- add_line(self, line)
- Add a line to the list of plot lines
- autoscale(self)
- clear(self, widget=None, event=None)
- configure_event(self, widget, event)
- Reset the window params after a configure event
- draw(self, widget=None)
- Draw everything (plot lines, axes, labels)
- get_lines(self, type=<class matplotlib.lines.Line2D>)
- Get all lines of type type, where type is Line2D (all lines)
or a derived class, eg, CircleLine2D
You can use this function to set properties of several plot
lines at once, as in the following
a1.plot(t1, s1, 'gs', t1, e1, 'bo', t1, p1)
def fmt_line(l):
l.set_line_width(2)
l.set_size(10)
l.set_fill(1)
map(fmt_line, a1.get_lines(SymbolLine2D))
- get_xtick_size(self)
- Get the size of the xticks in pixels
- get_ytick_size(self)
- Get the size of the yticks in pixels
- hlines(self, y, xmin, xmax, fmt='k-')
- plot horizontal lines at each y from xmin to xmax. xmin or
xmax can be scalars or len(x) numpy arrays. If they are
scalars, then the respective values are constant, else the
widths of the lines are determined by xmin and xmax
- in_axes(self, xwin, ywin)
- plot(self, *args)
- Emulate matlab's plot command. *args is a variable length
argument, allowing for multiple x,y pairs with an optional
format string. For example, all of the following are legal,
assuming a is the Axis instance:
a.plot(x,y) # plot Numeric arrays y vs x
a.plot(x,y, 'bo') # plot Numeric arrays y vs x with blue circles
a.plot(y) # plot y using x = arange(len(y))
a.plot(y, 'r+') # ditto with red plusses
An arbitrary number of x, y, fmt groups can be specified, as in
a.plot(x1, y1, 'g^', x2, y2, 'l-')
- set_autoscale(self, b)
- set_background_color(self, color)
- set_title(self, label)
- Set the figure title
- set_xlabel(self, label)
- Set the label for the xaxis
- set_xlim(self, v)
- Set the limits for the xaxis; v = [xmin, xmax]
- set_xtick_size(self, size)
- Set the size of the x ticks in pixels
- set_ylabel(self, label)
- Set the label for the yaxis
- set_ylim(self, v)
- Set the limits for the xaxis; v = [ymin, ymax]
- set_ytick_size(self, size)
- Set the size of the y ticks in pixels
- transform(self, x, y)
- A wrapper func to pass to the Line2D draw instance. The
return tuple xt, yt are the x, y values tranformed into window
coordinates
- transform_win_to_data(self, xwin, ywin)
- vlines(self, x, ymin, ymax, fmt='k-')
- Plot vertical lines at each x from ymin to ymax. ymin or ymax
can be scalars or len(x) numpy arrays. If they are scalars,
then the respective values are constant, else the heights of
the lines are determined by ymin and ymax
Data and non-method functions defined here:
- __doc__ = "\n Emulate matlab's axes command, creating axe... fraction of the total figure window. \n \n "
- str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
- __module__ = 'matplotlib.figure'
- str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
- _colors = <matplotlib.colors.ColorDispatcher instance>
|
class AxisRange(matplotlib.utils.Range) |
| |
|
| |
Methods defined here:
- __init__(self, valMin=<matplotlib.utils.CmpTrue instance>, valMax=<matplotlib.utils.CmpTrue instance>)
- A Range object containing the axis limits with support for
labels, ticks and autoscaling
- _get_decade_ticks(self, numTicks)
- _tickformat(self, val)
- get_labels(self)
- get_ticks(self, numTicks=10)
- set_autoscale(self, b=1)
- set_decade_range(self)
- set_labels(self, labels)
- set_range(self, range)
- set_tick_format(self, s)
- Set the format string to do tick formatting. s is a python
format string
- set_tick_format_func(self, func)
- Set the function used to do tick formatting. func has
signature string = func(val)
- set_ticks(self, ticks)
Data and non-method functions defined here:
- __doc__ = None
- __module__ = 'matplotlib.figure'
- str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
Methods inherited from matplotlib.utils.Range:
- __str__(self)
- contains(self, val)
- get_distance(self)
- get_max(self)
- get_min(self)
- get_range(self)
- set_max(self, m)
- set_min(self, m)
- update(self, x)
|
class AxisText |
| |
Handles storing and drawing of text in windows coordinates |
| |
Methods defined here:
- __init__(self, x, y, text, fg=<GdkColor>, bg=<GdkColor>, valign='bottom', halign='left', font=<GdkFont>)
- _compute_offsets(self)
- Return the (x,y) offsets to comensate for the alignment specifications
- draw(self, widget=None)
- erase(self)
- get_bottom_top(self)
- get the bottom, top boundaries of the text in win coords
- get_left_right(self)
- get the left, right boundaries of the text in in win coords
- set_text(self, text)
Data and non-method functions defined here:
- __doc__ = 'Handles storing and drawing of text in windows coordinates'
- str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
- __module__ = 'matplotlib.figure'
- str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
|
class Button_XAxisLim(Button_Navigation) |
| |
|
| |
- Method resolution order:
- Button_XAxisLim
- Button_Navigation
- gtk.Button
- gtk.Bin
- gtk.Container
- gtk.Widget
- gtk.Object
- gobject.GObject
- __builtin__.object
Methods defined here:
- __init__(self, axes, label)
- scroll(self, widget, event)
Data and non-method functions defined here:
- __doc__ = None
- __module__ = 'matplotlib.figure'
- str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
Methods inherited from Button_Navigation:
- set_active(self, ind)
Methods inherited from gtk.Button:
- clicked(...)
- enter(...)
- get_label(...)
- get_relief(...)
- get_use_stock(...)
- get_use_underline(...)
- leave(...)
- pressed(...)
- released(...)
- set_label(...)
- set_relief(...)
- set_use_stock(...)
- set_use_underline(...)
Data and non-method functions inherited from gtk.Button:
- __gtype__ = <GType GtkButton (136821192)>
Methods inherited from gtk.Bin:
- get_child(...)
Data and non-method functions inherited from gtk.Bin:
- child = <attribute 'child' of 'gtk.Bin' objects>
Methods inherited from gtk.Container:
- add(...)
- add_with_properties(...)
- check_resize(...)
- child_get(...)
- child_get_property(...)
- child_set(...)
- child_set_property(...)
- child_type(...)
- children(...)
- foreach(...)
- get_border_width(...)
- get_children(...)
- get_focus_chain(...)
- get_focus_hadjustment(...)
- get_focus_vadjustment(...)
- get_resize_mode(...)
- propagate_expose(...)
- remove(...)
- resize_children(...)
- set_border_width(...)
- set_focus_chain(...)
- set_focus_child(...)
- set_focus_hadjustment(...)
- set_focus_vadjustment(...)
- set_reallocate_redraws(...)
- set_resize_mode(...)
- unset_focus_chain(...)
Data and non-method functions inherited from gtk.Container:
- border_width = <attribute 'border_width' of 'gtk.Container' objects>
- focus_child = <attribute 'focus_child' of 'gtk.Container' objects>
- has_focus_chain = <attribute 'has_focus_chain' of 'gtk.Container' objects>
- need_resize = <attribute 'need_resize' of 'gtk.Container' objects>
- reallocate_redraws = <attribute 'reallocate_redraws' of 'gtk.Container' objects>
- resize_mode = <attribute 'resize_mode' of 'gtk.Container' objects>
Methods inherited from gtk.Widget:
- activate(...)
- add_accelerator(...)
- add_events(...)
- child_focus(...)
- child_notify(...)
- class_path(...)
- create_pango_context(...)
- create_pango_layout(...)
- destroy(...)
- drag_begin(...)
- drag_check_threshold(...)
- drag_dest_find_target(...)
- drag_dest_get_target_list(...)
- drag_dest_set(...)
- drag_dest_set_proxy(...)
- drag_dest_set_target_list(...)
- drag_dest_unset(...)
- drag_get_data(...)
- drag_highlight(...)
- drag_source_set(...)
- drag_source_set_icon(...)
- drag_source_set_icon_pixbuf(...)
- drag_source_set_icon_stock(...)
- drag_source_unset(...)
- drag_unhighlight(...)
- draw(...)
- ensure_style(...)
- event(...)
- freeze_child_notify(...)
- get_accessible(...)
- get_allocation(...)
- get_ancestor(...)
- get_child_requisition(...)
- get_child_visible(...)
- get_colormap(...)
- get_composite_name(...)
- get_direction(...)
- get_events(...)
- get_extension_events(...)
- get_modifier_style(...)
- get_name(...)
- get_pango_context(...)
- get_parent(...)
- get_parent_window(...)
- get_pointer(...)
- get_settings(...)
- get_style(...)
- get_toplevel(...)
- get_visual(...)
- grab_add(...)
- grab_default(...)
- grab_focus(...)
- grab_remove(...)
- hide(...)
- hide_all(...)
- hide_on_delete(...)
- intersect(...)
- is_ancestor(...)
- is_focus(...)
- map(...)
- mnemonic_activate(...)
- modify_base(...)
- modify_bg(...)
- modify_fg(...)
- modify_font(...)
- modify_style(...)
- modify_text(...)
- path(...)
- queue_clear(...)
- queue_clear_area(...)
- queue_draw(...)
- queue_draw_area(...)
- queue_resize(...)
- rc_get_style(...)
- realize(...)
- remove_accelerator(...)
- render_icon(...)
- reparent(...)
- reset_rc_styles(...)
- reset_shapes(...)
- selection_add_target(...)
- selection_add_targets(...)
- selection_clear_targets(...)
- selection_convert(...)
- selection_owner_set(...)
- selection_remove_all(...)
- send_expose(...)
- set_accel_path(...)
- set_app_paintable(...)
- set_child_visible(...)
- set_colormap(...)
- set_composite_name(...)
- set_direction(...)
- set_double_buffered(...)
- set_events(...)
- set_extension_events(...)
- set_name(...)
- set_parent(...)
- set_parent_window(...)
- set_redraw_on_allocate(...)
- set_scroll_adjustments(...)
- set_sensitive(...)
- set_size_request(...)
- set_state(...)
- set_style(...)
- set_uposition(...)
- set_usize(...)
- shape_combine_mask(...)
- show(...)
- show_all(...)
- show_now(...)
- size_allocate(...)
- size_request(...)
- thaw_child_notify(...)
- translate_coordinates(...)
- unmap(...)
- unparent(...)
- unrealize(...)
Data and non-method functions inherited from gtk.Widget:
- allocation = <attribute 'allocation' of 'gtk.Widget' objects>
- name = <attribute 'name' of 'gtk.Widget' objects>
- parent = <attribute 'parent' of 'gtk.Widget' objects>
- saved_state = <attribute 'saved_state' of 'gtk.Widget' objects>
- state = <attribute 'state' of 'gtk.Widget' objects>
- style = <attribute 'style' of 'gtk.Widget' objects>
- window = <attribute 'window' of 'gtk.Widget' objects>
Methods inherited from gtk.Object:
- flags(...)
- set_flags(...)
- unset_flags(...)
Methods inherited from gobject.GObject:
- __cmp__(...)
- x.__cmp__(y) <==> cmp(x,y)
- __gobject_init__(...)
- __hash__(...)
- x.__hash__() <==> hash(x)
- __repr__(...)
- x.__repr__() <==> repr(x)
- chain(...)
- connect(...)
- connect_after(...)
- connect_object(...)
- connect_object_after(...)
- disconnect(...)
- emit(...)
- emit_stop_by_name(...)
- freeze_notify(...)
- get_data(...)
- get_property(...)
- handler_block(...)
- handler_disconnect(...)
- handler_unblock(...)
- notify(...)
- set_data(...)
- set_property(...)
- stop_emission(...)
- thaw_notify(...)
Data and non-method functions inherited from gobject.GObject:
- __dict__ = <dict-proxy object>
- __gdoc__ = 'Object GtkButton\n\nSignals from GObject:\n notify...to pick a stock item instead of being displayed\n\n'
- __grefcount__ = <attribute '__grefcount__' of 'gobject.GObject' objects>
- __new__ = <built-in method __new__ of type object>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
Methods inherited from __builtin__.object:
- __delattr__(...)
- x.__delattr__('name') <==> del x.name
- __getattribute__(...)
- x.__getattribute__('name') <==> x.name
- __reduce__(...)
- helper for pickle
- __setattr__(...)
- x.__setattr__('name', value) <==> x.name = value
- __str__(...)
- x.__str__() <==> str(x)
Data and non-method functions inherited from __builtin__.object:
- __class__ = <type 'type'>
- the object's class
|
class Button_XAxisScale(Button_Navigation) |
| |
|
| |
- Method resolution order:
- Button_XAxisScale
- Button_Navigation
- gtk.Button
- gtk.Bin
- gtk.Container
- gtk.Widget
- gtk.Object
- gobject.GObject
- __builtin__.object
Methods defined here:
- __init__(self, axes, label)
- zoom(self, widget, event)
Data and non-method functions defined here:
- __doc__ = None
- __module__ = 'matplotlib.figure'
- str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
Methods inherited from Button_Navigation:
- set_active(self, ind)
Methods inherited from gtk.Button:
- clicked(...)
- enter(...)
- get_label(...)
- get_relief(...)
- get_use_stock(...)
- get_use_underline(...)
- leave(...)
- pressed(...)
- released(...)
- set_label(...)
- set_relief(...)
- set_use_stock(...)
- set_use_underline(...)
Data and non-method functions inherited from gtk.Button:
- __gtype__ = <GType GtkButton (136821192)>
Methods inherited from gtk.Bin:
- get_child(...)
Data and non-method functions inherited from gtk.Bin:
- child = <attribute 'child' of 'gtk.Bin' objects>
Methods inherited from gtk.Container:
- add(...)
- add_with_properties(...)
- check_resize(...)
- child_get(...)
- child_get_property(...)
- child_set(...)
- child_set_property(...)
- child_type(...)
- children(...)
- foreach(...)
- get_border_width(...)
- get_children(...)
- get_focus_chain(...)
- get_focus_hadjustment(...)
- get_focus_vadjustment(...)
- get_resize_mode(...)
- propagate_expose(...)
- remove(...)
- resize_children(...)
- set_border_width(...)
- set_focus_chain(...)
- set_focus_child(...)
- set_focus_hadjustment(...)
- set_focus_vadjustment(...)
- set_reallocate_redraws(...)
- set_resize_mode(...)
- unset_focus_chain(...)
Data and non-method functions inherited from gtk.Container:
- border_width = <attribute 'border_width' of 'gtk.Container' objects>
- focus_child = <attribute 'focus_child' of 'gtk.Container' objects>
- has_focus_chain = <attribute 'has_focus_chain' of 'gtk.Container' objects>
- need_resize = <attribute 'need_resize' of 'gtk.Container' objects>
- reallocate_redraws = <attribute 'reallocate_redraws' of 'gtk.Container' objects>
- resize_mode = <attribute 'resize_mode' of 'gtk.Container' objects>
Methods inherited from gtk.Widget:
- activate(...)
- add_accelerator(...)
- add_events(...)
- child_focus(...)
- child_notify(...)
- class_path(...)
- create_pango_context(...)
- create_pango_layout(...)
- destroy(...)
- drag_begin(...)
- drag_check_threshold(...)
- drag_dest_find_target(...)
- drag_dest_get_target_list(...)
- drag_dest_set(...)
- drag_dest_set_proxy(...)
- drag_dest_set_target_list(...)
- drag_dest_unset(...)
- drag_get_data(...)
- drag_highlight(...)
- drag_source_set(...)
- drag_source_set_icon(...)
- drag_source_set_icon_pixbuf(...)
- drag_source_set_icon_stock(...)
- drag_source_unset(...)
- drag_unhighlight(...)
- draw(...)
- ensure_style(...)
- event(...)
- freeze_child_notify(...)
- get_accessible(...)
- get_allocation(...)
- get_ancestor(...)
- get_child_requisition(...)
- get_child_visible(...)
- get_colormap(...)
- get_composite_name(...)
- get_direction(...)
- get_events(...)
- get_extension_events(...)
- get_modifier_style(...)
- get_name(...)
- get_pango_context(...)
- get_parent(...)
- get_parent_window(...)
- get_pointer(...)
- get_settings(...)
- get_style(...)
- get_toplevel(...)
- get_visual(...)
- grab_add(...)
- grab_default(...)
- grab_focus(...)
- grab_remove(...)
- hide(...)
- hide_all(...)
- hide_on_delete(...)
- intersect(...)
- is_ancestor(...)
- is_focus(...)
- map(...)
- mnemonic_activate(...)
- modify_base(...)
- modify_bg(...)
- modify_fg(...)
- modify_font(...)
- modify_style(...)
- modify_text(...)
- path(...)
- queue_clear(...)
- queue_clear_area(...)
- queue_draw(...)
- queue_draw_area(...)
- queue_resize(...)
- rc_get_style(...)
- realize(...)
- remove_accelerator(...)
- render_icon(...)
- reparent(...)
- reset_rc_styles(...)
- reset_shapes(...)
- selection_add_target(...)
- selection_add_targets(...)
- selection_clear_targets(...)
- selection_convert(...)
- selection_owner_set(...)
- selection_remove_all(...)
- send_expose(...)
- set_accel_path(...)
- set_app_paintable(...)
- set_child_visible(...)
- set_colormap(...)
- set_composite_name(...)
- set_direction(...)
- set_double_buffered(...)
- set_events(...)
- set_extension_events(...)
- set_name(...)
- set_parent(...)
- set_parent_window(...)
- set_redraw_on_allocate(...)
- set_scroll_adjustments(...)
- set_sensitive(...)
- set_size_request(...)
- set_state(...)
- set_style(...)
- set_uposition(...)
- set_usize(...)
- shape_combine_mask(...)
- show(...)
- show_all(...)
- show_now(...)
- size_allocate(...)
- size_request(...)
- thaw_child_notify(...)
- translate_coordinates(...)
- unmap(...)
- unparent(...)
- unrealize(...)
Data and non-method functions inherited from gtk.Widget:
- allocation = <attribute 'allocation' of 'gtk.Widget' objects>
- name = <attribute 'name' of 'gtk.Widget' objects>
- parent = <attribute 'parent' of 'gtk.Widget' objects>
- saved_state = <attribute 'saved_state' of 'gtk.Widget' objects>
- state = <attribute 'state' of 'gtk.Widget' objects>
- style = <attribute 'style' of 'gtk.Widget' objects>
- window = <attribute 'window' of 'gtk.Widget' objects>
Methods inherited from gtk.Object:
- flags(...)
- set_flags(...)
- unset_flags(...)
Methods inherited from gobject.GObject:
- __cmp__(...)
- x.__cmp__(y) <==> cmp(x,y)
- __gobject_init__(...)
- __hash__(...)
- x.__hash__() <==> hash(x)
- __repr__(...)
- x.__repr__() <==> repr(x)
- chain(...)
- connect(...)
- connect_after(...)
- connect_object(...)
- connect_object_after(...)
- disconnect(...)
- emit(...)
- emit_stop_by_name(...)
- freeze_notify(...)
- get_data(...)
- get_property(...)
- handler_block(...)
- handler_disconnect(...)
- handler_unblock(...)
- notify(...)
- set_data(...)
- set_property(...)
- stop_emission(...)
- thaw_notify(...)
Data and non-method functions inherited from gobject.GObject:
- __dict__ = <dict-proxy object>
- __gdoc__ = 'Object GtkButton\n\nSignals from GObject:\n notify...to pick a stock item instead of being displayed\n\n'
- __grefcount__ = <attribute '__grefcount__' of 'gobject.GObject' objects>
- __new__ = <built-in method __new__ of type object>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
Methods inherited from __builtin__.object:
- __delattr__(...)
- x.__delattr__('name') <==> del x.name
- __getattribute__(...)
- x.__getattribute__('name') <==> x.name
- __reduce__(...)
- helper for pickle
- __setattr__(...)
- x.__setattr__('name', value) <==> x.name = value
- __str__(...)
- x.__str__() <==> str(x)
Data and non-method functions inherited from __builtin__.object:
- __class__ = <type 'type'>
- the object's class
|
class Button_YAxisLim(Button_Navigation) |
| |
|
| |
- Method resolution order:
- Button_YAxisLim
- Button_Navigation
- gtk.Button
- gtk.Bin
- gtk.Container
- gtk.Widget
- gtk.Object
- gobject.GObject
- __builtin__.object
Methods defined here:
- __init__(self, axes, label)
- scroll(self, widget, event)
Data and non-method functions defined here:
- __doc__ = None
- __module__ = 'matplotlib.figure'
- str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
Methods inherited from Button_Navigation:
- set_active(self, ind)
Methods inherited from gtk.Button:
- clicked(...)
- enter(...)
- get_label(...)
- get_relief(...)
- get_use_stock(...)
- get_use_underline(...)
- leave(...)
- pressed(...)
- released(...)
- set_label(...)
- set_relief(...)
- set_use_stock(...)
- set_use_underline(...)
Data and non-method functions inherited from gtk.Button:
- __gtype__ = <GType GtkButton (136821192)>
Methods inherited from gtk.Bin:
- get_child(...)
Data and non-method functions inherited from gtk.Bin:
- child = <attribute 'child' of 'gtk.Bin' objects>
Methods inherited from gtk.Container:
- add(...)
- add_with_properties(...)
- check_resize(...)
- child_get(...)
- child_get_property(...)
- child_set(...)
- child_set_property(...)
- child_type(...)
- children(...)
- foreach(...)
- get_border_width(...)
- get_children(...)
- get_focus_chain(...)
- get_focus_hadjustment(...)
- get_focus_vadjustment(...)
- get_resize_mode(...)
- propagate_expose(...)
- remove(...)
- resize_children(...)
- set_border_width(...)
- set_focus_chain(...)
- set_focus_child(...)
- set_focus_hadjustment(...)
- set_focus_vadjustment(...)
- set_reallocate_redraws(...)
- set_resize_mode(...)
- unset_focus_chain(...)
Data and non-method functions inherited from gtk.Container:
- border_width = <attribute 'border_width' of 'gtk.Container' objects>
- focus_child = <attribute 'focus_child' of 'gtk.Container' objects>
- has_focus_chain = <attribute 'has_focus_chain' of 'gtk.Container' objects>
- need_resize = <attribute 'need_resize' of 'gtk.Container' objects>
- reallocate_redraws = <attribute 'reallocate_redraws' of 'gtk.Container' objects>
- resize_mode = <attribute 'resize_mode' of 'gtk.Container' objects>
Methods inherited from gtk.Widget:
- activate(...)
- add_accelerator(...)
- add_events(...)
- child_focus(...)
- child_notify(...)
- class_path(...)
- create_pango_context(...)
- create_pango_layout(...)
- destroy(...)
- drag_begin(...)
- drag_check_threshold(...)
- drag_dest_find_target(...)
- drag_dest_get_target_list(...)
- drag_dest_set(...)
- drag_dest_set_proxy(...)
- drag_dest_set_target_list(...)
- drag_dest_unset(...)
- drag_get_data(...)
- drag_highlight(...)
- drag_source_set(...)
- drag_source_set_icon(...)
- drag_source_set_icon_pixbuf(...)
- drag_source_set_icon_stock(...)
- drag_source_unset(...)
- drag_unhighlight(...)
- draw(...)
- ensure_style(...)
- event(...)
- freeze_child_notify(...)
- get_accessible(...)
- get_allocation(...)
- get_ancestor(...)
- get_child_requisition(...)
- get_child_visible(...)
- get_colormap(...)
- get_composite_name(...)
- get_direction(...)
- get_events(...)
- get_extension_events(...)
- get_modifier_style(...)
- get_name(...)
- get_pango_context(...)
- get_parent(...)
- get_parent_window(...)
- get_pointer(...)
- get_settings(...)
- get_style(...)
- get_toplevel(...)
- get_visual(...)
- grab_add(...)
- grab_default(...)
- grab_focus(...)
- grab_remove(...)
- hide(...)
- hide_all(...)
- hide_on_delete(...)
- intersect(...)
- is_ancestor(...)
- is_focus(...)
- map(...)
- mnemonic_activate(...)
- modify_base(...)
- modify_bg(...)
- modify_fg(...)
- modify_font(...)
- modify_style(...)
- modify_text(...)
- path(...)
- queue_clear(...)
- queue_clear_area(...)
- queue_draw(...)
- queue_draw_area(...)
- queue_resize(...)
- rc_get_style(...)
- realize(...)
- remove_accelerator(...)
- render_icon(...)
- reparent(...)
- reset_rc_styles(...)
- reset_shapes(...)
- selection_add_target(...)
- selection_add_targets(...)
- selection_clear_targets(...)
- selection_convert(...)
- selection_owner_set(...)
- selection_remove_all(...)
- send_expose(...)
- set_accel_path(...)
- set_app_paintable(...)
- set_child_visible(...)
- set_colormap(...)
- set_composite_name(...)
- set_direction(...)
- set_double_buffered(...)
- set_events(...)
- set_extension_events(...)
- set_name(...)
- set_parent(...)
- set_parent_window(...)
- set_redraw_on_allocate(...)
- set_scroll_adjustments(...)
- set_sensitive(...)
- set_size_request(...)
- set_state(...)
- set_style(...)
- set_uposition(...)
- set_usize(...)
- shape_combine_mask(...)
- show(...)
- show_all(...)
- show_now(...)
- size_allocate(...)
- size_request(...)
- thaw_child_notify(...)
- translate_coordinates(...)
- unmap(...)
- unparent(...)
- unrealize(...)
Data and non-method functions inherited from gtk.Widget:
- allocation = <attribute 'allocation' of 'gtk.Widget' objects>
- name = <attribute 'name' of 'gtk.Widget' objects>
- parent = <attribute 'parent' of 'gtk.Widget' objects>
- saved_state = <attribute 'saved_state' of 'gtk.Widget' objects>
- state = <attribute 'state' of 'gtk.Widget' objects>
- style = <attribute 'style' of 'gtk.Widget' objects>
- window = <attribute 'window' of 'gtk.Widget' objects>
Methods inherited from gtk.Object:
- flags(...)
- set_flags(...)
- unset_flags(...)
Methods inherited from gobject.GObject:
- __cmp__(...)
- x.__cmp__(y) <==> cmp(x,y)
- __gobject_init__(...)
- __hash__(...)
- x.__hash__() <==> hash(x)
- __repr__(...)
- x.__repr__() <==> repr(x)
- chain(...)
- connect(...)
- connect_after(...)
- connect_object(...)
- connect_object_after(...)
- disconnect(...)
- emit(...)
- emit_stop_by_name(...)
- freeze_notify(...)
- get_data(...)
- get_property(...)
- handler_block(...)
- handler_disconnect(...)
- handler_unblock(...)
- notify(...)
- set_data(...)
- set_property(...)
- stop_emission(...)
- thaw_notify(...)
Data and non-method functions inherited from gobject.GObject:
- __dict__ = <dict-proxy object>
- __gdoc__ = 'Object GtkButton\n\nSignals from GObject:\n notify...to pick a stock item instead of being displayed\n\n'
- __grefcount__ = <attribute '__grefcount__' of 'gobject.GObject' objects>
- __new__ = <built-in method __new__ of type object>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
Methods inherited from __builtin__.object:
- __delattr__(...)
- x.__delattr__('name') <==> del x.name
- __getattribute__(...)
- x.__getattribute__('name') <==> x.name
- __reduce__(...)
- helper for pickle
- __setattr__(...)
- x.__setattr__('name', value) <==> x.name = value
- __str__(...)
- x.__str__() <==> str(x)
Data and non-method functions inherited from __builtin__.object:
- __class__ = <type 'type'>
- the object's class
|
class Button_YAxisScale(Button_Navigation) |
| |
|
| |
- Method resolution order:
- Button_YAxisScale
- Button_Navigation
- gtk.Button
- gtk.Bin
- gtk.Container
- gtk.Widget
- gtk.Object
- gobject.GObject
- __builtin__.object
Methods defined here:
- __init__(self, axes, label)
- zoom(self, widget, event)
Data and non-method functions defined here:
- __doc__ = None
- __module__ = 'matplotlib.figure'
- str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
Methods inherited from Button_Navigation:
- set_active(self, ind)
Methods inherited from gtk.Button:
- clicked(...)
- enter(...)
- get_label(...)
- get_relief(...)
- get_use_stock(...)
- get_use_underline(...)
- leave(...)
- pressed(...)
- released(...)
- set_label(...)
- set_relief(...)
- set_use_stock(...)
- set_use_underline(...)
Data and non-method functions inherited from gtk.Button:
- __gtype__ = <GType GtkButton (136821192)>
Methods inherited from gtk.Bin:
- get_child(...)
Data and non-method functions inherited from gtk.Bin:
- child = <attribute 'child' of 'gtk.Bin' objects>
Methods inherited from gtk.Container:
- add(...)
- add_with_properties(...)
- check_resize(...)
- child_get(...)
- child_get_property(...)
- child_set(...)
- child_set_property(...)
- child_type(...)
- children(...)
- foreach(...)
- get_border_width(...)
- get_children(...)
- get_focus_chain(...)
- get_focus_hadjustment(...)
- get_focus_vadjustment(...)
- get_resize_mode(...)
- propagate_expose(...)
- remove(...)
- resize_children(...)
- set_border_width(...)
- set_focus_chain(...)
- set_focus_child(...)
- set_focus_hadjustment(...)
- set_focus_vadjustment(...)
- set_reallocate_redraws(...)
- set_resize_mode(...)
- unset_focus_chain(...)
Data and non-method functions inherited from gtk.Container:
- border_width = <attribute 'border_width' of 'gtk.Container' objects>
- focus_child = <attribute 'focus_child' of 'gtk.Container' objects>
- has_focus_chain = <attribute 'has_focus_chain' of 'gtk.Container' objects>
- need_resize = <attribute 'need_resize' of 'gtk.Container' objects>
- reallocate_redraws = <attribute 'reallocate_redraws' of 'gtk.Container' objects>
- resize_mode = <attribute 'resize_mode' of 'gtk.Container' objects>
Methods inherited from gtk.Widget:
- activate(...)
- add_accelerator(...)
- add_events(...)
- child_focus(...)
- child_notify(...)
- class_path(...)
- create_pango_context(...)
- create_pango_layout(...)
- destroy(...)
- drag_begin(...)
- drag_check_threshold(...)
- drag_dest_find_target(...)
- drag_dest_get_target_list(...)
- drag_dest_set(...)
- drag_dest_set_proxy(...)
- drag_dest_set_target_list(...)
- drag_dest_unset(...)
- drag_get_data(...)
- drag_highlight(...)
- drag_source_set(...)
- drag_source_set_icon(...)
- drag_source_set_icon_pixbuf(...)
- drag_source_set_icon_stock(...)
- drag_source_unset(...)
- drag_unhighlight(...)
- draw(...)
- ensure_style(...)
- event(...)
- freeze_child_notify(...)
- get_accessible(...)
- get_allocation(...)
- get_ancestor(...)
- get_child_requisition(...)
- get_child_visible(...)
- get_colormap(...)
- get_composite_name(...)
- get_direction(...)
- get_events(...)
- get_extension_events(...)
- get_modifier_style(...)
- get_name(...)
- get_pango_context(...)
- get_parent(...)
- get_parent_window(...)
- get_pointer(...)
- get_settings(...)
- get_style(...)
- get_toplevel(...)
- get_visual(...)
- grab_add(...)
- grab_default(...)
- grab_focus(...)
- grab_remove(...)
- hide(...)
- hide_all(...)
- hide_on_delete(...)
- intersect(...)
- is_ancestor(...)
- is_focus(...)
- map(...)
- mnemonic_activate(...)
- modify_base(...)
- modify_bg(...)
- modify_fg(...)
- modify_font(...)
- modify_style(...)
- modify_text(...)
- path(...)
- queue_clear(...)
- queue_clear_area(...)
- queue_draw(...)
- queue_draw_area(...)
- queue_resize(...)
- rc_get_style(...)
- realize(...)
- remove_accelerator(...)
- render_icon(...)
- reparent(...)
- reset_rc_styles(...)
- reset_shapes(...)
- selection_add_target(...)
- selection_add_targets(...)
- selection_clear_targets(...)
- selection_convert(...)
- selection_owner_set(...)
- selection_remove_all(...)
- send_expose(...)
- set_accel_path(...)
- set_app_paintable(...)
- set_child_visible(...)
- set_colormap(...)
- set_composite_name(...)
- set_direction(...)
- set_double_buffered(...)
- set_events(...)
- set_extension_events(...)
- set_name(...)
- set_parent(...)
- set_parent_window(...)
- set_redraw_on_allocate(...)
- set_scroll_adjustments(...)
- set_sensitive(...)
- set_size_request(...)
- set_state(...)
- set_style(...)
- set_uposition(...)
- set_usize(...)
- shape_combine_mask(...)
- show(...)
- show_all(...)
- show_now(...)
- size_allocate(...)
- size_request(...)
- thaw_child_notify(...)
- translate_coordinates(...)
- unmap(...)
- unparent(...)
- unrealize(...)
Data and non-method functions inherited from gtk.Widget:
- allocation = <attribute 'allocation' of 'gtk.Widget' objects>
- name = <attribute 'name' of 'gtk.Widget' objects>
- parent = <attribute 'parent' of 'gtk.Widget' objects>
- saved_state = <attribute 'saved_state' of 'gtk.Widget' objects>
- state = <attribute 'state' of 'gtk.Widget' objects>
- style = <attribute 'style' of 'gtk.Widget' objects>
- window = <attribute 'window' of 'gtk.Widget' objects>
Methods inherited from gtk.Object:
- flags(...)
- set_flags(...)
- unset_flags(...)
Methods inherited from gobject.GObject:
- __cmp__(...)
- x.__cmp__(y) <==> cmp(x,y)
- __gobject_init__(...)
- __hash__(...)
- x.__hash__() <==> hash(x)
- __repr__(...)
- x.__repr__() <==> repr(x)
- chain(...)
- connect(...)
- connect_after(...)
- connect_object(...)
- connect_object_after(...)
- disconnect(...)
- emit(...)
- emit_stop_by_name(...)
- freeze_notify(...)
- get_data(...)
- get_property(...)
- handler_block(...)
- handler_disconnect(...)
- handler_unblock(...)
- notify(...)
- set_data(...)
- set_property(...)
- stop_emission(...)
- thaw_notify(...)
Data and non-method functions inherited from gobject.GObject:
- __dict__ = <dict-proxy object>
- __gdoc__ = 'Object GtkButton\n\nSignals from GObject:\n notify...to pick a stock item instead of being displayed\n\n'
- __grefcount__ = <attribute '__grefcount__' of 'gobject.GObject' objects>
- __new__ = <built-in method __new__ of type object>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
Methods inherited from __builtin__.object:
- __delattr__(...)
- x.__delattr__('name') <==> del x.name
- __getattribute__(...)
- x.__getattribute__('name') <==> x.name
- __reduce__(...)
- helper for pickle
- __setattr__(...)
- x.__setattr__('name', value) <==> x.name = value
- __str__(...)
- x.__str__() <==> str(x)
Data and non-method functions inherited from __builtin__.object:
- __class__ = <type 'type'>
- the object's class
|
class Figure(gtk.DrawingArea) |
| |
|
| |
- Method resolution order:
- Figure
- gtk.DrawingArea
- gtk.Widget
- gtk.Object
- gobject.GObject
- __builtin__.object
Methods defined here:
- __init__(self, size=(600, 500))
- _create_context_menu(self)
- _create_measure_dialog(self, *args)
- _create_navigation_dialog(self, *args)
- Build the axis navigation dialog box
- _create_print_dialog(self, *args)
- add_axis(self, a)
- button_press_event(self, widget, event)
- button_release_event(self, widget, event)
- clear(self, widget=None, event=None)
- configure_event(self, widget, event)
- draw(self, widget)
- expose_event(self, widget=None, event=None)
- focus_in_event(self, widget, event)
- get_axes(self)
- motion_notify_event(self, widget, event)
- print_figure(self, filename)
- Print figure to filename; png only
Data and non-method functions defined here:
- __doc__ = None
- __module__ = 'matplotlib.figure'
- str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
Methods inherited from gtk.DrawingArea:
- size(...)
Data and non-method functions inherited from gtk.DrawingArea:
- __gtype__ = <GType GtkDrawingArea (136356096)>
Methods inherited from gtk.Widget:
- activate(...)
- add_accelerator(...)
- add_events(...)
- child_focus(...)
- child_notify(...)
- class_path(...)
- create_pango_context(...)
- create_pango_layout(...)
- destroy(...)
- drag_begin(...)
- drag_check_threshold(...)
- drag_dest_find_target(...)
- drag_dest_get_target_list(...)
- drag_dest_set(...)
- drag_dest_set_proxy(...)
- drag_dest_set_target_list(...)
- drag_dest_unset(...)
- drag_get_data(...)
- drag_highlight(...)
- drag_source_set(...)
- drag_source_set_icon(...)
- drag_source_set_icon_pixbuf(...)
- drag_source_set_icon_stock(...)
- drag_source_unset(...)
- drag_unhighlight(...)
- ensure_style(...)
- event(...)
- freeze_child_notify(...)
- get_accessible(...)
- get_allocation(...)
- get_ancestor(...)
- get_child_requisition(...)
- get_child_visible(...)
- get_colormap(...)
- get_composite_name(...)
- get_direction(...)
- get_events(...)
- get_extension_events(...)
- get_modifier_style(...)
- get_name(...)
- get_pango_context(...)
- get_parent(...)
- get_parent_window(...)
- get_pointer(...)
- get_settings(...)
- get_style(...)
- get_toplevel(...)
- get_visual(...)
- grab_add(...)
- grab_default(...)
- grab_focus(...)
- grab_remove(...)
- hide(...)
- hide_all(...)
- hide_on_delete(...)
- intersect(...)
- is_ancestor(...)
- is_focus(...)
- map(...)
- mnemonic_activate(...)
- modify_base(...)
- modify_bg(...)
- modify_fg(...)
- modify_font(...)
- modify_style(...)
- modify_text(...)
- path(...)
- queue_clear(...)
- queue_clear_area(...)
- queue_draw(...)
- queue_draw_area(...)
- queue_resize(...)
- rc_get_style(...)
- realize(...)
- remove_accelerator(...)
- render_icon(...)
- reparent(...)
- reset_rc_styles(...)
- reset_shapes(...)
- selection_add_target(...)
- selection_add_targets(...)
- selection_clear_targets(...)
- selection_convert(...)
- selection_owner_set(...)
- selection_remove_all(...)
- send_expose(...)
- set_accel_path(...)
- set_app_paintable(...)
- set_child_visible(...)
- set_colormap(...)
- set_composite_name(...)
- set_direction(...)
- set_double_buffered(...)
- set_events(...)
- set_extension_events(...)
- set_name(...)
- set_parent(...)
- set_parent_window(...)
- set_redraw_on_allocate(...)
- set_scroll_adjustments(...)
- set_sensitive(...)
- set_size_request(...)
- set_state(...)
- set_style(...)
- set_uposition(...)
- set_usize(...)
- shape_combine_mask(...)
- show(...)
- show_all(...)
- show_now(...)
- size_allocate(...)
- size_request(...)
- thaw_child_notify(...)
- translate_coordinates(...)
- unmap(...)
- unparent(...)
- unrealize(...)
Data and non-method functions inherited from gtk.Widget:
- allocation = <attribute 'allocation' of 'gtk.Widget' objects>
- name = <attribute 'name' of 'gtk.Widget' objects>
- parent = <attribute 'parent' of 'gtk.Widget' objects>
- saved_state = <attribute 'saved_state' of 'gtk.Widget' objects>
- state = <attribute 'state' of 'gtk.Widget' objects>
- style = <attribute 'style' of 'gtk.Widget' objects>
- window = <attribute 'window' of 'gtk.Widget' objects>
Methods inherited from gtk.Object:
- flags(...)
- set_flags(...)
- unset_flags(...)
Methods inherited from gobject.GObject:
- __cmp__(...)
- x.__cmp__(y) <==> cmp(x,y)
- __gobject_init__(...)
- __hash__(...)
- x.__hash__() <==> hash(x)
- __repr__(...)
- x.__repr__() <==> repr(x)
- chain(...)
- connect(...)
- connect_after(...)
- connect_object(...)
- connect_object_after(...)
- disconnect(...)
- emit(...)
- emit_stop_by_name(...)
- freeze_notify(...)
- get_data(...)
- get_property(...)
- handler_block(...)
- handler_disconnect(...)
- handler_unblock(...)
- notify(...)
- set_data(...)
- set_property(...)
- stop_emission(...)
- thaw_notify(...)
Data and non-method functions inherited from gobject.GObject:
- __dict__ = <dict-proxy object>
- __gdoc__ = 'Object GtkDrawingArea\n\nSignals from GObject:\n n...what kind of extension events this widget gets.\n\n'
- __grefcount__ = <attribute '__grefcount__' of 'gobject.GObject' objects>
- __new__ = <built-in method __new__ of type object>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
Methods inherited from __builtin__.object:
- __delattr__(...)
- x.__delattr__('name') <==> del x.name
- __getattribute__(...)
- x.__getattribute__('name') <==> x.name
- __reduce__(...)
- helper for pickle
- __setattr__(...)
- x.__setattr__('name', value) <==> x.name = value
- __str__(...)
- x.__str__() <==> str(x)
Data and non-method functions inherited from __builtin__.object:
- __class__ = <type 'type'>
- the object's class
|
class Subplot(Axes) |
| |
Emulate matlab's subplot command, creating axes with
Subplot(numRows, numCols, plotNum)
where plotNum=1 is the first plot number and increasing plotNums
fill rows first. max(plotNum)==numRows*numCols
You can leave out the commans if numRows<=numCols<=plotNum<10, as in
Subplot(211) # 2 rows, 1 column, first (upper) plot |
| |
Methods defined here:
- __init__(self, *args)
- is_first_col(self)
- is_first_row(self)
- is_last_col(self)
- is_last_row(self)
Data and non-method functions defined here:
- __doc__ = "\n Emulate matlab's subplot command, creating ...1) # 2 rows, 1 column, first (upper) plot\n "
- str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
- __module__ = 'matplotlib.figure'
- str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
Methods inherited from Axes:
- _draw_axes(self, widget)
- Draw the axis lines and ticks
- _draw_labels(self, widget)
- Draw the axis and tick labels
- _draw_lines(self, widget)
- Draw the plot lines
- _generate_axis_boilerplate(self, c)
- Generate the getters and setters which emulate matlab
style axis properties (eg, xticks, xticklabels, yticks,
yticklabels) to interact with the underlying AxisRange
objects.
The underlying range objects are self._xaxisRange, self._xaxisRange,
self._zrange.
c is the char specifying the axis to gen the boilerplate for,
eg, 'x', 'y' 'z'
- _get_tick_sizes_in_data_coords(self)
- I want the tick sizes to be independent of the size of the
axis. Since the axis lines and ticks are in data
coordinates, I compute the data coordinates of a fixed
tick size (admittedly, a bit backwards)
- _pass_func(self, *args, **kwargs)
- _set_axis_lines(self)
- Set the location and extent of the axis lines and ticks. The
resultant lines are assigned to the class attributes _xaxis,
_yaxis, _xticks, _yticks, each of which are lists of Line2D
instances.
- _transform_win_to_x(self, win)
- win is a scalar or numpy array in window coords; transform it
into a same size array in x coords
- _transform_win_to_y(self, win)
- win is a scalar or numpy array in window coords; transform it
into a same size array in y coords
- _transformx(self, val)
- Transform x data (val can be a scalar or numpy array) into window coords
- _transformy(self, val)
- Transform y data (val can be a scalar or numpy array) into window coords
- add_line(self, line)
- Add a line to the list of plot lines
- autoscale(self)
- clear(self, widget=None, event=None)
- configure_event(self, widget, event)
- Reset the window params after a configure event
- draw(self, widget=None)
- Draw everything (plot lines, axes, labels)
- get_lines(self, type=<class matplotlib.lines.Line2D>)
- Get all lines of type type, where type is Line2D (all lines)
or a derived class, eg, CircleLine2D
You can use this function to set properties of several plot
lines at once, as in the following
a1.plot(t1, s1, 'gs', t1, e1, 'bo', t1, p1)
def fmt_line(l):
l.set_line_width(2)
l.set_size(10)
l.set_fill(1)
map(fmt_line, a1.get_lines(SymbolLine2D))
- get_xtick_size(self)
- Get the size of the xticks in pixels
- get_ytick_size(self)
- Get the size of the yticks in pixels
- hlines(self, y, xmin, xmax, fmt='k-')
- plot horizontal lines at each y from xmin to xmax. xmin or
xmax can be scalars or len(x) numpy arrays. If they are
scalars, then the respective values are constant, else the
widths of the lines are determined by xmin and xmax
- in_axes(self, xwin, ywin)
- plot(self, *args)
- Emulate matlab's plot command. *args is a variable length
argument, allowing for multiple x,y pairs with an optional
format string. For example, all of the following are legal,
assuming a is the Axis instance:
a.plot(x,y) # plot Numeric arrays y vs x
a.plot(x,y, 'bo') # plot Numeric arrays y vs x with blue circles
a.plot(y) # plot y using x = arange(len(y))
a.plot(y, 'r+') # ditto with red plusses
An arbitrary number of x, y, fmt groups can be specified, as in
a.plot(x1, y1, 'g^', x2, y2, 'l-')
- set_autoscale(self, b)
- set_background_color(self, color)
- set_title(self, label)
- Set the figure title
- set_xlabel(self, label)
- Set the label for the xaxis
- set_xlim(self, v)
- Set the limits for the xaxis; v = [xmin, xmax]
- set_xtick_size(self, size)
- Set the size of the x ticks in pixels
- set_ylabel(self, label)
- Set the label for the yaxis
- set_ylim(self, v)
- Set the limits for the xaxis; v = [ymin, ymax]
- set_ytick_size(self, size)
- Set the size of the y ticks in pixels
- transform(self, x, y)
- A wrapper func to pass to the Line2D draw instance. The
return tuple xt, yt are the x, y values tranformed into window
coordinates
- transform_win_to_data(self, xwin, ywin)
- vlines(self, x, ymin, ymax, fmt='k-')
- Plot vertical lines at each x from ymin to ymax. ymin or ymax
can be scalars or len(x) numpy arrays. If they are scalars,
then the respective values are constant, else the heights of
the lines are determined by ymin and ymax
Data and non-method functions inherited from Axes:
- _colors = <matplotlib.colors.ColorDispatcher instance>
|
class _process_plot_var_args |
| |
Process variable length arguments to the plot command, so that
plot commands like the followig are supported
plot(t, s)
plot(t1, s1, t2, s2)
plot(t1, s1, 'ko', t2, s2)
plot(t1, s1, 'ko', t2, s2, 'r--', t3, e3)
an arbitrary number of x,y,fmt are allowed |
| |
Methods defined here:
- __call__(self, *args)
- _grab_next_args(self, args)
- _plot_1_arg(self, y)
- _plot_2_args(self, tup2)
- _plot_3_args(self, tup3)
Data and non-method functions defined here:
- __doc__ = '\n\n Process variable length arguments to the p... an arbitrary number of x,y,fmt are allowed\n '
- str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
- __module__ = 'matplotlib.figure'
- str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
| |