{"id":238,"date":"2016-01-29T21:31:11","date_gmt":"2016-01-29T21:31:11","guid":{"rendered":"http:\/\/labfiz.uwb.edu.pl\/lab\/magmicroscope\/?page_id=238"},"modified":"2016-01-29T21:51:12","modified_gmt":"2016-01-29T21:51:12","slug":"gnuplot-a-sprawa-wyniku","status":"publish","type":"page","link":"http:\/\/labfiz.uwb.edu.pl\/lab\/magmicroscope\/?page_id=238&lang=pl","title":{"rendered":"GNUPlot a sprawa wyniku"},"content":{"rendered":"<p>Program GNUPlot (<a href=\"http:\/\/www.gnuplot.info\">http:\/\/www.gnuplot.info<\/a>) wykorzystywany jest na dwa sposoby.<\/p>\n<p><strong>Po Pierwsze.<\/strong><\/p>\n<p>Wizualizacja wynik\u00f3w\u00a0pomiarowych w postaci wykres\u00f3w \u00a0odbywa si\u0119 poprzez wywo\u0142anie skrypt\u00f3w GNUPlota. Rozwi\u0105zanie\u00a0to mo\u017cliwe jest poprzez \u00a0wywo\u0142ywania z poziomu PHP. \u00a0Odpowiednia realizacja wywo\u0142ania obraz\u00f3w z poziomu HTML pozwala na proste generowanie niepowtarzalnej (innej dla ka\u017cdego pomiaru) grafiki na potrzeby interfejsu WWW.<\/p>\n<p><strong>Przyk\u0142ad:<\/strong> Wynik pomiaru\u00a0 nat\u0119\u017cenia \u015bwiat\u0142a w funkcji po\u0142o\u017cenia polaryzatora i nat\u0119\u017cenia pola magnetycznego<\/p>\n<table>\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"alignleft\" src=\"http:\/\/labfiz.uwb.edu.pl\/exp\/domeny01\/foto\/wynik_malus.png?506\" alt=\"\" width=\"319\" height=\"239\" name=\"wykres\" \/><\/td>\n<td>#!\/usr\/bin\/gnuplot<br \/>\nset terminal png<br \/>\nset xlabel &#8222;kat skrecenia polaryzatora [st]&#8221;<br \/>\nset ylabel &#8222;U [V] ~ I&#8221;<br \/>\nset grid<br \/>\nset output &#8222;wynik_malus.png&#8221;<br \/>\nset style line 1 lt 1 lw 100 pt 3 ps 0.5<br \/>\nplot [:] [:] &#8222;dane_malus.dat&#8221; using 1:2 notitle with lines lt 1 lw 3<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Po Drugie<\/p>\n<p>W\u0142asna analiza danych otrzymanych w wyniku pomiaru. Patrz ZADANIA POMIAROWE<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Program GNUPlot (http:\/\/www.gnuplot.info) wykorzystywany jest na dwa sposoby. Po Pierwsze. Wizualizacja wynik\u00f3w\u00a0pomiarowych w postaci wykres\u00f3w \u00a0odbywa si\u0119 poprzez wywo\u0142anie skrypt\u00f3w GNUPlota. Rozwi\u0105zanie\u00a0to mo\u017cliwe jest poprzez \u00a0wywo\u0142ywania z poziomu PHP. \u00a0Odpowiednia realizacja wywo\u0142ania obraz\u00f3w z poziomu HTML pozwala na proste generowanie niepowtarzalnej (innej dla ka\u017cdego pomiaru) grafiki na potrzeby interfejsu WWW. Przyk\u0142ad: Wynik pomiaru\u00a0 nat\u0119\u017cenia \u015bwiat\u0142a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":245,"parent":217,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[13],"tags":[],"class_list":["post-238","page","type-page","status-publish","has-post-thumbnail","hentry","category-opisy","post","post-with-thumbnail","post-with-thumbnail-large"],"_links":{"self":[{"href":"http:\/\/labfiz.uwb.edu.pl\/lab\/magmicroscope\/index.php?rest_route=\/wp\/v2\/pages\/238","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/labfiz.uwb.edu.pl\/lab\/magmicroscope\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/labfiz.uwb.edu.pl\/lab\/magmicroscope\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/labfiz.uwb.edu.pl\/lab\/magmicroscope\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/labfiz.uwb.edu.pl\/lab\/magmicroscope\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=238"}],"version-history":[{"count":6,"href":"http:\/\/labfiz.uwb.edu.pl\/lab\/magmicroscope\/index.php?rest_route=\/wp\/v2\/pages\/238\/revisions"}],"predecessor-version":[{"id":244,"href":"http:\/\/labfiz.uwb.edu.pl\/lab\/magmicroscope\/index.php?rest_route=\/wp\/v2\/pages\/238\/revisions\/244"}],"up":[{"embeddable":true,"href":"http:\/\/labfiz.uwb.edu.pl\/lab\/magmicroscope\/index.php?rest_route=\/wp\/v2\/pages\/217"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/labfiz.uwb.edu.pl\/lab\/magmicroscope\/index.php?rest_route=\/wp\/v2\/media\/245"}],"wp:attachment":[{"href":"http:\/\/labfiz.uwb.edu.pl\/lab\/magmicroscope\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/labfiz.uwb.edu.pl\/lab\/magmicroscope\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=238"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/labfiz.uwb.edu.pl\/lab\/magmicroscope\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}