{"id":274,"date":"2011-12-03T17:48:00","date_gmt":"2011-12-03T17:48:00","guid":{"rendered":"http:\/\/ahay.org\/blog\/?p=274"},"modified":"2015-08-04T23:51:35","modified_gmt":"2015-08-04T23:51:35","slug":"programs-of-the-month-sfcontour","status":"publish","type":"post","link":"https:\/\/ahay.org\/blog\/2011\/12\/03\/programs-of-the-month-sfcontour\/","title":{"rendered":"Programs of the month: sfcontour"},"content":{"rendered":"<p><a href=\"\/RSF\/sfcontour.html\">sfcontour<\/a> is a program for generating contour plots of 2-D data. It shares many of its parameters with other 2-D plotting programs, such as <strong>sfgrey<\/strong> and <strong>sfgraph<\/strong>. You can access these parameters by running <strong>sfdoc stdplot<\/strong>.<br \/>\nLet us discuss some of the parameters specific to <strong>sfcontour<\/strong>.<br \/>\nThe number of contours, their origin and increment are given by <strong>nc=<\/strong>, <strong>c0=<\/strong>, <strong>dc=<\/strong>. If these parameters are not specified, they are determined from the data values. The contour lines in the following picture from <a href=\"\/RSF\/book\/jsg\/agath\/radon.html\">jsg\/agath\/radon<\/a> were created with <strong>sfcontour c0=10 dc=10 nc=10<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"\/RSF\/book\/jsg\/agath\/radon\/Fig\/angl45-45.png\" width=\"450\" height=\"353\" \/><br \/>\nAlternatively, the contours can be specified in a list with <strong>c=<\/strong> or in a file with <strong>cfile=<\/strong>.<br \/>\nBy default, sfcontour plots only contours for the positive values of the input. If you want both positive and negative values to be represented, use <strong>allpos=n<\/strong>.<br \/>\nA 3-D version of <strong>sfcontour<\/strong> is <a href=\"\/RSF\/sfcontour3.html\">sfcontour3<\/a>.<br \/>\nThe contour lines in the following picture from <a href=\"\/RSF\/book\/jsg\/flat\/comaz.html\">jsg\/flat\/comaz<\/a> were created with <strong>sfcontour3 cfile=<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"\/RSF\/book\/jsg\/flat\/comaz\/Fig\/wcont.png\" width=\"450\" height=\"442\" alt=\"\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>sfcontour is a program for generating contour plots of 2-D data. It shares many of its parameters with other 2-D plotting programs, such as sfgrey and sfgraph. You can access these parameters by running sfdoc stdplot. Let us discuss some of the parameters specific to sfcontour. The number of contours, their origin and increment are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","activitypub_content_warning":"","activitypub_content_visibility":"local","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-274","post","type-post","status-publish","format-standard","hentry","category-programs"],"_links":{"self":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/comments?post=274"}],"version-history":[{"count":1,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/274\/revisions"}],"predecessor-version":[{"id":641,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/274\/revisions\/641"}],"wp:attachment":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/media?parent=274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/categories?post=274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/tags?post=274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}