|
def | __init__ (self, C, base, mx, Mx, pspict=None) |
|
def | segment (self, projection=False, pspict=None) |
|
def | add_option (self, opt) |
|
def | mark_point (self, pspict=None) |
|
def | no_numbering (self) |
|
def | no_graduation (self) |
|
def | enlarge_a_little (self, l, xunit=None, yunit=None, pspict=None) |
|
def | graduation_bars (self, pspict) |
|
def | conclude (self, pspict) |
|
def | action_on_pspict (self, pspict) |
|
def | __str__ (self) |
|
def | __init__ (self, obj) |
|
def | draw_edges (self) |
|
def | wave (self, dx, dy) |
|
def | get_arrow (self, llam) |
|
def | get_mark (self, dist, angle=None, text=None, mark_point=None, added_angle=None, position=None, pspict=None) |
|
def | put_mark (self, dist=None, angle=None, text="", mark_point=None, added_angle=None, position=None, pspict=None, pspicts=None) |
| put a mark on an object More...
|
|
def | add_option (self, opt) |
|
def | get_option (opt) |
|
def | remove_option (opt) |
|
def | merge_options (self, graph) |
|
def | conclude_params (self) |
|
def | params (self, language, refute=[]) |
|
def | bracketAttributesText (self, language, refute=[]) |
|
def | action_on_pspict (self, pspict) |
|
def | conclude (self, pspict) |
|
def | bounding_box (self, pspict=None) |
|
def | math_bounding_box (self, pspict) |
|
def | latex_code (self, pspict, language=None) |
|
def phystricks.src.SingleAxeGraph.SingleAxeGraph.__init__ |
( |
|
self, |
|
|
|
C, |
|
|
|
base, |
|
|
|
mx, |
|
|
|
Mx, |
|
|
|
pspict = None |
|
) |
| |
def phystricks.src.SingleAxeGraph.SingleAxeGraph.__str__ |
( |
|
self | ) |
|
def phystricks.src.SingleAxeGraph.SingleAxeGraph._bounding_box |
( |
|
self, |
|
|
|
pspict |
|
) |
| |
|
private |
def phystricks.src.SingleAxeGraph.SingleAxeGraph._math_bounding_box |
( |
|
self, |
|
|
|
pspict |
|
) |
| |
|
private |
def phystricks.src.SingleAxeGraph.SingleAxeGraph.action_on_pspict |
( |
|
self, |
|
|
|
pspict |
|
) |
| |
def phystricks.src.SingleAxeGraph.SingleAxeGraph.add_option |
( |
|
self, |
|
|
|
opt |
|
) |
| |
def phystricks.src.SingleAxeGraph.SingleAxeGraph.conclude |
( |
|
self, |
|
|
|
pspict |
|
) |
| |
From the possibility of drawing default axes, the parameters like
the length of the axes are unknown up to the last moment. The axe is
created in the same time as the picture, but the mark bars for example
can only be computed after all the other objects.
So we need to make some ultimate settings before to be drawn.
This function is called by `Picture._DrawGraph`, right before
to compute and add the bounding box and to call `action_on_pspict`.
def phystricks.src.SingleAxeGraph.SingleAxeGraph.enlarge_a_little |
( |
|
self, |
|
|
|
l, |
|
|
|
xunit = None , |
|
|
|
yunit = None , |
|
|
|
pspict = None |
|
) |
| |
return the tuple (mx,Mx) that correspond to axes of length
`l` more than self (in both directions)
def phystricks.src.SingleAxeGraph.SingleAxeGraph.graduation_bars |
( |
|
self, |
|
|
|
pspict |
|
) |
| |
Return the list of bars that makes the graduation of the axes
By default, it is one at each multiple of self.base. If an user-defined axes_unit is given, then self.base is modified.
This function also enlarges the axe by half a *visual* centimeter.
def phystricks.src.SingleAxeGraph.SingleAxeGraph.mark_point |
( |
|
self, |
|
|
|
pspict = None |
|
) |
| |
def phystricks.src.SingleAxeGraph.SingleAxeGraph.no_graduation |
( |
|
self | ) |
|
def phystricks.src.SingleAxeGraph.SingleAxeGraph.no_numbering |
( |
|
self | ) |
|
def phystricks.src.SingleAxeGraph.SingleAxeGraph.segment |
( |
|
self, |
|
|
|
projection = False , |
|
|
|
pspict = None |
|
) |
| |
phystricks.src.SingleAxeGraph.SingleAxeGraph._already_concluded |
|
private |
phystricks.src.SingleAxeGraph.SingleAxeGraph.arrows |
phystricks.src.SingleAxeGraph.SingleAxeGraph.axes_unit |
phystricks.src.SingleAxeGraph.SingleAxeGraph.base |
phystricks.src.SingleAxeGraph.SingleAxeGraph.C |
phystricks.src.SingleAxeGraph.SingleAxeGraph.Dx |
phystricks.src.SingleAxeGraph.SingleAxeGraph.enlarge_size |
phystricks.src.SingleAxeGraph.SingleAxeGraph.graduation |
phystricks.src.SingleAxeGraph.SingleAxeGraph.imposed_graduation |
phystricks.src.SingleAxeGraph.SingleAxeGraph.IsLabel |
phystricks.src.SingleAxeGraph.SingleAxeGraph.mark |
phystricks.src.SingleAxeGraph.SingleAxeGraph.mark_angle |
phystricks.src.SingleAxeGraph.SingleAxeGraph.mark_origin |
phystricks.src.SingleAxeGraph.SingleAxeGraph.mx |
phystricks.src.SingleAxeGraph.SingleAxeGraph.Mx |
phystricks.src.SingleAxeGraph.SingleAxeGraph.numbering |
phystricks.src.SingleAxeGraph.SingleAxeGraph.options |
phystricks.src.SingleAxeGraph.SingleAxeGraph.pspict |
The documentation for this class was generated from the following file: