Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to plot with C++ like jQplot?

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
User avatar
fender0107401
Posts: 52
Joined: 2014-05-10 11:42

How to plot with C++ like jQplot?

#1 Post by fender0107401 »

I need some C++ graphical lib to work with gtk+.

What I want is to plot like jQplot: http://www.jqplot.com/tests/rotated-tick-labels.php

tomazzi
Posts: 730
Joined: 2013-08-02 21:33

Re: How to plot with C++ like jQplot?

#2 Post by tomazzi »

Drawing custom widgets in GTK is rather complicated task, and the documentation is not very verbose in this matter, but You may look at cairo library.
If You want to draw inside application windows, the easiest solution is to use wxWidgets - this is a front-end for GTK on Linux, but the API is far more friendly.

If You need to draw charts, then You can use something like this:
http://wxmathplot.sourceforge.net/

Regards.
Odi profanum vulgus

Post Reply