Link to home
Start Free TrialLog in
Avatar of kitlee
kitlee

asked on

graph dispay and labeling using VC++

Given an equation, let say f(x) = 20exp(-2x), how can i display the result of this equation , including labelling  the x and y-axis and the graph titile?
Avatar of viktornet
viktornet
Flag of United States of America image

you have to parse the equation first.. there's plenty of code on the net for parsing equations (try Yahoo or AltaVista)... once you have parsed the equation and you have the values you need, you could graph it using Win32 functions such as SetPixel() (which is dog slow) or could use some other functions... it's your choice...

..-=ViKtOr=-..
ASKER CERTIFIED SOLUTION
Avatar of jhattingh
jhattingh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial