473,385 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

how to plot graph on c

6
i have a program and this program has output values and i wanna draw a 2D graph for these outputs. How can i achieve this?
Oct 23 '06 #1
3 5890
arne
315 Expert 100+
i have a program and this program has output values and i wanna draw a 2D graph for these outputs. How can i achieve this?
Have a look at gnuplot: http://www.gnuplot.info/
It will be very helpful :-)
Oct 23 '06 #2
arda
6
thx for ur help firstly i have downloaded it before but i dont understand how i will use it . should i make a output from my own program ? and then use this file with gnuplot? has gnuplot a exe file or how is it working?
Oct 23 '06 #3
arne
315 Expert 100+
thx for ur help firstly i have downloaded it before but i dont understand how i will use it . should i make a output from my own program ? and then use this file with gnuplot? has gnuplot a exe file or how is it working?
Yes, write the output from your program to a file, which you then read into gnuplot. Try the "plot" command:

gnuplot> plot "my_data_file.dat"

Yes, gnuplot is a stand-alone program, not a library or something, if that's what you mean.

I never used gnuplot under Windows, though ...
Oct 23 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: ¶}¾Ç¤F¶Ü? | last post by:
I'm trying to write a script to pass a file of stock prices and volumes, and plot the results on a gnuplot graph which is non-overlapped graph. Fig. 1 ------------ Fig. 2 Figure 1 is a graph...
30
by: nephish | last post by:
Hey there, i have tried about every graphing package for python i can get to work on my system. gnuplot, pychart, biggles, gdchart, etc.. (cant get matplot to work) so far, they all are working...
6
by: googlinggoogler | last post by:
Hiya, I've got a PIC microcontroller reading me humidity data via rs232, this is in ASCII format. I can view this data easily using hyperterminal or pyserial and convert it to its value...
2
by: sheilly_2k7 | last post by:
how to plot a graph in c++ in turbo c++
12
by: slowgirl | last post by:
i'm using vb to plot graph. i've already drawn the graphsheet using drawlines. and include labels. all i arrange according to pixels. the problem i face now is that i need to plot certain symbols...
0
by: jatininfo | last post by:
Hi.. I am working on a medical device which will give the various current reading of various types of parameter from patient body like oxygen lavel, breathing, tampature etc, and it's a...
3
by: fAnSKyer/C# newbie | last post by:
My problem is use what tool to plot a graph sound wave, which requires a high refresh rate. Or any other approach to solve this problem? Any suggestions Thanks a lot Cheers fAnKa
0
by: mostafijur | last post by:
Hello I want to show continuous graph using Gnu plot. That means after 1 hour I want to see previous every 10 mins graph. Gnu Plot Version: 4.0, Linux kernel: 2.6, UBUNTU I can access Gnu...
0
by: foton002 | last post by:
i wanna plot a X_Y graph with C# for instance get x and y as 2 arrays and plot them. could u please help me thanks
5
by: 9jaguy | last post by:
Guys, I treally appreciate the way questions are answered on this forum. I hope I get someone to help on this quickly too. :) I am using vb 2005 and getting data directly from two sensors in two...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.