{"id":2159,"date":"2015-03-03T23:21:35","date_gmt":"2015-03-03T23:21:35","guid":{"rendered":"http:\/\/41j.com\/blog\/?p=2159"},"modified":"2015-03-03T23:21:35","modified_gmt":"2015-03-03T23:21:35","slug":"simple-scatter-plot-gnuplot","status":"publish","type":"post","link":"https:\/\/41j.com\/blog\/2015\/03\/simple-scatter-plot-gnuplot\/","title":{"rendered":"Simple scatter plot in gnuplot"},"content":{"rendered":"<p>I can never recall the code to do a scatter plot in gnuplot. So here it is for reference:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nset size square\r\n\r\nset ylabel &quot;YLabel&quot;\r\nset xlabel &quot;XLabel&quot;\r\n\r\nset terminal postscript eps color\r\nset output &quot;plot.eps&quot;\r\nplot &quot;data&quot; using 1:2 with points\r\n<\/pre>\n<p>This creates an eps file called plot.eps from a file called data. The file should contain 2 columns, the first being the x axis and the second the y.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I can never recall the code to do a scatter plot in gnuplot. So here it is for reference: set size square set ylabel &quot;YLabel&quot; set xlabel &quot;XLabel&quot; set terminal postscript eps color set output &quot;plot.eps&quot; plot &quot;data&quot; using 1:2 with points This creates an eps file called plot.eps from a file called data. The [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Simple scatter plot in gnuplot","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-2159","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1RRoU-yP","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/posts\/2159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/comments?post=2159"}],"version-history":[{"count":1,"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/posts\/2159\/revisions"}],"predecessor-version":[{"id":2160,"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/posts\/2159\/revisions\/2160"}],"wp:attachment":[{"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/media?parent=2159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/categories?post=2159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/tags?post=2159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}