Skip to content

Commit 7546111

Browse files
authored
Update plots.md
Added sections about Tikz and Inkscape to the plots guide. I included a short example of Tikz in use and linked to all the proper websites. Feel free to remove the example if you feel it is unnecessary.
1 parent 3de76c1 commit 7546111

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

manual/guides/plots.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ Avoid fonts with narrow letter spacing or uneven height (between lowercase and
4242
uppercase) as they exacerbate all of the above problems. Keep text, whitespace,
4343
and figures evenly spaced, allowing for easy zooming and reading.
4444

45-
4645
## 3. Use of Markers and Line Styles
4746

4847
To ensure that your plots will stand the test of time by using non-color-based
@@ -101,3 +100,38 @@ plt.ylabel('Y Axis')
101100
plt.legend()
102101
plt.show()
103102
```
103+
104+
## 6. Inkscape
105+
106+
[Inkscape](https://inkscape.org/about/) is a free vector graphics editor.
107+
It's most notable feature is allowing for percise dimensions and units
108+
for creating shapes, ensuring all figures are to scale. It is especailly
109+
helpful when you need to create graphics that can't easily be made
110+
automatically. Graphics are automatically saved as .svg files, but Inkscape
111+
can also supports .pdf and .png files. While creating graphics, make sure to
112+
follow the accessibility standards in regards to font, linetsyle, and color.
113+
114+
## 7. Tikz
115+
116+
[Tikz](https://tikz.dev/) is a LaTeX package which allows for creation of figures
117+
direclty within your documents. Tikz is especially useful for creating diagrams
118+
and flow-charts. It uses coordinates to plot each shape within the figure, ensuring
119+
everything within the figure has precise dimensions.
120+
121+
A minimal example of how to use tikz in a document:
122+
````Latx
123+
\documentclass{article}
124+
\usepackage{tikz}
125+
\begin{document}
126+
\begin{tikzpicture}
127+
\draw[red, very thick] (0,2) circle (3cm); %% Draws a circle at (0,2) with radius 3cm - using ';' to mark shape as complete
128+
\end{tikzpicture}
129+
\end{document}
130+
````
131+
132+
Tikz tutorials and documentation can be found on both the
133+
[website](https://tikz.dev/tutorials-guidelines) and on
134+
[overleaf](https://www.overleaf.com/learn/latex/TikZ_package). Further examples of
135+
figures made within Tikz can be viewed in the Latex/Tikz [Gallary](https://texample.net/).
136+
Make sure to follow all the accessibility standards - especially regarding font, linetsyle, color, markers,
137+
and contrast while creating figures.

0 commit comments

Comments
 (0)