def phystricks.src.MathStructures.AxesUnit.__init__ |
( |
|
self, |
|
|
|
numerical_value, |
|
|
|
latex_symbol = "" |
|
) |
| |
def phystricks.src.MathStructures.AxesUnit.place_list |
( |
|
self, |
|
|
|
mx, |
|
|
|
Mx, |
|
|
|
frac = 1 , |
|
|
|
mark_origin = True |
|
) |
| |
return a tuple of
1. values that are all the integer multiple of
<frac>*self.numerical_value
between mx and Mx
2. the multiple of the basis unit.
Give <frac> as literal real. Recall that python evaluates 1/2 to 0. If you pass 0.5, it will be converted back to 1/2 for a nice display.
def phystricks.src.MathStructures.AxesUnit.symbol |
( |
|
self, |
|
|
|
x |
|
) |
| |
phystricks.src.MathStructures.AxesUnit.latex_symbol |
phystricks.src.MathStructures.AxesUnit.numerical_value |
The documentation for this class was generated from the following file: