<div class="gmail_quote">Hmm, my first reply seems lost in limbo...</div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">On Sat, Jul 10, 2010 at 06:40, dsimcha <span dir="ltr">&lt;<a href="mailto:dsimcha@yahoo.com">dsimcha@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">In the spirit of making D2 a first-rate scientific computing language, I have<br>
just uploaded the first usable version of my DFL-based dflplot  plotting<br>
library to Scrapple.<br><br><br>
For those who don&#39;t want to install dflplot, dfl and dstats (dstats is<br>
necessary only for the demo/test function and is otherwise not a dependency)<br>
but are curious what dflplot currently looks like, I&#39;ve attached a screenshot<br>
of a subplot window produced by the demo/test function.<br>
</blockquote></div><br><div>Hey, cool!</div><div><br></div><div>I had no trouble installing DFL. Man, I tried that 2-3 times in the past 2 years, to no avail. Now it works, woohoo! Now to get some keyboard shortcut on Code::Blocks to compile with DFL instead of DMD...</div>
<div><br></div><div>Dflplots works quite well for me and is very simple to use. Good work, David!</div><div><br></div><div><div>import std.random;</div><div>import dflplot;</div><div><br></div><div>void main() {</div><div>
<br></div><div>    auto rnd = uniformDistribution(1000);</div><div>    auto rnd2 = uniformDistribution(1000);</div><div><br></div><div>    auto scat = ScatterPlot(rnd, rnd2);</div><div>    scat.pointSymbol = &#39;.&#39;;</div>
<div>    scat.toFigure.showAsMain();</div><div>}</div></div><div><br></div><div>As you can see, I use a dot for symbol, it give nice graphics. Maybe with slightly excentered points... I attached a jpeg to my first reply, and maybe that&#39;s why it didn&#39;t pass.</div>
<div><br></div><div>Out of curiosity, as I don&#39;t know DFL, why do you draw everything as text in a scatterplot instead of using small rectangles or lines?</div><div><br></div><div>This made me laugh:</div><div><br></div>
<div><div>/**Hack around ddoc issues.)*/</div><div>void dummy() {}</div></div><div><br></div><div>Do you have a missing &#39;)&#39; parenthesis somewhere?</div><div><br></div><div>Philippe</div><div><br></div><div><br></div>