{"id":124,"date":"2021-01-11T17:59:46","date_gmt":"2021-01-11T17:59:46","guid":{"rendered":"https:\/\/www.larry4u.com\/co2diy.com\/?page_id=124"},"modified":"2023-09-28T13:20:28","modified_gmt":"2023-09-28T13:20:28","slug":"how-to-plot-data","status":"publish","type":"page","link":"https:\/\/www.larry4u.com\/co2diy.com\/how-to-plot-data\/","title":{"rendered":"How to plot data"},"content":{"rendered":"<p>Down load, the Matplotlib<\/p>\n<p>&nbsp;<\/p>\n<p>go to the home aranet directory<\/p>\n<p>cd ~\u00a0 (same as cd \/home\/aranet)<\/p>\n<p>sudo apt install python3-matplotlib<\/p>\n<p>sudo apt-get install libatlas-base-dev<\/p>\n<p>Get the testplot.py file<\/p>\n<p>wget https:\/\/larry4you.com\/data\/testplot.py<\/p>\n<p>run with &#8220;python3 testplot.py&#8221;<\/p>\n<p>if error try this:<\/p>\n<p>There are sometimes issues reported on Raspberry Pi setups when installing using\u00a0<code class=\"docutils literal notranslate\"><span class=\"pre\">pip3<\/span>\u00a0<span class=\"pre\">install<\/span><\/code>\u00a0(or\u00a0<code class=\"docutils literal notranslate\"><span class=\"pre\">pip<\/span><\/code>\u00a0install). These will typically mention:<\/p>\n<div class=\"highlight-default notranslate\">\n<div class=\"highlight\">\n<pre><span class=\"n\">libf77blas<\/span><span class=\"o\">.<\/span><span class=\"n\">so<\/span><span class=\"mf\">.3<\/span><span class=\"p\">:<\/span> <span class=\"n\">cannot<\/span> <span class=\"nb\">open<\/span> <span class=\"n\">shared<\/span> <span class=\"nb\">object<\/span> <span class=\"n\">file<\/span><span class=\"p\">:<\/span> <span class=\"n\">No<\/span> <span class=\"n\">such<\/span> <span class=\"n\">file<\/span> <span class=\"ow\">or<\/span> <span class=\"n\">directory<\/span>\r\n<\/pre>\n<\/div>\n<\/div>\n<p>The solution will be to run the following.<\/p>\n<div class=\"highlight-default notranslate\">\n<div class=\"highlight\">\n<pre><span class=\"n\">sudo<\/span> <span class=\"n\">apt<\/span><span class=\"o\">-<\/span><span class=\"n\">get<\/span> <span class=\"n\">install<\/span> <span class=\"n\">libatlas<\/span><span class=\"o\">-<\/span><span class=\"n\">base<\/span><span class=\"o\">-<\/span><span class=\"n\">dev<\/span><\/pre>\n<\/div>\n<\/div>\n<p>Ont the list of files in the bitvise Remote files page duble click on Matplotlib_save_plot.png<\/p>\n<p>If you get the graph plotting is working.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-356\" src=\"https:\/\/www.larry4u.com\/co2diy.com\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-23-121051-300x228.jpg\" alt=\"\" width=\"300\" height=\"228\" srcset=\"https:\/\/www.larry4u.com\/co2diy.com\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-23-121051-300x228.jpg 300w, https:\/\/www.larry4u.com\/co2diy.com\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-23-121051.jpg 602w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.larry4u.com\/co2diy.com\/diy-make-big-screen-monitor\/contents\/add-the-magic-mirror-software\/\">NEXT<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Down load, the Matplotlib &nbsp; go to the home aranet directory cd ~\u00a0 (same as cd \/home\/aranet) sudo apt install python3-matplotlib sudo apt-get install libatlas-base-dev Get the testplot.py file wget https:\/\/larry4you.com\/data\/testplot.py run with &#8220;python3 testplot.py&#8221; if error try this: There <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/www.larry4u.com\/co2diy.com\/how-to-plot-data\/\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":""},"_links":{"self":[{"href":"https:\/\/www.larry4u.com\/co2diy.com\/wp-json\/wp\/v2\/pages\/124"}],"collection":[{"href":"https:\/\/www.larry4u.com\/co2diy.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.larry4u.com\/co2diy.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.larry4u.com\/co2diy.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.larry4u.com\/co2diy.com\/wp-json\/wp\/v2\/comments?post=124"}],"version-history":[{"count":20,"href":"https:\/\/www.larry4u.com\/co2diy.com\/wp-json\/wp\/v2\/pages\/124\/revisions"}],"predecessor-version":[{"id":684,"href":"https:\/\/www.larry4u.com\/co2diy.com\/wp-json\/wp\/v2\/pages\/124\/revisions\/684"}],"wp:attachment":[{"href":"https:\/\/www.larry4u.com\/co2diy.com\/wp-json\/wp\/v2\/media?parent=124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}