chore: add multi-threaded plots to README

This commit is contained in:
2023-08-23 15:20:05 +02:00
parent 40db8c034e
commit 87e1069b54
4 changed files with 10 additions and 4 deletions
+9 -3
View File
@@ -24,7 +24,9 @@ xy - 1 &= 0 \\
\end{align*}
$$
![](solutions1.png)
| Single-threaded | Multi-threaded (nproc=8) |
|-------------------|---------------------------------|
| ![Solution 1](plots/solutions1.png) | ![Multi-threaded Solution 1](plots/solutions1_8threads.png) |
---
@@ -35,7 +37,9 @@ xy - 1 &= 0 \\
\end{align*}
$$
![](solutions2.png)
| Single-threaded | Multi-threaded (nproc=8) |
|-------------------|---------------------------------|
| ![Solution 2](plots/solutions2.png) | ![Multi-threaded Solution 2](plots/solutions2_8threads.png) |
---
@@ -46,4 +50,6 @@ x^3 + 5x^2 - y - 10 &= 0 \\
\end{align*}
$$
![](solutions3.png)
| Single-threaded | Multi-threaded (nproc=8) |
|-------------------|---------------------------------|
| ![Solution 3](plots/solutions3.png) | ![Multi-threaded Solution 3](plots/solutions3_8threads.png) |
Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

+1 -1
View File
@@ -51,7 +51,7 @@ sT = filter(u -> imag(u[1]) < 0.1 && imag(u[2]) < 0.1, solve(T))
sC = filter(u -> imag(u[1]) < 0.1 && imag(u[2]) < 0.1, solve(C))
# Plotting the system and the real solutions
# ENV["GKSwstype"]="nul"
ENV["GKSwstype"]="nul"
plot_real(sF, F, 4, 4, "1")
plot_real(sT, T, 4, 4, "2")
plot_real(sC, C, 6, 12, "3")