Plotting library

2021-11-01 Thread didlybom
Thank you @Vindaar. It works perfectly. I’ve opened a new issue because when compiling with nim 1.6.0 there is a deprecation warning. It’s true that it’s fairly easy to provide the x sequence but it’d be nice if it weren’t necessary. It’s not super important but a lot of plotting libraries (e.g

Plotting library

2021-11-01 Thread Vindaar
> Looking forward to the PR being merged and available as a new version of the > library. Just a heads up, that I've tagged a new version with the changes. The shared axes feature should be rather simple to implement. Regarding the sugar feature, for the time being simply use `scatterPlot(toSeq

Plotting library

2021-11-01 Thread didlybom
This is awesome @Vindaar, thank you! Looking forward to the PR being merged and available as a new version of the library. As you requested, I've also created a new issue requesting adding support for shared X-Axes (. In the issue description I a

Plotting library

2021-11-01 Thread Vindaar
s mainly that the interactive part would be quite a bit of work. The static solution of just embedding a cairo surface into a SDL / ... window is rather straight forward, but also not the main use case I imagine. Help would certainly be welcome. The thing to keep in mind is that as an interactive

Plotting library

2021-10-31 Thread quantimnot
Just to add to the mix... I'm interested in an interactive plotting library that uses an opengl backend. There is a simple interactive plotting example done by @SSPkrolik for nimx. I fixed it up here: <https://github.com/quantimnot/nimxplot> nimble install nim

Plotting library

2021-10-31 Thread elcritch
> But even that cannot exactly replace Cairo (it's missing an SVG / PDF backend > + a few text related features). However, a Pixie backend for ggplotnim is > indeed almost ready, done by @zetashift: > > Fantastic! I've been thinking Pixie would be awe

Plotting library

2021-10-31 Thread Vindaar
> @Vindaar, yes the plotly pull request that I am referring to is the one from > Timothee in which he (I think!) fixes the problem with the show function, > which always reuses the x.html file. This causes frequent problems when you > show multiple plots in a row. Yeah, that's indeed an annoyan

Plotting library

2021-10-31 Thread didlybom
Thanks a lot for all the replies! @Vindaar, yes the plotly pull request that I am referring to is the one from Timothee in which he (I think!) fixes the problem with the show function, which always reuses the x.html file. This causes frequent problems when you show multiple plots in a row. I d

Plotting library

2021-10-30 Thread jackhftang
If you already have experience with matplotlib in python, it may be convenient to transfer the knowledge to nim via nimpy. The usage is almost the same. As an example: import std/[math, sequtils] import nimpy let xs = toSeq(1..1000).mapIt(it/10) let ys = xs.mapIt(si

Plotting library

2021-10-30 Thread alexeypetrushin
I use Nim for some financial computations and built visualisation library you can see some examples [example notebook](http://files.pl0t.com/experiments/optimal_betting/optimal_betting.html) and [its Nim sources](https://github.com/al6x/pl0t/blob/main/files/experiments/optimal

Plotting library

2021-10-30 Thread Vindaar
referring to. The one by Timothee? We were waiting on his input and at some point I simply forgot about it. I'm of course biased, but ggplotnim serves me very well nowadays. Whichever plotting library you wish to use, feel free to ping me (on Matrix / Discord) and I'll try to help. A

Plotting library

2021-10-30 Thread ynfle
There is also ggplotnim. Don't use it, just heard of it

Plotting library

2021-10-30 Thread didlybom
Hi, Is there a recommended plotting library for nim? I found nim-plotly which is pretty nice but feels not very heavily maintained. It has a few small issues which might be fixed by a pending pull request from 2 years ago which has not been merged yet and the GitHub repo hasn’t had any

uPlot - plotting library

2021-06-05 Thread mantielero
I have created a small wrapper for [uplot](https://github.com/leeoniya/uPlot). This is a JS library which uses canvas so it is pretty fast. It can be handy if you need to plot data while being interactive. It is far from complete, but some of you could find it useful. Here it is: [uPlot.nim](ht