Discussion:
Histogram Widget?
(too old to reply)
Guy Rutenberg
2009-04-30 14:26:02 UTC
Permalink
Hi,

I'm looking for a widget to display histograms of data (not images) as
means of data visualization.

Does anyone knows about such widget for wxWidgets?

Regards,

Guy

----
http://www.openyahtzee.org/ - An open-source Yahtzee game written in
wxWidgets
Markus Plessing
2009-04-30 17:22:41 UTC
Permalink
Post by Guy Rutenberg
Hi,
Hi,
Post by Guy Rutenberg
I'm looking for a widget to display histograms of data (not images) as
means of data visualization.
Does anyone knows about such widget for wxWidgets?
You may want to have a look at: http://wxmathplot.sourceforge.net/
Post by Guy Rutenberg
Regards,
Guy
Regards,

Markus
Post by Guy Rutenberg
----
http://www.openyahtzee.org/ - An open-source Yahtzee game written in
wxWidgets
_______________________________________________
wx-users mailing list
http://lists.wxwidgets.org/mailman/listinfo/wx-users
Werner Smekal
2009-04-30 20:08:45 UTC
Permalink
Post by Guy Rutenberg
Hi,
I'm looking for a widget to display histograms of data (not images) as
means of data visualization.
Does anyone knows about such widget for wxWidgets?
PLplot provides a widget for wxWindows: http://plplot.sf.net . This
library also allows to plot histograms.

Regards,
Werner
Post by Guy Rutenberg
Regards,
Guy
----
http://www.openyahtzee.org/ - An open-source Yahtzee game written in
wxWidgets
_______________________________________________
wx-users mailing list
http://lists.wxwidgets.org/mailman/listinfo/wx-users
Dave Silvia" "anthemion-devtools" , "wxMS_developers
2009-05-01 07:05:21 UTC
Permalink
Hi!

If you mean a 'traditional' histogram (bar chart), a wxGrid can be used for
such a purpose. There's a _very_ basic demo of the process. Here's where you
can find it:

http://www.wxcodex.net

In the green menu to the left, click the 'Demo' radio button, then click the
'Go' button at the bottom of that same menu. It's on the second page of
demos, I think. It has all the code for building and a Makefile for Linux
GCC, makefile.gcc for MinGW, and GridHist.vcproj/GridHist.sln for Visual
Studio. It also contains a DialogBlocks project file (that's what was used
to 'create' the GUI and incidentals). You do not have to use DialogBlocks to
use the demo, all the resultant pieces are there.

HTH:

thx,
Dave S.

Development with wxWidgets on MSWindows
http://tech.groups.yahoo.com/group/wxMS_developers/

wxWidgets Code Exchange
http://wxcodex.net/

----- Original Message -----
From: "Guy Rutenberg" <***@gmail.com>
Newsgroups: comp.soft-sys.wxwindows
To: <wx-***@lists.wxwidgets.org>
Sent: Thursday, April 30, 2009 9:26 AM
Subject: Histogram Widget?
Post by Guy Rutenberg
Hi,
I'm looking for a widget to display histograms of data (not images) as
means of data visualization.
Does anyone knows about such widget for wxWidgets?
Regards,
Guy
----
http://www.openyahtzee.org/ - An open-source Yahtzee game written in
wxWidgets
_______________________________________________
wx-users mailing list
http://lists.wxwidgets.org/mailman/listinfo/wx-users
Guy Rutenberg
2009-05-01 08:05:31 UTC
Permalink
Hi,

Thanks for all the pointers. I was looking for something much simpler
that a complete graphing/plotting solution. I just need to draw a
histogram of a user's scores in a game. Thanks anyhow, to those who
tried to help and gave links.
Post by Dave Silvia" "anthemion-devtools" , "wxMS_developers
It has all the code for building and a Makefile for Linux
GCC
I've tried to compile it but it doesn't seem to work. It seems to take
wx-config from a very weird location and the Makefile has defines
things in an unusual way, e.g. no CXXFLAGS variable or LDFLAGS.

Thanks,

Guy

----
http://www.xwrds.com/ - Share crossword solutions
Dave Silvia
2009-05-01 15:24:55 UTC
Permalink
Hi!

