I was told that it is difficult to draw plots and graphs in C++, right?
In matlab, if I have data, it's very easy to generate the plots, and I
want to know how C++ handles such output. 2 2502
asdf <li*********@gm ail.comwrote:
>I was told that it is difficult to draw plots and graphs in C++, right? In matlab, if I have data, it's very easy to generate the plots, and I want to know how C++ handles such output.
(OT)
AFAIK It doesn't. People who do large systems projects in C++ often
keep a matlab license around just to do plotting. Other options
are to export the data into Excel and use that for plotting,
or to use something like gnuplot.
Steve
asdf wrote:
I was told that it is difficult to draw plots and graphs in C++, right?
In matlab, if I have data, it's very easy to generate the plots, and I
want to know how C++ handles such output.
The fundamental C++ language has no facilities for graphics.
Thus, graphs and plots have to be drawn using ASCII art,
such as periods for dots. The language also has no
facilities for fonts either.
However, there is no limitation on using platform
specific libraries for drawing graphics. These
libraries are not discussed in this newsgroup. The
libraries _may_ not be portable either.
The professional route is to find libraries that
already exist and have been tested with your
development and target platforms. Use the library
that you are most comfortable with.
--
Thomas Matthews
C++ newsgroup welcome message: http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.l earn.c-c++ faq: http://www.comeaucomputing.com/learn/faq/
Other sites: http://www.josuttis.com -- C++ STL Library book http://www.sgi.com/tech/stl -- Standard Template Library This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Andy Salnikov |
last post by:
Hi all,
does anybody knows any plotting library which can do nice timeline plots?
Python is preffered, but not strictly necessary. Standalone utility might
also
be OK if one can feed some data from a script into it. I feel that I will
have
to do it myself using some low-level plottin library, but I have no time now
to spend on this thing. And I hate this low-level stuff, scaling, date/time
formatting, etc.
|
by: Greg Weeks |
last post by:
I'm looking for a Python binding of jpgraph that is more up-to-date and
complete than that from metagram.webreply.com, which is documented as not
supporting Gantt charts. I, alas, need Gantt graphs.
In my PS below I list a number of pointers to potential solutions to my
plot/chart needs, all of which, at a glance anyway, either don't produce
professional-looking results or don't have those blasted Gantt charts.
It is a pity that...
|
by: Dr. Colombes |
last post by:
What is the easiest way to generate some plots and graphs in Python ?
Specifically interested in simple histograms and scatter plots with
circles and regression lines.
Thanks for your suggestions.
|
by: Stefan Burger |
last post by:
Those of you who are in need for drawing vector lines might be interested in
the following code.
DrawLine( x1, y1, x2, y2, color ) draws a vector line from any Point x1,y1
to any Point x2,y2 in any color (string format #RRGGBB) by using div-tags.
regards
Stefan
###############code starts here#########################
|
by: abhiM |
last post by:
Is there a way to use the MFC Application wizard from VC++ 2003 to
assign area for Matlab plots(say in a dialog, as you would for a text
box) and then generate the Matlab plots in that area? , assuming I have
Matlab installed on my system?
Thanks,
AM
| |
by: Ghirai |
last post by:
Hello list,
I need to draw a graph, 2 axes, 2D, nothing fancy.
One of the axes is time, the other one is a series of integers.
I don't care much about the output format.
Are there any specialized libraries for this, or should i use PIL?
Thanks.
|
by: Giovanni Dicanio |
last post by:
Hi,
do you know any WPF component for 2D line plots?
I would like something to plot 2D data using lines, like Matlab 'plot'
command
(example of Matlab plot:
http://web.cecs.pdx.edu/~gerry/MATLAB/plotting/sinePlot.gif )
I'd like if the component would allow copy-paste of the generated plots into
|
by: serave |
last post by:
Hi i'm new in this group. I need some help with php. I need to draw
any mathematical function i get through a form?
Please help me
|
by: Giovanni Dicanio |
last post by:
Hi all,
does anyone know about free C# 2D plotting libraries capable of drawing
semi-log plots and Bode diagrams?
(Seems like ZedGraph can't do that...)
Thanks in advance,
Giovanni
|
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: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |