llg3d.post.plot_csv

Plot data from a CSV file.

Create a figure with one subplot for each column in the CSV file (except the first one, which is assumed to be the x-axis). Each subplot will show the corresponding column as a function of the first column.

Functions

main()

Main function to parse arguments and call the plotting function.

plot_csv(file[, show])

Plot data from a CSV file.

plot_csv(file, show=False)[source]

Plot data from a CSV file.

Parameters:
  • file (Path) – Path to the CSV file. The first column is assumed to be the x-axis (e.g., Temperature), and the others are y-axes (e.g., m_0, x_0, w).

  • show (bool) – display the graph in a graphical window.

main()[source]

Main function to parse arguments and call the plotting function.