-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c69a559
commit 31e716e
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
## xplot.sh | ||
|
||
Generates and shows the desired plot (SOT fields, Hext, or magnetization). If you want to see the magnetization state of, the simulation at $H_\text{ext}=3$ mT: | ||
```bash | ||
./xplot gmrx.py 3 | ||
``` | ||
|
||
The script calls a `gnuplot` script containing the parameters for the plot. You can call whatever plot needed, three scripts are included as default: | ||
|
||
| Script File | Plot | | ||
|--------------|-------------| | ||
| g mrx .gp | Relaxation of magnetization (\$\vec{m}\$ vs $t$) | | ||
| g bsweep .gp | B field sweep (\$m_z\$ vs $H_\text{ext}$) | | ||
| g sot .gp | Torques dynamics (SOT vs $t$) | | ||
| g hext .gp | Fields dynamics ($H_\text{ext}$ vs $t$) | | ||
|
||
z.B. | ||
|
||
![Generated plot for Hext = 3 mT](../../assets/xplot_001.png) | ||
|
||
Calling the function once will generate the plot in `./plt_mx_H-003.png`, show it and update it every 5 seconds. |