Hi all,
I am programming under Linux using c++. I need to visualize some
curves and 2-D graphs in my program. Is there any package to do this?
And I also need to add a user interfaces to my program. Could you also
suggest a tool for GUI? GTK+ and QT are popular. Which one is better
to use for normal program? Thanks a lot!
Best wishes!
Phony 9 1619
"phony" <ph***@126.co m> wrote in message
news:85******** *************** **@posting.goog le.com... Hi all,
I am programming under Linux using c++. I need to visualize some curves and 2-D graphs in my program. Is there any package to do
this? And I also need to add a user interfaces to my program. Could you
also suggest a tool for GUI? GTK+ and QT are popular. Which one is better to use for normal program? Thanks a lot!
Hi,
People ask this type of question every day, and the response is
always the same: this is a newsgroup devoted to standard C++, which
does not include GUI facilities.
Just out of curiosity, how do you end up posting here without
reading a description of the group?
Regards,
Jonathan
phony wrote: I am programming under Linux using c++. I need to visualize some curves and 2-D graphs in my program. Is there any package to do this?
Look up gnuplot. You should write a data file and a command file, then call
popen() or system() so gnuplot can eat them. It can create an X window
containing the output, and it can produce file outputs such as postscript -
possibly others. Then you can read the output files and host them in your
own windows.
If you need more interaction, look up BLT. But that can couple with Tk.
And I also need to add a user interfaces to my program. Could you also suggest a tool for GUI? GTK+ and QT are popular. Which one is better to use for normal program? Thanks a lot!
Tk is the most popular, and its Canvas and Text controls have an excellent
full-featured architecture. But the best hosts for Tk are Ruby or Perl or
Python. pTk binds with C, but I don't know how clean it is.
This leads to the question: Why C++? Because everyone else was using it? If
you just need some glue between components, and some logic, and some
visualizations, any lite language would be much more productive.
Warning: Specific questions about those systems will get the best answers on
newsgroups devoted to Linux, GNU, or those systems.
--
Phlip
where would one find a description of the group anyway?
"Jonathan Turkanis" <te******@kanga roologic.com> wrote in message
news:bv******** ****@ID-216073.news.uni-berlin.de... "phony" <ph***@126.co m> wrote in message news:85******** *************** **@posting.goog le.com... Hi all,
I am programming under Linux using c++. I need to visualize some curves and 2-D graphs in my program. Is there any package to do
this? And I also need to add a user interfaces to my program. Could you also suggest a tool for GUI? GTK+ and QT are popular. Which one is better to use for normal program? Thanks a lot!
Hi,
People ask this type of question every day, and the response is always the same: this is a newsgroup devoted to standard C++, which does not include GUI facilities.
Just out of curiosity, how do you end up posting here without reading a description of the group?
Regards,
Jonathan
Darius Fatakia wrote: where would one find a description of the group anyway?
The welcome message, posted 2 or 3 times a week. Or the FAQ, easily
located via any of the various FAQ archives, or by using Google (first
hit on "c++ faq").
And please don't top-post. See section 5 of the FAQ for more information.
-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.
phony wrote: Hi all,
I am programming under Linux using c++. I need to visualize some curves and 2-D graphs in my program. Is there any package to do this? And I also need to add a user interfaces to my program. Could you also suggest a tool for GUI? GTK+ and QT are popular. Which one is better to use for normal program? Thanks a lot!
Now that's simple. Just test both options, e.g. with a simple dialog
application. I personally prefer QT, but GTK+ also has many advantages.
BTW: Asking such questions will not give you any useful answers most of the
time, but instead only results in flaming wars between ignorant people.
--
To get my real email adress, remove the two onkas
--
Dipl.-Inform. Hendrik Belitz
Central Institute of Electronics
Research Center Juelich
"Kevin Goodsell" <us************ *********@never box.com> skrev i en
meddelelse news:fX******** **********@news read2.news.pas. earthlink.net.. . Darius Fatakia wrote: where would one find a description of the group anyway?
The welcome message, posted 2 or 3 times a week. Or the FAQ, easily
I have never seen this welcome message... wonder why.
located via any of the various FAQ archives, or by using Google (first hit on "c++ faq").
And please don't top-post. See section 5 of the FAQ for more information.
-Kevin -- My email address is valid, but changes periodically. To contact me please use the address from a recent posting.
Thanks a lot!
Actually, other groups related to Linux is in the second page of group
list. So I chose this group, which I think is the most related. :-)
Best regards!
Phony
"Phlip" <ph*******@yaho o.com> wrote in message news:<jC******* ***********@new ssvr16.news.pro digy.com>... phony wrote:
I am programming u
nder Linux using c++. I need to visualize some curves and 2-D graphs in my program. Is there any package to do this?
Look up gnuplot. You should write a data file and a command file, then call popen() or system() so gnuplot can eat them. It can create an X window containing the output, and it can produce file outputs such as postscript - possibly others. Then you can read the output files and host them in your own windows.
If you need more interaction, look up BLT. But that can couple with Tk.
And I also need to add a user interfaces to my program. Could you also suggest a tool for GUI? GTK+ and QT are popular. Which one is better to use for normal program? Thanks a lot!
Tk is the most popular, and its Canvas and Text controls have an excellent full-featured architecture. But the best hosts for Tk are Ruby or Perl or Python. pTk binds with C, but I don't know how clean it is.
This leads to the question: Why C++? Because everyone else was using it? If you just need some glue between components, and some logic, and some visualizations, any lite language would be much more productive.
Warning: Specific questions about those systems will get the best answers on newsgroups devoted to Linux, GNU, or those systems.
Thanks a lot!
I found gnuplot is really nice. There are some c/c++ interfaces,
through which gunplot command could be sent from c/c++ program. Since
I want to display the time serials data, how about the speed of
displaying graphs very often (say 1 plot per second)?
Best regards!
phony
"Phlip" <ph*******@yaho o.com> wrote in message news:<jC******* ***********@new ssvr16.news.pro digy.com>... phony wrote:
I am programming under Linux using c++. I need to visualize some curves and 2-D graphs in my program. Is there any package to do this?
Look up gnuplot. You should write a data file and a command file, then call popen() or system() so gnuplot can eat them. It can create an X window containing the output, and it can produce file outputs such as postscript - possibly others. Then you can read the output files and host them in your own windows.
If you need more interaction, look up BLT. But that can couple with Tk.
And I also need to add a user interfaces to my program. Could you also suggest a tool for GUI? GTK+ and QT are popular. Which one is better to use for normal program? Thanks a lot!
Tk is the most popular, and its Canvas and Text controls have an excellent full-featured architecture. But the best hosts for Tk are Ruby or Perl or Python. pTk binds with C, but I don't know how clean it is.
This leads to the question: Why C++? Because everyone else was using it? If you just need some glue between components, and some logic, and some visualizations, any lite language would be much more productive.
Warning: Specific questions about those systems will get the best answers on newsgroups devoted to Linux, GNU, or those systems.
phony wrote: Actually, other groups related to Linux is in the second page of group list. So I chose this group, which I think is the most related. :-)
It would be nice if other posters would say this:
- your question would get a better answer on newsgroup X
- the question "what cross-platform library does Y" is on-topic here,
because we don't trust any other newsgroup to pick a good one.
But specific questions about Y belong on its newsgroup.
But they just say "get lost - this question is off-topic, because our topic
is Standard C++". That's too narrow to admit nearly any question, but its
benefit is they can remember it.
However, I don't know how to upgrade GnuPlot in real-time. I know that BLT
has interactive hooks for Tk. Why don't you use Python instead of C++? Did
you actually assess your need? Or did you use C++ just because it has such a
polite newsgroup?
--
Phlip http://www.xpsd.org/cgi-bin/wiki?Tes...UserInterfaces This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: _andrea.l |
last post by:
how to build a interfaces (or web pages) in easy way?
how to build a form in easy way? how to automate and create web pages whit a
tool?
which tool to use to create form for a database?
I mean there is a way or a tool which help me to build an interfaces (web
pages) to
deal with the data in a database ?
Tahnk you in advance,
Andrea.
|
by: BORT |
last post by:
Please forgive me if this is TOO newbie-ish.
I am toying with the idea of teaching my ten year old a little about
programming. I started my search with something like "best FREE
programming language for kids." After MUCH clicking and high-level
scanning, I am looking at Python and Forth. Both have advocates that
say each is a great approach to learning computers.
My programming classes were a long, long time ago in a land far, far...
|
by: SQLDBA |
last post by:
I am in the process of evaluating some SQL Performance Monitoring /DBA
tool to purchase (For SQL Server 2000). I have the following list of
software that I came across and have to finalize which one to recomend
for purchase by my company.
Quest Central® for SQL Server
Performance Center by Embarcadero (dbartisan)
Performance analysis by BMC Software solutions
SQL Server Management by netIQ
|
by: hico74 |
last post by:
Hi all.
I'm looking for a tool which should act like some kind of middleware/
logical layer bewtween the SQL server and the webbased user interface.
- It should be possible to easily create simple web forms (only data
input and output) without programming effort by "clicking" the fields
and their order on the web mask within an admnistrative interface.
- It should also be bossible to add "new fields" to the database,
|
by: for.fun |
last post by:
Hi everybody,
I am looking for a XML comparison tool (I do not mean a standard
char-by-char diff tool but a tool which understand XML syntax)
More precisely, I can have serveral XML structures organized
differently. The XML nodes can store the same data but be organized
differently => in such a case, I would like the diff tool to tell me
that both XML files are identicals.
| |
by: clintonG |
last post by:
I'm using an .aspx tool I found at but as nice as the interface is I
think I need to consider using others. Some can generate C# I understand.
Your preferences please...
<%= Clinton Gallagher
http://forta.com/books/0672325667/
|
by: Anastasios Hatzis |
last post by:
Hello,
I'm working on the light-weight MDA tool pyswarm,
http://pyswarm.sourceforge.net/ (it is about a code-generator for
Python/PostgreSQL-based software. I plan to add support of UML CASE tools
other than the one supported currently.
I would like to learn which UML tools you use (if any), preferrably if it
comes to modeling a Python application. So I'm asking you to tell me the name
of your favorite UML CASE tool(s).
|
by: JSievers |
last post by:
Hallo.
A good friend of me develops web suites, for example his own at:
www.augenpunkte.de. As you can see there my friend is blind and also
he uses a Braille-line to develop these projects. For example his own
suite at. But he has a big problem to find out the right colours for
his pages and so he asked me for a big list with some colour schemes.
A hex-colour-value for each part of a page (Text, Links e.g.)
So I have had a look at some...
|
by: Georg Scholz |
last post by:
(Note: this was intended to be a multi-post, but google was not able
to post it also to microsoft.public.dotnet.general, so I'm cross-
posting it separately)
Hello,
I am about to write a SETUP program for a .NET Application, and I am
unsure which tool would fit best. I would be very grateful for some
help on this topic.
|
by: antonyliu2002 |
last post by:
By default, IIS is configured to timeout a session in 20 minutes,
which can be changed through the IIS config window.
I use InProc sessionState mode. I can also set the session timeout in
web.config. So here is my question:
If IIS setting has a session timeout value of 20 minutes, but my
web.config setting has a session timeout of 30 minutes, will the
session time out in 20 minutes or in 30 minutes?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |