Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More examples #8

Open
KronosTheLate opened this issue May 3, 2023 · 5 comments
Open

More examples #8

KronosTheLate opened this issue May 3, 2023 · 5 comments

Comments

@KronosTheLate
Copy link

The readme only shows how to plot with GR through Plots.jl. Are other options possible? If yes, it would be very nice to see them demonstrated in the readme?

@eschnett
Copy link
Owner

eschnett commented May 3, 2023

Sure! Most plotting packages should work. Here is an example for Makie:

julia> using CairoMakie, SixelTerm
julia> scatter(rand(100))

I'll update the README, thanks for the pointer.

Is there a plotting package you prefer using?

@KronosTheLate
Copy link
Author

I am looking into something lightweight and low-dependency, for live-streaming an oscilloscope trace via a Raspberry Pi, to a controlling laptop via ssh. It looks like using GR directly is a good option, which happens to support sixel nativly.

I normally use Makie, but I believe it is too heavy to be a reasonable choice to be run on the Pi.

Peyhaps Bookeh would be interesting? I remeber it got supeisingly much attention for its release. Otherwise, I generally believe low latency and low-cost plots are important where one wants to use the terminal, but I have my biases...

@eschnett
Copy link
Owner

eschnett commented May 3, 2023

I think GR would be a good choice because it's implemented via a C (?) library.

Bokeh looks as if it was implemented in Javascript, which might not be "low latency" or "low-cost". I quick look also didn't show any backend that produces a figure; instead, it seems to be looking for a place to display html.

@KronosTheLate
Copy link
Author

Right. I am not sure then which other options would be nice.

@eschnett
Copy link
Owner

eschnett commented May 4, 2023

I added the example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants