{"id":2913,"date":"2019-03-29T15:56:01","date_gmt":"2019-03-29T15:56:01","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf3\/?page_id=2913"},"modified":"2019-06-25T12:45:45","modified_gmt":"2019-06-25T11:45:45","slug":"gnuplot","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/tools\/gnuplot\/","title":{"rendered":"Gnuplot"},"content":{"rendered":"<h2>Overview<\/h2>\n<p><a href=\"http:\/\/www.gnuplot.info\">Gnuplot<\/a> is a command-line driven graphing utility which to allows visualization of mathematical functions and data interactively.<\/p>\n<p>Versions 5.0.2 and 5.2.7 are available.<\/p>\n<h2>Restrictions on use<\/h2>\n<p>Gnuplot is free to use software, but users should familiarise themselves with the <a href=\"https:\/\/sourceforge.net\/p\/gnuplot\/gnuplot-main\/ci\/master\/tree\/Copyright\">copyright<\/a> information before using it.<\/p>\n<h2>Set up procedure<\/h2>\n<p>We now recommend loading modulefiles within your jobscript so that you have a full record of how the job was run. See the example jobscript below for how to do this. Alternatively, you may load modulefiles on the login node and let the job <abbr title=\"add '#$ -V' to your jobscript\">inherit these settings<\/abbr>.<\/p>\n<p>Load the modulefile corresponding to your required version:<\/p>\n<pre>\r\n# Latest version (in the 'tools' group)\r\nmodule load tools\/gcc\/gnuplot\/5.2.7\r\n\r\n# Older version from the DPSF that requires an additional modulefile\r\nmodule load apps\/bioinf apps\/gnuplot\/5.0.2\r\n<\/pre>\n<h2>Running the application<\/h2>\n<p>You may run gnuplot on the login node if processing small datasets. Alternatively, you can run it in an <em>interactive<\/em> session on a compute node if processing a large dataset. gnuplot can also be run in batch, by running it from your jobscript &#8211; typically in the same program that generates a dataset.<\/p>\n<h3>Serial batch job submission<\/h3>\n<p>Make sure you have the modulefile loaded, have prepared a <em>gnuplot script<\/em> file containing what you want gnuplot to do, have a dataset file (e.g., a table of numbers) and then create a batch submission script, for example:<\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#$ -cwd               # Job will run from the current directory\r\n                      # Job will inherit current environment settings\r\n\r\n# Load your required version\r\nmodule load tools\/gcc\/gnuplot\/5.2.7\r\n\r\n# plot.txt is the plotting script. It will usually load in your dataset file.\r\ngnuplot plot.txt\r\n<\/pre>\n<p>Submit the jobscript using: <\/p>\n<pre>qsub <em>scriptname<\/em><\/pre>\n<p>where <em>scriptname<\/em> is the name of your jobscript.<\/p>\n<h3>Interactive Usage<\/h3>\n<p>It is possible to run gnuplot interactively on a compute node using <a href=\"\/csf3\/batch\/qrsh\/\">qrsh<\/a>. To do so please run the following commands on the login node:<\/p>\n<pre>\r\nmodule load tools\/gcc\/gnuplot\/5.2.7\r\nqrsh -l short -V -cwd gnuplot\r\n<\/pre>\n<h2>Further info<\/h2>\n<p>Detailed information about how to use gnuplot can be found within the software. At the gnuplot command line type:<\/p>\n<ul>\n<li><code>help<\/code><\/li>\n<li><code>help <topic> <subtopic><\/code> for example: <code>help plot bezier<\/code><\/li>\n<\/ul>\n<p>The <a href=\"http:\/\/www.gnuplot.info\/\">Gnuplot website<\/a> contains documentation, FAQs, demos and tutorials.<\/li>\n","protected":false},"excerpt":{"rendered":"<p>Overview Gnuplot is a command-line driven graphing utility which to allows visualization of mathematical functions and data interactively. Versions 5.0.2 and 5.2.7 are available. Restrictions on use Gnuplot is free to use software, but users should familiarise themselves with the copyright information before using it. Set up procedure We now recommend loading modulefiles within your jobscript so that you have a full record of how the job was run. See the example jobscript below for.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/tools\/gnuplot\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"parent":144,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2913","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/2913","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/comments?post=2913"}],"version-history":[{"count":8,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/2913\/revisions"}],"predecessor-version":[{"id":3501,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/2913\/revisions\/3501"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/144"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/media?parent=2913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}