Re: How to plot a simple scatter plot using ggplotd

2025-08-12 Thread Marc via Digitalmars-d-learn
On Tuesday, 12 August 2025 at 07:18:45 UTC, Serg Gini wrote: ```d auto gg = xs.zip(ys) .map!((t) => aes!("x","y")(t[0], t[1])) .geomPoint.putIn(GGPlotD()); ``` Some examples can be found here: https://blackedder.github.io/ggplotd/example.html https://blackedder.github.io/

Re: How to plot a simple scatter plot using ggplotd

2025-08-12 Thread Serg Gini via Digitalmars-d-learn
On Tuesday, 12 August 2025 at 02:23:49 UTC, Marc wrote: Hello everyone, I am trying to use ggplotd to visualize a data set before and after fitting a linear model. how ever i'm struggling to get it to work with a simple example. I tried the following and i get errors for boths: ```d import m