.. _ex_points: How to use the points object **tikzpy.pto** ******************************************* Examples of how to use the point object **tikzpy.pto**. Example 1 - Add and copy points ------------------------------- .. _ex_points_ex1: **Test code:** .. literalinclude:: /_examples/tikzpy_points/test_pto_01.py :linenos: :language: python **This would output:** .. include:: /_examples/tikzpy_points/test_pto_01.testout :literal: Example 2 - Operate with points ------------------------------- .. _ex_points_ex2: **Test code:** .. literalinclude:: /_examples/tikzpy_points/test_pto_02.py :linenos: :language: python **This would output:** .. include:: /_examples/tikzpy_points/test_pto_02.testout :literal: Example 3 - Visualize, translate and rotate points -------------------------------------------------- .. _ex_points_ex3: Points can be visualized, translated and rotated See the following example: .. image:: test_pto_03_view_points.tikz.png :width: 500px :align: center Drawing created with the following tikzpy code: .. literalinclude:: /_examples/tikzpy_points/test_pto_03_view_points.py :linenos: :language: python Example 4 - Read csv file with points ------------------------------------- .. _ex_points_ex4: Points can be visualized, translated and rotated See the following example: .. image:: test_pto_04_read_points.tikz.png :width: 500px :align: center Drawing created with the following tikzpy code: .. literalinclude:: /_examples/tikzpy_points/test_pto_04_read_points.py :linenos: :language: python