Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 132,605 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 909 people online right now. Registration is fast and FREE... Join Now!




Plotting Graphs

 
Reply to this topicStart new topic

Plotting Graphs, Help

TheGuest
post 31 Oct, 2002 - 05:46 AM
Post #1


New D.I.C Head

*
Joined: 31 Oct, 2002
Posts: 1

can anyone tell me how to plot a graph. The Graph, has four topics. I need to output a vertical bar graph using asterisks. the asteriks should be in terms of thousands.
eg figures.

x/y 1 2 3 4
1 2000 3000 1000
2 2050 3002 1300
3 5000 4020 500 4348
4 2507 6050 1809
User is offlineProfile CardPM

Go to the top of the page

Noffke
post 31 Oct, 2002 - 07:23 AM
Post #2


D.I.C Regular

***
Joined: 9 Aug, 2002
Posts: 497


My Contributions


Can you elaborate a little on the problem?

Are they always going to be within a certain range?
What Im getting at is do you know the maximum size of your graph before hand?
Or do you need to figure that out, based on the points?

Im not sure I understand your example. Four points? or four topics each have a value:
ie-
(1000,2000)
(2000,3000)
(etc...
or
topic 1 = 2000
topic 2 = 3000
topic 3 = 4000
etc.
User is offlineProfile CardPM

Go to the top of the page

blacksnake
post 26 Jan, 2008 - 06:32 AM
Post #3


New D.I.C Head

*
Joined: 23 Jul, 2007
Posts: 19


My Contributions


Can i show you the figure and your types of graph specify on your program?
User is offlineProfile CardPM

Go to the top of the page

Reply to this topicStart new topic
Time is now: 11/23/08 02:26AM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month