I need to create 2d histograms for a project I'm working on. they don't need to be particularly fancy but I was hoping for an option that will compile in windows as well as Linux. does anyone have any recommendations?
I don't need dual axes or anything like that, just something like plot(x,y) where x and y are float or int arrays...
Do you want to generate an image or to display it ?
Do you want it to look nice, or is it just for testing or etc. ?
Most gui toolkits provide tools for such simple graphics (Qt, gtk, wxWidgets). You could use some graphics api to do it (SFML, SDL, Allegro). Though in both cases you would need to write things yourself.