chore: add multi-threaded plots to README

main
Francesco Minnocci 1 year ago
parent 40db8c034e
commit 87e1069b54
Signed by untrusted user: BachoSeven
GPG Key ID: 2BE4AB7FDAD828A4

@ -24,7 +24,9 @@ xy - 1 &= 0 \\
\end{align*} \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*} \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*} \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

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

Loading…
Cancel
Save