yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #05215
[Branch ~yade-dev/yade/trunk] Rev 2341: remove duplicated part about pyplot
------------------------------------------------------------
revno: 2341
committer: Janek Kozicki <cosurgi@xxxxxxxxxx>
branch nick: trunk
timestamp: Fri 2010-07-09 00:47:01 +0200
message:
remove duplicated part about pyplot
modified:
doc/sphinx/user.rst
--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription
=== modified file 'doc/sphinx/user.rst'
--- doc/sphinx/user.rst 2010-07-08 18:32:22 +0000
+++ doc/sphinx/user.rst 2010-07-08 22:47:01 +0000
@@ -904,89 +904,9 @@
Figure generated by :ysrc:`examples/simple-scene/simple-scene-plot.py`.
-All line plots take an optional second string argument, which is composed of (optionally) a line color (eg, ârâ, âgâ, âkâ), a line style (eg, â-â, âââ, â:â) and a line marker (âoâ, âsâ, âdâ). For example a green dashed line with circle markers is created with âgoââ argument.
-
-Following colors are available:
-
-+------------+------------+
-| character | color |
-+============+============+
-| ``b`` | blue |
-+------------+------------+
-| ``g`` | green |
-+------------+------------+
-| ``r`` | red |
-+------------+------------+
-| ``c`` | cyan |
-+------------+------------+
-| ``m`` | magenta |
-+------------+------------+
-| ``y`` | yellow |
-+------------+------------+
-| ``k`` | black |
-+------------+------------+
-| ``w`` | white |
-+------------+------------+
-
-Following line styles are available:
-
-+------------+-------------------------------+
-| character | description |
-+============+===============================+
-| ``-`` | solid line style |
-+------------+-------------------------------+
-| ``--`` | dashed line style |
-+------------+-------------------------------+
-| ``-.`` | dash-dot line style |
-+------------+-------------------------------+
-| ``:`` | dotted line style |
-+------------+-------------------------------+
-| ``.`` | point marker |
-+------------+-------------------------------+
-| ``,`` | pixel marker |
-+------------+-------------------------------+
-| ``o`` | circle marker |
-+------------+-------------------------------+
-| ``v`` | triangle_down marker |
-+------------+-------------------------------+
-| ``^`` | triangle_up marker |
-+------------+-------------------------------+
-| ``<`` | triangle_left marker |
-+------------+-------------------------------+
-| ``>`` | triangle_right marker |
-+------------+-------------------------------+
-| ``1`` | tri_down marker |
-+------------+-------------------------------+
-| ``2`` | tri_up marker |
-+------------+-------------------------------+
-| ``3`` | tri_left marker |
-+------------+-------------------------------+
-| ``4`` | tri_right marker |
-+------------+-------------------------------+
-| ``s`` | square marker |
-+------------+-------------------------------+
-| ``p`` | pentagon marker |
-+------------+-------------------------------+
-| ``*`` | star marker |
-+------------+-------------------------------+
-| ``h`` | hexagon1 marker |
-+------------+-------------------------------+
-| ``H`` | hexagon2 marker |
-+------------+-------------------------------+
-| ``+`` | plus marker |
-+------------+-------------------------------+
-| ``x`` | x marker |
-+------------+-------------------------------+
-| ``D`` | diamond marker |
-+------------+-------------------------------+
-| ``d`` | thin_diamond marker |
-+------------+-------------------------------+
-| ``|`` | vline marker |
-+------------+-------------------------------+
-| ``_`` | hline marker |
-+------------+-------------------------------+
-
-For example using this line, will produce a following graph::
+Thw line plots take an optional second string argument composed of a line color (eg. 'r', 'g' or 'k'), a line style (eg. '-', 'â-' or ':') and a line marker ('o', 's' or 'd'). A red dotted line with circle markers is created with 'ro:' argument. For a listing of all options please have a look at http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.plot
+
+For example using following plot.plots() command, will produce a following graph::
plot.plots={'i':(('t','xr:'),),'t':(('z_sph','r:'),None,('v_sph','g--'),('z_sph_half','b-.'))}
@@ -994,7 +914,7 @@
Figure generated by changing parameters to plot.plots as above.
-And this line, will produce a following graph::
+And this one will produce a following graph::
plot.plots={'i':(('t','xr:'),),'t':(('z_sph','Hr:'),None,('v_sph','+g--'),('z_sph_half','*b-.'))}
Follow ups