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
software:matplotlib:matplotlib [2024-02-20 09:43] – [View plots with Imagemagick] anitasoftware:matplotlib:matplotlib [2024-02-20 10:30] (current) – [Matplotlib] anita
Line 5: Line 5:
 Matplotlib, pylab and pyplot are all related.  Matplotlib is the whole package; pylab is a module in matplotlib that gets installed alongside [[http://matplotlib.org/api/matplotlib_configuration_api.html#module-matplotlib|matplotlib]]; and [[http://matplotlib.org/api/pyplot_api.html#module-matplotlib.pyplot|matplotlib.pyplot]] is a module in matplotlib. There is a [[http://matplotlib.org/users/pyplot_tutorial.html|pyplot tutorial]] and numerous other sites that use matplotlib for their plot examples such as [[http://www.scipy.org/Cookbook/Matplotlib/|SciPy Cookbook for Matplotlib]]. Matplotlib, pylab and pyplot are all related.  Matplotlib is the whole package; pylab is a module in matplotlib that gets installed alongside [[http://matplotlib.org/api/matplotlib_configuration_api.html#module-matplotlib|matplotlib]]; and [[http://matplotlib.org/api/pyplot_api.html#module-matplotlib.pyplot|matplotlib.pyplot]] is a module in matplotlib. There is a [[http://matplotlib.org/users/pyplot_tutorial.html|pyplot tutorial]] and numerous other sites that use matplotlib for their plot examples such as [[http://www.scipy.org/Cookbook/Matplotlib/|SciPy Cookbook for Matplotlib]].
  
 +<note tip>These directions are geared towards setting up and running Matplotlib on Caviness. However these directions can easily be used on DARWIN, although references to directory paths and software versions may be different.</note>
 ===== Interactive job ===== ===== Interactive job =====
  
Line 143: Line 144:
 </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.1708440232.txt.gz
  • Last modified: 2024-02-20 09:43
  • by anita