You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

emmdom

Trainee

  • "emmdom" is male
  • "emmdom" started this thread

Posts: 56

Location: New Mexico

Occupation: Embedded Programmer

  • Send private message

1

Tuesday, June 20th 2006, 6:16pm

Histogram

Hello

I back to this darn Histogram, trying to build it in qt3, with qwt librarys. This is kind of forward but I am really in need of help. Does anyone have code for a histogram they may want to share. Time is running out on this project and I am at a complete standstill. If any help is appreciated.

Thanks

emmdom
emmdom

emmdom

Trainee

  • "emmdom" is male
  • "emmdom" started this thread

Posts: 56

Location: New Mexico

Occupation: Embedded Programmer

  • Send private message

2

Wednesday, June 21st 2006, 8:24pm

Thanks to the one person who replyed by pm. Your code did assist, but the problem isn't the c++ it is the qwt and qt libraries. I dont have enough experince with these libraries and I assummed I was not the only one trying to accomplish the same goal. If anyone can direct me to a qwt or qt sample of a histogram thanks


Thanks

emmdom
emmdom

3

Thursday, June 22nd 2006, 10:15am

You already have the hint to look at the unfinished Qwt histogram example from the Qwt CVS.

I bet it wouldn't need more than a couple of hours to adopt the code to your type of histogram and you already have the code since weeks. And I´m pretty sure it doesn't needs weeks to understand the basics of the QPainter class.

If you have problems with the implementation you can always ask, but doing nothing beside trying to find someone, who does the work for you, won't help.

Uwe

jbatista

Beginner

  • "jbatista" is male

Posts: 10

Location: Portugal

  • Send private message

4

Thursday, June 22nd 2006, 10:37am

Hi,

In the High Energy Physics community we use ROOT http://root.cern.ch/ as a C++ development framework. It runs interactively, or you can write your code and compile it (it's virtually indistinct of C++). It started out as a Histogramming utility and has evolved to use many other APIs such as many math functions, statistics, database access (SQL), GL/OpenGL support, and also Qt support and so on and so forth. It's really complete and has been working wonderfully well for me! In ROOT's homepage they have several examples/tutorials.

If you're in a tight schedule it might be too late to start trying that API. But it's just a thought.

emmdom

Trainee

  • "emmdom" is male
  • "emmdom" started this thread

Posts: 56

Location: New Mexico

Occupation: Embedded Programmer

  • Send private message

5

Thursday, June 22nd 2006, 5:28pm

Well thanks for the help guys, and the lecture. Uwe I can't get to the Qwt CVS server because of a firewall. That is why I emailed you and asked if you could send it to me. But since I had no responce I came back to the forum to ask for help. If I could just look at the unfinished hint you are talking about I am sure I could get it done. I am sorry if it seems as I was trying to get someone to do the work for me.

I will check out the ROOT api for later projects thanks jbatista. Unfortunantly I have to go this route in this project.

Thanks for the help you all

emmdom
emmdom

6

Thursday, June 22nd 2006, 8:07pm

Quoted

I can't get to the Qwt CVS server because of a firewall

Try: http://qwt.cvs.sourceforge.net/qwt/qwt/examples/histogram
( histogram.[h/cpp] are old code don't look at these files. )

Quoted

But since I had no responce ...

If you ask on the Qwt mailing list, you should expect to find the answer there too.

Uwe

emmdom

Trainee

  • "emmdom" is male
  • "emmdom" started this thread

Posts: 56

Location: New Mexico

Occupation: Embedded Programmer

  • Send private message

7

Thursday, June 22nd 2006, 8:56pm

Thank you Uwe
emmdom