Re: Recommendation on plotting library

2023-07-22 Thread nbdusr via Digitalmars-d-learn
On Thursday, 20 July 2023 at 02:37:54 UTC, Chris Piker wrote: Hi D One of my jobs is to release and maintain public data archives from long-running scientific instruments. In order to help people understand how to process the data, sample code is often included with the archive. Recently thi

Re: "macro" expansion to build switch case code

2023-07-02 Thread nbdusr via Digitalmars-d-learn
On Sunday, 2 July 2023 at 17:02:44 UTC, Paul wrote: I have a struct similar to the following example. I'd like to build an adder method without having to code the whole method. How do I use the D language to do this? Template, mixins, CTFE..all of them? ```d struct myS { int a, b, c, d

Re: Graphing

2023-07-01 Thread nbdusr via Digitalmars-d-learn
On Saturday, 1 July 2023 at 01:00:46 UTC, anonymouse wrote: How would I go about graphing time series data (specifically, candles, moving averages, etc) in D and dynamically updating such charts? Thanks, --anonymouse https://github.com/epezent/implot And C bindings: https://github.com/cimg