<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"><<a href="mailto:dsimcha@yahoo.com">dsimcha@yahoo.com</a>></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'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'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 = '.';</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's why it didn't pass.</div>
<div><br></div><div>Out of curiosity, as I don'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 ')' parenthesis somewhere?</div><div><br></div><div>Philippe</div><div><br></div><div><br></div>