<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>House-Tiere              -d(~_~)b- &#187; Grafik</title> <atom:link href="http://house-tiere.de/tag/grafik/feed/" rel="self" type="application/rss+xml" /><link>http://house-tiere.de</link> <description>.. was auch immer das heißen mag.</description> <lastBuildDate>Sun, 05 Jun 2011 15:49:42 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.1.3</generator> <item><title>Hand Modellierung mit Blender</title><link>http://house-tiere.de/allgemeines/hand-modellierung-mit-blender/</link> <comments>http://house-tiere.de/allgemeines/hand-modellierung-mit-blender/#comments</comments> <pubDate>Sun, 01 Nov 2009 21:37:26 +0000</pubDate> <dc:creator>Woody</dc:creator> <category><![CDATA[Allgemeines]]></category> <category><![CDATA[3D]]></category> <category><![CDATA[Blender]]></category> <category><![CDATA[Grafik]]></category> <guid
isPermaLink="false">http://house-tiere.de/?p=399</guid> <description><![CDATA[Ist zwar schon ein paar Wochen her, aber ich dachte ich poste es noch mal. Ich muss dazu sagen, ich hab noch nicht besonders viel mit Blender gearbeitet. Aber wenn man sich mal 1 &#8211; 2 Wochen Tutorials bei YouTube anschaut, kommt man doch recht schnell in die sehr gewöhnungsbedürftige (wenn auch zu gleich gut [...]]]></description> <content:encoded><![CDATA[<p><object
width="425" height="344"><param
name="movie" value="http://www.youtube.com/v/V8sHDn4DnAQ&#038;hl=de&#038;fs=1&#038;"></param><param
name="allowFullScreen" value="true"></param><param
name="allowscriptaccess" value="always"></param><embed
src="http://www.youtube.com/v/V8sHDn4DnAQ&#038;hl=de&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object><br
/> Ist zwar schon ein paar Wochen her, aber ich dachte ich poste es noch mal. Ich muss dazu sagen, ich hab noch nicht besonders viel mit <a
href="http://www.blender.org/">Blender</a> gearbeitet. <span
id="more-399"></span>Aber wenn man sich mal 1 &#8211; 2 Wochen Tutorials bei YouTube anschaut, kommt man doch recht schnell in die sehr gewöhnungsbedürftige (wenn auch zu gleich gut durchdachte) Bedienung rein. Beim Modellieren der Hand bin ich nach diesem <a
href="http://www.youtube.com/watch?v=J1mExXURsWk">Tutorial </a>vorgegangen.</p><p>Das Tutorial scheint zwar ein anderes Programm als Blender zu benutzen, aber beim prinzipiellen Vorgehen zur Modellierung macht das in dem Fall keinen Unterschied.</p> ]]></content:encoded> <wfw:commentRss>http://house-tiere.de/allgemeines/hand-modellierung-mit-blender/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>gnuplot: Box-Whisker-Plot</title><link>http://house-tiere.de/allgemeines/gnuplot-box-whisker-plot/</link> <comments>http://house-tiere.de/allgemeines/gnuplot-box-whisker-plot/#comments</comments> <pubDate>Sun, 03 May 2009 15:02:59 +0000</pubDate> <dc:creator>Woody</dc:creator> <category><![CDATA[Allgemeines]]></category> <category><![CDATA[Scripts]]></category> <category><![CDATA[Grafik]]></category> <category><![CDATA[script]]></category> <guid
isPermaLink="false">http://house-tiere.de/?p=212</guid> <description><![CDATA[Als ich mit gnuplot vernünftige Boxplots, sogenannte Box-Whisker-Plots, erstellen wollte, fand ich keine nativen Funktionen dafür. Trotzdem hab ich für dieses Problem ein Workaround ausgemacht: Man legt einfach zwei Candelsticks übereinander, der zweite dient einfach nur als flache Markierung für den Median als eine schwarzer Linie. Fertig ist der Boxplot. Der Code sieht dann bei [...]]]></description> <content:encoded><![CDATA[<p>Als ich mit <a
href="http://www.gnuplot.info/">gnuplot</a> vernünftige Boxplots, sogenannte <em>Box-Whisker-Plots</em>, erstellen wollte, fand ich keine nativen Funktionen dafür. Trotzdem hab ich für dieses Problem ein Workaround ausgemacht: Man legt einfach zwei Candelsticks übereinander, der zweite dient einfach nur als flache Markierung für den Median als eine schwarzer Linie. Fertig ist der Boxplot. <img
src='http://house-tiere.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>Der Code sieht dann bei mir etwa so aus:<span
id="more-212"></span></p><div
class="wp_syntax"><div
class="code"><pre class="gnuplot" style="font-family:monospace;"><span style="color: #b1b100;">set</span> <span style="color: #990000;">size</span> <span style="color: #cc66cc;">1.0</span><span style="color: #000; font-weight: bold;">,</span><span style="color: #cc66cc;">1.0</span>
<span style="color: #b1b100;">set</span> <span style="color: #990000;">key</span> <span style="color: #448888;">box</span> <span style="color: #448888;">linestyle</span> <span style="color: #cc66cc;">1</span>
<span style="color: #b1b100;">set</span> auto <span style="color: #448888;">y</span>
<span style="color: #b1b100;">set</span> auto <span style="color: #448888;">x</span>
<span style="color: #b1b100;">set</span> <span style="color: #990000;">terminal</span> <span style="color: #448888;">png</span>
<span style="color: #b1b100;">set</span> <span style="color: #990000;">output</span> <span style="color: #0000ff;">&quot;myBoxPlot.png&quot;</span>
<span style="color: #b1b100;">set</span> <span style="color: #990000;">title</span> <span style="color: #0000ff;">&quot;sample-boxplot&quot;</span>
<span style="color: #b1b100;">set</span> <span style="color: #990000;">xlabel</span> <span style="color: #0000ff;">&quot;evolution&quot;</span>
<span style="color: #b1b100;">set</span> <span style="color: #990000;">ylabel</span> <span style="color: #0000ff;">&quot;sequence relationen&quot;</span>
<span style="color: #b1b100;">set</span> <span style="color: #990000;">boxwidth</span> <span style="color: #cc66cc;">0.4</span>
<span style="color: #b1b100;">plot</span> <span style="color: #0000ff;">'tmp.plot'</span> <span style="color: #448888;">using</span> <span style="color: #cc66cc;">1</span><span style="color: #000; font-weight: bold;">:</span><span style="color: #cc66cc;">3</span><span style="color: #000; font-weight: bold;">:</span><span style="color: #cc66cc;">2</span><span style="color: #000; font-weight: bold;">:</span><span style="color: #cc66cc;">6</span><span style="color: #000; font-weight: bold;">:</span><span style="color: #cc66cc;">5</span> <span style="color: #448888;">with</span> <span style="color: #448888;">candlesticks</span> fs <span style="color: #448888;">solid</span> <span style="color: #cc66cc;">0.7</span> <span style="color: #990000;">title</span> <span style="color: #0000ff;">&quot;upper / under quartil&quot;</span><span style="color: #000; font-weight: bold;">,</span> \
<span style="color: #0000ff;">''</span> <span style="color: #448888;">using</span> <span style="color: #cc66cc;">1</span><span style="color: #000; font-weight: bold;">:</span><span style="color: #cc66cc;">4</span><span style="color: #000; font-weight: bold;">:</span><span style="color: #cc66cc;">4</span><span style="color: #000; font-weight: bold;">:</span><span style="color: #cc66cc;">4</span><span style="color: #000; font-weight: bold;">:</span><span style="color: #cc66cc;">4</span> <span style="color: #448888;">with</span> candlestick <span style="color: #448888;">lt</span> <span style="color: #000; font-weight: bold;">-</span><span style="color: #cc66cc;">1</span> fs <span style="color: #448888;">solid</span> <span style="color: #cc66cc;">1.0</span> <span style="color: #990000;">title</span> <span style="color: #0000ff;">&quot;median&quot;</span></pre></div></div><p>Wobei in den eingelesenen Daten der erste Eintrag den entsprechenden boxplot spezifiziert, gefolgt von unteres Quartil und Minimum, dann Maximum und oberes Quartil im 5. und 6. Eintrag. Der Median wird dann im nächsten Plot aus dem 4. Eintrag genommen und einfach als flacher Candlestick dargestellt. Damit lassen sich Boxplot dann auch schön automatisiert aus csv-Dateien mit gegebenen Quartil- und Median-Werten mit gnuplot zeichnen.<div
id="attachment_215" class="wp-caption alignleft" style="width: 310px"><img
class="size-medium wp-image-215" title="sample" src="http://house-tiere.de/wp-content/uploads/sample-300x225.png" alt="Beispiel Boxplot mit gnuplot" width="300" height="225" /><p
class="wp-caption-text">Beispiel Boxplot mit gnuplot</p></div><br
/> Nebenbei vielleicht noch einmal bemerkt, in einem geordneten Array sind Median genau in der Mitte, unteres und oberes Quartil an der 1/4- bzw. 3/4-Stelle des Arrays. Minimum und Maximum sind dann natürlich 1. und letztes Arrayelement. <img
src='http://house-tiere.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br
/> Es sieht nicht perfekt aus, und ein Nachteil ist auch, dass man keine Ausreißer darstellen kann. Aber gnuplot ist halt nur zum plotten und nicht berechnen. Naja, ich denke ich werd nächstes mal direkt was mit python und <a
href="http://www.r-project.org/">R</a> machen, weil das Rechnen in nem Shell-Script dann doch zu schnell zu aufwendig wird. Aber funktionieren tut es. Wenns nicht automatisiert sein muss, würd ichs sogar eher mit <a
href="http://projects.gnome.org/gnumeric/">gnumeric</a> machen.</p> ]]></content:encoded> <wfw:commentRss>http://house-tiere.de/allgemeines/gnuplot-box-whisker-plot/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
