software:matplotlib:matplotlib

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
software:matplotlib:matplotlib [2024-02-20 09:43] – [View plots with Imagemagick] anitasoftware:matplotlib:matplotlib [2024-02-20 09:46] – [Using LaTeX in plot text] anita
Line 99: Line 99:
 ==== View plots with Imagemagick ==== ==== View plots with Imagemagick ====
  
-If you want to review the plots created, then you can use Imagemagick on the compute nodes via ''salloc'' with the proper X11 options as long as you are running X-Windows. For example, using account ''traine'' and workgroup ''it_css'', we display the ''plot-cs.png'' plot file. +If you want to review the plots created, then you can use Imagemagick on the compute nodes via ''salloc'' with the proper X11 options and you are running X-Windows. For example, using account ''traine'' and workgroup ''it_css'', we display the ''plot-cs.png'' plot file. 
    
 <code bash> <code bash>
Line 143: Line 143:
 </code> </code>
  
-Using a basic serial job script like ''serial-plot.qs'' copy it and make changes below, then use ''sbatch serial-plot-latex.qs'' will create the plot file ''latex_demo.png'' in the current working directory where you submitted the job.+Using a basic serial job script like ''serial-plot.qs'' copy it and make changes below to set the partition, include the appropriate VALET packages and the command to run Python, then use ''sbatch serial-plot-latex.qs'' to submit the job. This job will create the plot file ''latex_demo.png'' in the current working directory where you submitted the job.
  
 <code - serial-plot-latex.qs> <code - serial-plot-latex.qs>
  • software/matplotlib/matplotlib.txt
  • Last modified: 2024-02-20 10:30
  • by anita