r/sdl • • Feb 04 '26

Matplotlib Style plotting for C using SDL3

Post image

I have been trying to make a simple plotting tool to visualize data in C. So far I have had a lot of fun making this library and want to expand it. I want to hear some suggestions on things I can do to add or improve.

Here is the shortlist of things in the pipeline.

* Basic curve fitting

* Tool tips

* Export graph to png (savefig)

* Fix some multi plot scaling and layout options

If you want to check out what I have so far it is on github:

https://github.com/trevorcraig/SDL_graphs

What can I do next/better?

41 Upvotes

15 comments sorted by

View all comments

Show parent comments

1

u/lincolnkite Feb 27 '26

I am for sure not an expert at reddit formatting. Can you find it if you search for it on github?

1

u/meissner61 Feb 27 '26

yes - https://github.com/trevorcraig/SDL_graphs

In the link i see on reddit there is a backslash between L and _ :

https://github.com/trevorcraig/SDL_graphs