I'm not sure what you mean. The Makefile is pretty straightforward and
standard. LDFLAGS is there and used. CPPFLAGS is used instead of CXXFLAGS,
which is permissible. wx-config is in the usual place, in the lib directory
generated when wxWidgets is built for a platform. If you mean it's not in a
directory named 'GCCBuildDebugGTK2', that's correct. The generated lib
directory is GCCBuildDebugGTK2.Ubuntu.Static. It has the '.Ubuntu.Static'
because it uses the CFG variable (standard in wxWidgets). If CFG has a
value, it is appended to the default directory name.

Any time one gets any kind of build file like Makefile, there will be
different values and paths as the originator's environment and the user
(like yourself) environment often won't be the same. One generally will have
to change the Makefile to reflect one's environment.

Could you, please, elaborate as to why you think the Makefile is unusual?

thx,
Dave S.

----- Original Message -----
From: "Guy Rutenberg" <***@gmail.com>
Newsgroups: comp.soft-sys.wxwindows
To: <wx-***@lists.wxwidgets.org>
Sent: Friday, May 01, 2009 3:05 AM
Subject: Re: Histogram Widget?




Hi,

Thanks for all the pointers. I was looking for something much simpler
that a complete graphing/plotting solution. I just need to draw a
histogram of a user's scores in a game. Thanks anyhow, to those who
tried to help and gave links.
Post by Dave Silvia" "anthemion-devtools" , "wxMS_developers
It has all the code for building and a Makefile for Linux
GCC
I've tried to compile it but it doesn't seem to work. It seems to take
wx-config from a very weird location and the Makefile has defines
things in an unusual way, e.g. no CXXFLAGS variable or LDFLAGS.

Thanks,

Guy

----
http://www.xwrds.com/ - Share crossword solutions
Guy Rutenberg
2009-05-02 07:26:46 UTC
Permalink
Hi,
Post by Dave Silvia
Could you, please, elaborate as to why you think the Makefile is unusual?
I never came across GCCBuildDebugGTK2.Ubuntu.Static or
GCCBuildDebugGTK2 in my system (Gentoo), this, and when I tried
setting variables as cli options to make it didn't work for me this
time.

It is probably just me feeling uncomfortable with the makefile (I
prefer to use automake for anything that isn't trivial), than the
makefile being unusual.

Thanks,

Guy
Dave Silvia
2009-05-02 08:24:06 UTC
Permalink
Ah... beginning to see the light!:-)

So, where is your wxWidgets toolkit built and how? If it's not
GCCBuild[Debug|Release]GTK2, what toolkit 'flavor' do you use? Motif? Xll?

As far as feeling uncomfortable with 'new' paradigms, welcome to the club!;)
It's a continuous process for me!

At any rate, since you know how to use automake, all you'd need to do is
employ it to create a makefile for your platform (sorry, best advice I can
give, being unfamiliar with Gentoo and automake). There are only four source
files involved: gridhistapp.[cpp|h] and GridHistogram.[cpp|h]. Even creating
a makefile from scratch should be fairly painless!;) You could just use the
Makefile in the archive as a 'cheat sheet' to see what types of settings
must needs be made. If it would be of any help, there's a zip archive of the
GNU documentation (Compiler Collection [GCC], make, cpp...) at
wxMS_developers in the Files area:

http://tech.groups.yahoo.com/group/wxMS_developers/

http://tech.groups.yahoo.com/group/wxMS_developers/files/

Titularly it's a group for Microsoft/Windows development with wxWidgets, but
Linux/Unix folks are welcome to anything there that applies!;)

HTH:

thx,
Dave S.

Development with wxWidgets on MSWindows
http://tech.groups.yahoo.com/group/wxMS_developers/

wxWidgets Code Exchange
http://wxcodex.net/



----- Original Message -----
From: "Guy Rutenberg" <***@gmail.com>
Newsgroups: comp.soft-sys.wxwindows
To: <wx-***@lists.wxwidgets.org>
Sent: Saturday, May 02, 2009 2:26 AM
Subject: Re: Histogram Widget?




Hi,
Post by Dave Silvia
Could you, please, elaborate as to why you think the Makefile is unusual?
I never came across GCCBuildDebugGTK2.Ubuntu.Static or
GCCBuildDebugGTK2 in my system (Gentoo), this, and when I tried
setting variables as cli options to make it didn't work for me this
time.

It is probably just me feeling uncomfortable with the makefile (I
prefer to use automake for anything that isn't trivial), than the
makefile being unusual.

Thanks,

Guy

Loading...